pulseaudio: Set udev variables using pkg-config

Submitted by Richard Purdie on April 17, 2013, 3:28 p.m.

Details

Message ID 1366212520.25282.48.camel@ted
State New
Headers show

Commit Message

Richard Purdie April 17, 2013, 3:28 p.m.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
---

Patch hide | download patch | download mbox

diff --git a/meta/recipes-multimedia/pulseaudio/pulseaudio.inc b/meta/recipes-multimedia/pulseaudio/pulseaudio.inc
index 349b643..3023b39 100644
--- a/meta/recipes-multimedia/pulseaudio/pulseaudio.inc
+++ b/meta/recipes-multimedia/pulseaudio/pulseaudio.inc
@@ -37,6 +37,7 @@  EXTRA_OECONF = "\
 		--disable-xen \
 		--with-database=simple \
 		--without-fftw \
+		--with-udev-rules-dir=`pkg-config --variable=udevdir udev`/rules.d \
                 ac_cv_header_valgrind_memcheck_h=no \
 "
 

Comments

Enrico Scholz April 17, 2013, 3:46 p.m.
Richard Purdie
<richard.purdie-hQyY1W1yCW8ekmWlsbkhG0B+6BGkLq7r@public.gmane.org>
writes:

> Signed-off-by: Richard Purdie <richard.purdie-hQyY1W1yCW8ekmWlsbkhG0B+6BGkLq7r@public.gmane.org>
> ---
> diff --git a/meta/recipes-multimedia/pulseaudio/pulseaudio.inc b/meta/recipes-multimedia/pulseaudio/pulseaudio.inc
> index 349b643..3023b39 100644
> --- a/meta/recipes-multimedia/pulseaudio/pulseaudio.inc
> +++ b/meta/recipes-multimedia/pulseaudio/pulseaudio.inc
> @@ -37,6 +37,7 @@ EXTRA_OECONF = "\
>  		--disable-xen \
>  		--with-database=simple \
>  		--without-fftw \
> +		--with-udev-rules-dir=`pkg-config --variable=udevdir udev`/rules.d \
>                  ac_cv_header_valgrind_memcheck_h=no \
>  "

After the recent mess created by moving /lib/udev to /sbin/udev, you
must add /sbin/udev/rules.d to FILES too.



Enrico