aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFlorin Sarbu <florin.sarbu@windriver.com>2012-12-11 09:53:36 +0200
committerFlorin Sarbu <florin.sarbu@windriver.com>2012-12-11 09:53:36 +0200
commitd2c46874c1491fc0d1f7712bce4eb736dc0c9cc3 (patch)
treea3652a3d872b225ae3853bec6cfafff5044e657f
parent60fb8dd595875dc631ec0dbc1ea5cbd246e71ac2 (diff)
downloadmeta-ivi-d2c46874c1491fc0d1f7712bce4eb736dc0c9cc3.tar.gz
meta-ivi-d2c46874c1491fc0d1f7712bce4eb736dc0c9cc3.tar.bz2
meta-ivi-d2c46874c1491fc0d1f7712bce4eb736dc0c9cc3.zip
audiomanager: Updated the .git recipe to latest sha
(e33f72e932661784affc0f24d56f0e78fbac783f) and removed DEFAULT_PREFERRENCE="-1" for this recipe Signed-off-by: Florin Sarbu <florin.sarbu@windriver.com>
-rw-r--r--recipes-multimedia/audiomanager/audiomanager_git.bb21
1 files changed, 10 insertions, 11 deletions
diff --git a/recipes-multimedia/audiomanager/audiomanager_git.bb b/recipes-multimedia/audiomanager/audiomanager_git.bb
index 9fe630d..fc087d4 100644
--- a/recipes-multimedia/audiomanager/audiomanager_git.bb
+++ b/recipes-multimedia/audiomanager/audiomanager_git.bb
@@ -5,16 +5,19 @@ SECTION = "multimedia"
LICENSE = "MPLv2"
LIC_FILES_CHKSUM = "file://LICENCE;md5=815ca599c9df247a0c7f619bab123dad"
-PR = "r3"
-DEFAULT_PREFERENCE = "-1"
+PR = "r4"
DEPENDS = "dlt-daemon sqlite3 dbus"
-SRC_URI = "git://git.projects.genivi.org/AudioManager.git;protocol=git;tag=a9771fa406089c5c8b032e558afb84108d078c51 \
+SRC_URI = "git://git.projects.genivi.org/AudioManager.git;protocol=git;tag=e33f72e932661784affc0f24d56f0e78fbac783f \
file://AudioManager.service file://setup_amgr.sh"
S = "${WORKDIR}/git"
-inherit autotools gettext cmake pkgconfig
+inherit autotools gettext cmake pkgconfig systemd
+
+SYSTEMD_PACKAGES = "${PN}-systemd"
+SYSTEMD_SERVICE = "AudioManager.service"
+SYSTEMD_AUTO_ENABLE = "disable"
EXTRA_OECMAKE += "-DWITH_TESTS=OFF -DUSE_BUILD_LIBS=OFF"
OECMAKE_CXX_FLAGS +="-ldl"
@@ -28,17 +31,13 @@ FILES_${PN}-dev += "${libdir}/audioManager/command/*.so \
${libdir}/audioManager/routing/*.so \
"
-FILES_${PN}-systemd += "${libdir}/systemd/"
-
FILES_${PN}-dbg += "${libdir}/audioManager/command/.debug/* \
${libdir}/audioManager/control/.debug/* \
${libdir}/audioManager/routing/.debug/* \
"
-
-PACKAGES =+ "${PN}-systemd"
+FILES_${PN}-systemd += "${systemd_unitdir}/scripts"
do_install_append() {
- mkdir -p ${D}/usr/lib/systemd/system/ ${D}/usr/lib/systemd/scripts/
- install -m 0755 ${WORKDIR}/AudioManager.service ${D}/usr/lib/systemd/system/AudioManager.service
- install -m 0755 ${WORKDIR}/setup_amgr.sh ${D}/usr/lib/systemd/scripts/setup_amgr.sh
+ mkdir -p ${D}${systemd_unitdir}/scripts/
+ install -m 0755 ${WORKDIR}/setup_amgr.sh ${D}${systemd_unitdir}/scripts/setup_amgr.sh
}