Skip to content

Commit faaa710

Browse files
authored
Merge pull request #52 from kedder/pulsaudio-in-stable
Include pulseaudio in stable image
2 parents 0d3ad29 + 3915cfe commit faaa710

3 files changed

Lines changed: 62 additions & 2 deletions

File tree

Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,60 @@
1+
# Copyright (C) 2014 Unknow User <unknow@user.org>
2+
# Released under the MIT license (see COPYING.MIT for the terms)
3+
4+
DESCRIPTION = "Variod Daemon for Openvario"
5+
HOMEPAGE = "www.openvario.org"
6+
LICENSE = "GPL-3.0"
7+
LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/${LICENSE};md5=c79ff39f19dfec6d293b95dea7b07891"
8+
SECTION = "base/app"
9+
PR = "r0"
10+
11+
S = "${WORKDIR}/git"
12+
13+
INSANE_SKIP_${PN} += "ldflags"
14+
15+
inherit systemd
16+
17+
DEPENDS = " \
18+
pulseaudio \
19+
libgcc \
20+
"
21+
22+
SRC_URI = "git://github.com/Openvario/variod.git;protocol=git;tag=${PV} \
23+
file://variod.service \
24+
file://variod.cfgmgr \
25+
"
26+
27+
do_compile() {
28+
echo "Making .."
29+
echo '${WORKDIR}'
30+
cd ${WORKDIR}/git
31+
make clean
32+
make
33+
}
34+
35+
do_install() {
36+
install -d ${D}/opt/bin
37+
install -d ${D}/opt/conf/default
38+
install -d ${D}/opt/conf
39+
install -m 0755 ${S}/variod ${D}/opt/bin
40+
install -m 0755 ${S}/variod.conf ${D}/opt/conf/default
41+
install -m 0755 ${S}/variod.conf ${D}/opt/conf
42+
43+
install -d ${D}/etc/cfgmgr.d
44+
install -m 0755 ${WORKDIR}/variod.cfgmgr ${D}/etc/cfgmgr.d/variod.cfgmgr
45+
46+
install -d ${D}${systemd_unitdir}/system
47+
install -m 0644 ${WORKDIR}/variod.service ${D}${systemd_unitdir}/system
48+
}
49+
50+
PACKAGES = "${PN}"
51+
INHIBIT_PACKAGE_DEBUG_SPLIT = '1'
52+
FILES_${PN} = "/opt/bin/variod \
53+
/opt/conf/default/variod.conf \
54+
/opt/conf/variod.conf \
55+
/etc/cfgmgr.d/variod.cfgmgr \
56+
${systemd_unitdir}/system/variod.service \
57+
"
58+
59+
SYSTEMD_PACKAGES = "${PN}"
60+
SYSTEMD_SERVICE_${PN} = "variod.service"

recipes-core/images/openvario-base-image.bb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ IMAGE_INSTALL = " \
4141
autofs-config \
4242
nano \
4343
openssh-sftp-server \
44+
pulseaudio-server \
4445
${COMMON_WIFI_FIRMWARE_PACKAGES} \
4546
${LOCALE_PACKAGES} \
4647
"

recipes-core/images/openvario-image-testing.bb

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ IMAGE_INSTALL += "\
1414
variod-testing \
1515
ovmenu-ng \
1616
openvario-autologin \
17-
pulseaudio-server \
1817
"
1918

20-
export IMAGE_BASENAME = "openvario-image-testing"
19+
export IMAGE_BASENAME = "openvario-image-testing"

0 commit comments

Comments
 (0)