diff options
author | Holger Hans Peter Freyther <zecke@selfish.org> | 2008-10-29 18:48:41 +0100 |
---|---|---|
committer | Holger Hans Peter Freyther <zecke@selfish.org> | 2008-10-29 19:26:53 +0100 |
commit | 0d2c29eaff64c853bdd73b9cbf01fbe39020db46 (patch) | |
tree | 2a1b71da4fdd171baf822050e81db29d8f8022f2 /packages/scummvm/scummvm_0.9.0.bb | |
parent | dc39745f3c8ea019033b811f6ef0ececb110d330 (diff) |
bluemchen wiese: Allow to disable certain ugly packages globally
Adopt the notion of gstreamer and allow to easily not build certain
ugly packages. People are constraints to not live on a bluemchen
wiese can set ENTERPRISE_DISTRO="1" in their config and get ugly
packages removed.
This is implemented by a set of packages in the BBMASK (as a safety
net) and by using base conditional to onl conditonally add ugly
packages.
Diffstat (limited to 'packages/scummvm/scummvm_0.9.0.bb')
-rw-r--r-- | packages/scummvm/scummvm_0.9.0.bb | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/packages/scummvm/scummvm_0.9.0.bb b/packages/scummvm/scummvm_0.9.0.bb index 0403e6ae90..01ade38458 100644 --- a/packages/scummvm/scummvm_0.9.0.bb +++ b/packages/scummvm/scummvm_0.9.0.bb @@ -1,5 +1,6 @@ require scummvm.inc -DEPENDS = "virtual/libsdl libmad libvorbis libogg zlib mpeg2dec" +DEPENDS = "virtual/libsdl libvorbis libogg zlib \ + ${@base_conditional('ENTERPRISE_DISTRO', '1', '', 'libmad mpeg2dec', d)}" SRC_URI += "file://sh3-arch-0.9.0+.patch;patch=1" EXTRA_OECONF += "--enable-lure \ @@ -8,8 +9,10 @@ EXTRA_OECONF += "--enable-lure \ " do_compile() { - oe_runmake CC="${CC}" CXX="${CXX}" CFLAGS="${CFLAGS}" CXXFLAGS="${CXXFLAGS}" LDFLAGS="${LDFLAGS} -lmpeg2" \ - DEFINES="-DUNIX -DSCUMM_NEED_ALIGNMENT -DUSE_MAD -DUSE_VORBIS -DUSE_ZLIB -DUSE_MPEG2" + oe_runmake CC="${CC}" CXX="${CXX}" CFLAGS="${CFLAGS}" \ + CXXFLAGS="${CXXFLAGS}" \ + LDFLAGS="${LDFLAGS} ${@base_conditional('ENTERPRISE_DISTRO', '1', '', '-lmpeg2', d)}" \ + DEFINES="-DUNIX -DSCUMM_NEED_ALIGNMENT -DUSE_VORBIS -DUSE_ZLIB -DUSE_MPEG2 ${@base_conditional('ENTERPRISE_DISTRO', '1', '', '-DUSE_MAD -DUSE_MPEG2', d}" } |