diff options
Diffstat (limited to 'meta-eca/recipes-multimedia')
3 files changed, 55 insertions, 0 deletions
diff --git a/meta-eca/recipes-multimedia/pulseaudio/files/0001-configure.ac-Check-only-for-libsystemd-not-libsystem.patch b/meta-eca/recipes-multimedia/pulseaudio/files/0001-configure.ac-Check-only-for-libsystemd-not-libsystem.patch new file mode 100644 index 0000000..467cd2c --- /dev/null +++ b/meta-eca/recipes-multimedia/pulseaudio/files/0001-configure.ac-Check-only-for-libsystemd-not-libsystem.patch | |||
@@ -0,0 +1,30 @@ | |||
1 | From 002b16f0f2176b4c685e210e335bf69c02563ede Mon Sep 17 00:00:00 2001 | ||
2 | From: Martin Jansa <Martin.Jansa@gmail.com> | ||
3 | Date: Sat, 22 Feb 2014 18:03:10 +0100 | ||
4 | Subject: [PATCH] configure.ac: Check only for libsystemd not libsystemd-login | ||
5 | |||
6 | * they were merged into libsystemd in systemd-209 | ||
7 | |||
8 | Upstream-Status: Pending (it would need to be conditional on systemd version for upstream to accept this) | ||
9 | |||
10 | Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> | ||
11 | --- | ||
12 | configure.ac | 2 +- | ||
13 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
14 | |||
15 | diff --git a/configure.ac b/configure.ac | ||
16 | index 388fae2..fff7a83 100644 | ||
17 | --- a/configure.ac | ||
18 | +++ b/configure.ac | ||
19 | @@ -1160,7 +1160,7 @@ AC_ARG_ENABLE([systemd], | ||
20 | AS_HELP_STRING([--disable-systemd],[Disable optional systemd support])) | ||
21 | |||
22 | AS_IF([test "x$enable_systemd" != "xno"], | ||
23 | - [PKG_CHECK_MODULES(SYSTEMD, [ libsystemd-login ], HAVE_SYSTEMD=1, HAVE_SYSTEMD=0)], | ||
24 | + [PKG_CHECK_MODULES(SYSTEMD, [ libsystemd ], HAVE_SYSTEMD=1, HAVE_SYSTEMD=0)], | ||
25 | HAVE_SYSTEMD=0) | ||
26 | |||
27 | AS_IF([test "x$enable_systemd" = "xyes" && test "x$HAVE_SYSTEMD" = "x0"], | ||
28 | -- | ||
29 | 1.8.5.3 | ||
30 | |||
diff --git a/meta-eca/recipes-multimedia/pulseaudio/files/volatiles.04_pulse b/meta-eca/recipes-multimedia/pulseaudio/files/volatiles.04_pulse new file mode 100644 index 0000000..5b19980 --- /dev/null +++ b/meta-eca/recipes-multimedia/pulseaudio/files/volatiles.04_pulse | |||
@@ -0,0 +1,2 @@ | |||
1 | # <type> <owner> <group> <mode> <path> <linksource> | ||
2 | d pulse pulse 0755 /var/run/pulse none | ||
diff --git a/meta-eca/recipes-multimedia/pulseaudio/pulseaudio_git.bb b/meta-eca/recipes-multimedia/pulseaudio/pulseaudio_git.bb new file mode 100644 index 0000000..be6a730 --- /dev/null +++ b/meta-eca/recipes-multimedia/pulseaudio/pulseaudio_git.bb | |||
@@ -0,0 +1,23 @@ | |||
1 | # Recipe for Pulseaudio that uses bluez5 | ||
2 | |||
3 | PACKAGECONFIG = "${@base_contains('DISTRO_FEATURES', 'bluetooth', 'bluez5', '', d)} \ | ||
4 | ${@base_contains('DISTRO_FEATURES', 'systemd', 'systemd', '', d)} \ | ||
5 | ${@base_contains('DISTRO_FEATURES', 'zeroconf', 'avahi', '', d)} \ | ||
6 | ${@base_contains('DISTRO_FEATURES', 'x11', 'x11', '', d)}" | ||
7 | |||
8 | require recipes-multimedia/pulseaudio/pulseaudio.inc | ||
9 | |||
10 | PV="5.0" | ||
11 | |||
12 | SRC_URI = "http://freedesktop.org/software/pulseaudio/releases/pulseaudio-${PV}.tar.xz \ | ||
13 | file://0001-configure.ac-Check-only-for-libsystemd-not-libsystem.patch \ | ||
14 | file://volatiles.04_pulse" | ||
15 | |||
16 | SRC_URI[md5sum] = "c43749838612f4860465e83ed62ca38e" | ||
17 | SRC_URI[sha256sum] = "99c13a8b1249ddbd724f195579df79484e9af6418cecf6a15f003a7f36caf939" | ||
18 | |||
19 | do_compile_prepend() { | ||
20 | mkdir -p ${S}/libltdl | ||
21 | cp ${STAGING_LIBDIR}/libltdl* ${S}/libltdl | ||
22 | } | ||
23 | |||