From 70a599a5f188c3d077d23740e762075dec57ffa3 Mon Sep 17 00:00:00 2001 From: Rogerio Nunes Date: Tue, 2 Apr 2013 20:34:43 -0400 Subject: 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. (From OE-Core rev: e611bba7bba02ba167b2ae3671b00cc99e4fb29c) Signed-off-by: Rogerio Nunes Signed-off-by: Saul Wold Signed-off-by: Richard Purdie --- .../alsa/alsa-tools/makefile_no_gtk.patch | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 meta/recipes-multimedia/alsa/alsa-tools/makefile_no_gtk.patch (limited to 'meta/recipes-multimedia/alsa/alsa-tools') 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 + +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: -- cgit v1.2.3-54-g00ecf