Patchwork pulseaudio: Set udev variables using pkg-config

login
register
mail settings
Submitter Richard Purdie
Date April 17, 2013, 3:28 p.m.
Message ID <1366212520.25282.48.camel@ted>
Download mbox | patch
Permalink /patch/48459/
State New
Headers show

Comments

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

Patch

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 \
 "