summaryrefslogtreecommitdiffstats
path: root/meta/recipes-multimedia/alsa
diff options
context:
space:
mode:
authorOtavio Salvador <otavio@ossystems.com.br>2014-07-18 13:47:06 -0300
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-07-21 19:05:35 +0100
commit0558a37417f8f592a5e961d82b0e601dba9d94d2 (patch)
treeddb1d8291cb8dce45c5512e6106dda239012a454 /meta/recipes-multimedia/alsa
parent8933810ac3d10da2c6c0e5a72af0cfc2b8001c05 (diff)
downloadpoky-0558a37417f8f592a5e961d82b0e601dba9d94d2.tar.gz
alsa-tools: Disable use of GTK+ when not using X11
The GTK+3 does not provide support for DirectFB backend so we cannot enable GTK+ features of alsa-tools in this case; GTK+2 does not provide support for Wayland. This patch changes GTK+ support to be enabled only when X11 support is enabled. (From OE-Core rev: 3af5ed10f93de6def9342f710f3c6b94219a4c7e) Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-multimedia/alsa')
-rw-r--r--meta/recipes-multimedia/alsa/alsa-tools_1.0.27.bb6
1 files changed, 3 insertions, 3 deletions
diff --git a/meta/recipes-multimedia/alsa/alsa-tools_1.0.27.bb b/meta/recipes-multimedia/alsa/alsa-tools_1.0.27.bb
index 62d71eaacd..bca7170a28 100644
--- a/meta/recipes-multimedia/alsa/alsa-tools_1.0.27.bb
+++ b/meta/recipes-multimedia/alsa/alsa-tools_1.0.27.bb
@@ -11,8 +11,8 @@ LIC_FILES_CHKSUM = "file://hdsploader/COPYING;md5=94d55d512a9ba36caa9b7df079bae1
11SRC_URI = "ftp://ftp.alsa-project.org/pub/tools/alsa-tools-${PV}.tar.bz2 \ 11SRC_URI = "ftp://ftp.alsa-project.org/pub/tools/alsa-tools-${PV}.tar.bz2 \
12 file://mips_has_no_io_h.patch \ 12 file://mips_has_no_io_h.patch \
13 file://autotools.patch \ 13 file://autotools.patch \
14 ${@bb.utils.contains_any('DISTRO_FEATURES', 'x11 wayland directfb', '', \ 14 ${@bb.utils.contains('DISTRO_FEATURES', 'x11', '', \
15 'file://makefile_no_gtk.patch', d)}" 15 'file://makefile_no_gtk.patch', d)}"
16 16
17SRC_URI[md5sum] = "1ea381d00a6069a98613aa7effa4cb51" 17SRC_URI[md5sum] = "1ea381d00a6069a98613aa7effa4cb51"
18SRC_URI[sha256sum] = "6562611b5a6560712f109e09740a9d4fa47296b07ed9590cb44139c5f154ada2" 18SRC_URI[sha256sum] = "6562611b5a6560712f109e09740a9d4fa47296b07ed9590cb44139c5f154ada2"
@@ -21,7 +21,7 @@ inherit autotools-brokensep pkgconfig
21 21
22EXTRA_OEMAKE += "GITCOMPILE_ARGS='--host=${HOST_SYS} --build=${BUILD_SYS} --target=${TARGET_SYS} --with-libtool-sysroot=${STAGING_DIR_HOST} --prefix=${prefix}'" 22EXTRA_OEMAKE += "GITCOMPILE_ARGS='--host=${HOST_SYS} --build=${BUILD_SYS} --target=${TARGET_SYS} --with-libtool-sysroot=${STAGING_DIR_HOST} --prefix=${prefix}'"
23 23
24PACKAGECONFIG ??= "${@bb.utils.contains_any('DISTRO_FEATURES', 'x11 wayland directfb', 'gtk+', '', d)}" 24PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'gtk+', '', d)}"
25PACKAGECONFIG[gtk+] = ",,gtk+ gtk+3," 25PACKAGECONFIG[gtk+] = ",,gtk+ gtk+3,"
26 26
27# configure.ac/.in doesn't exist so force copy 27# configure.ac/.in doesn't exist so force copy