Patchwork [1/1,denzil] alsa-tools: remove warning message

login
register
mail settings
Submitter wenzong.fan@windriver.com
Date Feb. 26, 2013, 6:26 a.m.
Message ID <3508345b45d6d94ce2d53d974af640ec270debad.1361859756.git.wenzong.fan@windriver.com>
Download mbox | patch
Permalink /patch/45071/
State New
Headers show

Comments

wenzong.fan@windriver.com - Feb. 26, 2013, 6:26 a.m.
From: Wenzong Fan <wenzong.fan@windriver.com>

Remove the warning message about files/directories were installed but
not shipped in any package:

    WARNING:   /usr/local/share
    WARNING:   /usr/local/bin
    WARNING:   /usr/local/include
    WARNING:   /usr/local/lib
    WARNING:   /usr/local/sbin
    WARNING:   /usr/local/share/sounds
    WARNING:   /usr/local/share/aclocal
    WARNING:   /usr/local/share/man
    WARNING:   /usr/local/share/ld10k1
    WARNING:   /usr/local/share/sounds/opl3
    WARNING:   /usr/local/share/sounds/opl3/std.sb
    WARNING:   /usr/local/share/sounds/opl3/drums.sb
    WARNING:   /usr/local/share/sounds/opl3/std.o3
    WARNING:   /usr/local/share/sounds/opl3/drums.o3
    WARNING:   /usr/local/share/aclocal/ld10k1.m4
    WARNING:   /usr/local/share/man/man1
    WARNING:   /usr/local/share/man/man1/cspctl.1
    WARNING:   /usr/local/share/ld10k1/effects
    WARNING:   /usr/local/share/ld10k1/effects/vol_2.emu10k1
    ...

1. pass prefix and libdir to GITCOMPILE_ARGS
2. ship unpackaged files to relevant packages

Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com>
---
 meta/recipes-multimedia/alsa/alsa-tools_1.0.24.1.bb |   11 +++++++++--
 1 file changed, 9 insertions(+), 2 deletions(-)

Patch

diff --git a/meta/recipes-multimedia/alsa/alsa-tools_1.0.24.1.bb b/meta/recipes-multimedia/alsa/alsa-tools_1.0.24.1.bb
index 4c3e9dc..b9169e7 100644
--- a/meta/recipes-multimedia/alsa/alsa-tools_1.0.24.1.bb
+++ b/meta/recipes-multimedia/alsa/alsa-tools_1.0.24.1.bb
@@ -7,7 +7,7 @@  SECTION = "console/utils"
 LICENSE = "GPLv2 & LGPLv2+"
 DEPENDS = "alsa-lib ncurses"
 
-PR = "r4"
+PR = "r5"
 
 LIC_FILES_CHKSUM = "file://hdsploader/COPYING;md5=94d55d512a9ba36caa9b7df079bae19f \
                     file://ld10k1/COPYING.LIB;md5=7fbc338309ac38fefcd64b04bb903e34"
@@ -20,4 +20,11 @@  SRC_URI[sha256sum] = "17d43de93ab2db98886d89a53e45341daa46a4ef6edd405db87f4b5a5d
 
 inherit autotools
 
-EXTRA_OEMAKE += "GITCOMPILE_ARGS='--host=${HOST_SYS} --build=${BUILD_SYS} --target=${TARGET_SYS} --with-libtool-sysroot=${STAGING_DIR_HOST}' ACLOCAL_FLAGS='-I ${STAGING_DATADIR}/aclocal'"
+EXTRA_OEMAKE += "GITCOMPILE_ARGS='--host=${HOST_SYS} --build=${BUILD_SYS} --target=${TARGET_SYS} --with-libtool-sysroot=${STAGING_DIR_HOST} --prefix=${prefix} --libdir=${libdir}' ACLOCAL_FLAGS='-I ${STAGING_DATADIR}/aclocal'"
+
+FILES_${PN} += "${datadir}/ld10k1 \
+    ${libdir}/liblo10k1.la \
+    ${libdir}/liblo10k1.so.*"
+
+FILES_${PN}-dbg += "${libdir}/.debug/*"
+FILES_${PN}-dev += "${libdir}/liblo10k1.so"