aboutsummaryrefslogtreecommitdiffstats
path: root/meta/recipes-multimedia/alsa/alsa-tools
diff options
context:
space:
mode:
authorRogerio Nunes <ronunes@gmail.com>2013-04-02 20:34:43 -0400
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-04-03 16:54:57 +0100
commite611bba7bba02ba167b2ae3671b00cc99e4fb29c (patch)
treebc1de4a2b11c95e788e12d6e613428dafa402654 /meta/recipes-multimedia/alsa/alsa-tools
parented07bb4214abb472da6aa7e164a20fd4be127e54 (diff)
downloadopenembedded-core-contrib-e611bba7bba02ba167b2ae3671b00cc99e4fb29c.tar.gz
alsa-tools: fix build when x11 and gtk+ not available
Current verion of gtk+ (2.15.24) does not accept pure framebuffer as backend and some alsa-tools sub-modules depend on gtk+. This patch removes those sub-modules from the build only when x11 is not set in DISTRO_FEATURES. Signed-off-by: Rogerio Nunes <ronunes@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
Diffstat (limited to 'meta/recipes-multimedia/alsa/alsa-tools')
-rw-r--r--meta/recipes-multimedia/alsa/alsa-tools/makefile_no_gtk.patch21
1 files changed, 21 insertions, 0 deletions
diff --git a/meta/recipes-multimedia/alsa/alsa-tools/makefile_no_gtk.patch b/meta/recipes-multimedia/alsa/alsa-tools/makefile_no_gtk.patch
new file mode 100644
index 0000000000..51f934d8f6
--- /dev/null
+++ b/meta/recipes-multimedia/alsa/alsa-tools/makefile_no_gtk.patch
@@ -0,0 +1,21 @@
+Remove some sub-components which need gtk+.
+
+Signed-off-by: Rogerio Nunes <ronunes@gmail.com>
+
+Upstream-Status: Inappropriate [configuration]
+
+diff --git a/Makefile b/Makefile
+--- a/Makefile
++++ b/Makefile
+@@ -1,8 +1,8 @@
+ VERSION = 1.0.26.1
+ TOP = .
+-SUBDIRS = ac3dec as10k1 envy24control \
+- mixartloader pcxhrloader rmedigicontrol sb16_csp seq sscape_ctl \
+- us428control usx2yloader vxloader echomixer \
++SUBDIRS = ac3dec as10k1 \
++ mixartloader pcxhrloader sb16_csp seq sscape_ctl \
++ us428control usx2yloader vxloader \
+ hwmixvolume hda-verb
+
+ all: