file://gstsid_autofoo_HACK.patch;patch=1 \
"
S = "${WORKDIR}/gst-plugins-ugly-${PV}"
+
+python() {
+ # Don't build, if we are building an ENTERPRISE distro
+ enterprise = bb.data.getVar("ENTERPRISE_DISTRO", d, 1)
+ if enterprise == "0":
+ raise bb.parse.SkipPackage("gst-plugins-ugly-sid will only build if ENTERPRISE_DISTRO != 0")
+}
+
+++ /dev/null
-
-#
-# Patch managed by http://www.holgerschurig.de/patcher.html
-#
-
---- gst-plugins-ugly-0.10.4/configure.ac~cross-compile
-+++ gst-plugins-ugly-0.10.4/configure.ac
-@@ -282,7 +282,7 @@
- LAME_LIBS="-lmp3lame -lm"
- dnl is lame presets available
- LAME_CFLAGS=""
-- AC_TRY_RUN([
-+ AC_TRY_COMPILE([
- #include <lame/lame.h>
- int main (int argc, char *argv[])
- {
require gst-plugins.inc
-PR = "r0"
+PR = "r1"
DEPENDS += "gst-plugins-base mpeg2dec libsidplay"
SRC_URI += "\
-# file://cross-compile.patch;patch=1 \
file://gstmad_16bit.patch;patch=1 \
file://gstsid_autofoo_HACK.patch;patch=1 \
"
+
+python() {
+ # Don't build, if we are building an ENTERPRISE distro
+ enterprise = bb.data.getVar("ENTERPRISE_DISTRO", d, 1)
+ if enterprise == "1":
+ raise bb.parse.SkipPackage("gst-plugins-ugly will only build if ENTERPRISE_DISTRO != 1")
+}
+