alsa-utils: don't depend on udev-dev 05/31905/3
authorPatrick Ohly <patrick.ohly@intel.com>
Tue, 9 Dec 2014 12:46:00 +0000 (13:46 +0100)
committerronan(Eurogiciel) Le Martret <ronan.lemartret@open.eurogiciel.org>
Fri, 12 Dec 2014 09:06:17 +0000 (01:06 -0800)
Tizen gets udev from systemd. The dependency on the udev therefore
does not work out-of-the-box, in particular it fails after conversion
to .spec.

Let's avoid the dependency problem by hard-coding the udev path, as
it is done also in the hand-written alsa-utils .spec.

Change-Id: Ic59618566793684d0de5db1df6e6bfbb7d14841a

meta-tizen-adaptation/meta/recipes-multimedia/alsa/alsa-utils_%.bbappend

index b9c40d3..a5db1d7 100644 (file)
@@ -1 +1,10 @@
 SECTION = "Applications/Multimedia"
+
+# Tizen doesn't have udev-devel. Instead udev.pc is provided by systemd-devel.
+# Instead of untangling that, hard-code the udev dir instead of taking it from
+# the .pc file. That's also how the alsa-utils.spec worked.
+DEPENDS_remove = "udev"
+PACKAGECONFIG[udev] = "--with-udev-rules-dir=/lib/udev/rules.d,,udev"
+
+# Not enabled in Tizen, also fails to build.
+EXTRA_OECONF_append = " --disable-nls"