From 5eda9ea28603b34248438fa9e323dcf645775521 Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Wed, 17 Apr 2013 14:46:17 +0000 Subject: alsa-utils: Use pkg-config instead of hardcoded udev paths (From OE-Core rev: b92a3e9d093bc9421aa38a40bc6bfd559a16b3be) Signed-off-by: Richard Purdie --- meta/recipes-multimedia/alsa/alsa-utils_1.0.26.bb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'meta/recipes-multimedia/alsa/alsa-utils_1.0.26.bb') diff --git a/meta/recipes-multimedia/alsa/alsa-utils_1.0.26.bb b/meta/recipes-multimedia/alsa/alsa-utils_1.0.26.bb index cf8acc464b..d566d94d05 100644 --- a/meta/recipes-multimedia/alsa/alsa-utils_1.0.26.bb +++ b/meta/recipes-multimedia/alsa/alsa-utils_1.0.26.bb @@ -5,7 +5,7 @@ SECTION = "console/utils" LICENSE = "GPLv2+" LIC_FILES_CHKSUM = "file://COPYING;md5=59530bdf33659b29e73d4adb9f9f6552 \ file://alsactl/utils.c;beginline=1;endline=20;md5=fe9526b055e246b5558809a5ae25c0b9" -DEPENDS = "alsa-lib ncurses libsamplerate0" +DEPENDS = "alsa-lib ncurses libsamplerate0 udev" PR = "r0" SRC_URI = "ftp://ftp.alsa-project.org/pub/utils/alsa-utils-${PV}.tar.bz2 \ @@ -21,7 +21,7 @@ SRC_URI[sha256sum] = "f85f2a3aa6e78475bbe35b0cad3a8cabb99f45ebc5f37962f2137b8df8 # http://bugs.openembedded.org/show_bug.cgi?id=2348 # please close bug and remove this comment when properly fixed # -EXTRA_OECONF = "--disable-xmlto --with-udev-rules-dir=${nonarch_base_libdir}/udev/rules.d" +EXTRA_OECONF = "--disable-xmlto --with-udev-rules-dir=`pkg-config --variable=udevdir udev`/rules.d " EXTRA_OECONF_append_libc-uclibc = " --disable-nls" inherit autotools gettext @@ -58,7 +58,7 @@ FILES_alsa-utils-midi = "${bindir}/aplaymidi ${bindir}/arecordmidi ${bind FILES_alsa-utils-aconnect = "${bindir}/aconnect" FILES_alsa-utils-aseqnet = "${bindir}/aseqnet" FILES_alsa-utils-iecset = "${bindir}/iecset" -FILES_alsa-utils-alsactl = "${sbindir}/alsactl ${nonarch_base_libdir}/udev/rules.d ${systemd_unitdir} ${localstatedir}/lib/alsa ${datadir}/alsa/init/" +FILES_alsa-utils-alsactl = "${sbindir}/alsactl */udev/rules.d ${systemd_unitdir} ${localstatedir}/lib/alsa ${datadir}/alsa/init/" FILES_alsa-utils-aseqdump = "${bindir}/aseqdump" FILES_alsa-utils-alsaconf = "${sbindir}/alsaconf" FILES_alsa-utils-alsaloop = "${bindir}/alsaloop" -- cgit v1.2.3-54-g00ecf