Patchwork [meta-oe] gst-plugins-gl: allow empty packages

login
register
mail settings
Submitter Jeremy Stashluk
Date March 11, 2013, 5:05 p.m.
Message ID <1363021522-14994-1-git-send-email-jstashluk@dekaresearch.com>
Download mbox | patch
Permalink /patch/45951/
State Accepted
Commit 4da406cd50cf02a63ed76810a670aba1eb561c79
Headers show

Comments

Jeremy Stashluk - March 11, 2013, 5:05 p.m.
The patch to Poky (git://git.yoctoproject.org/poky) commit
bd73fa69f532ca3d81ec2452a79e7a333b3543c2 titled: "recipes: Fix
ALLOW_EMPTY with no package specified" breaks this recipe. This patch
specifies the allowed empty packages.

Signed-off-by: Jeremy Stashluk <jstashluk@dekaresearch.com>
---
 .../gstreamer/gst-plugins-gl_0.10.3.bb             |    4 ++++
 1 file changed, 4 insertions(+)
Ross Burton - March 11, 2013, 9:48 p.m.
On 11 March 2013 10:05, Jeremy Stashluk <stashluk@gmail.com> wrote:
> +ALLOW_EMPTY_${PN} = "1"
> +ALLOW_EMPTY_${PN}-apps = "1"
> +ALLOW_EMPTY_${PN}-glib = "1"

Why would you want to do this?

Ross

Patch

diff --git a/meta/recipes-multimedia/gstreamer/gst-plugins-gl_0.10.3.bb b/meta/recipes-multimedia/gstreamer/gst-plugins-gl_0.10.3.bb
index ffda977..a6c74fb 100644
--- a/meta/recipes-multimedia/gstreamer/gst-plugins-gl_0.10.3.bb
+++ b/meta/recipes-multimedia/gstreamer/gst-plugins-gl_0.10.3.bb
@@ -17,3 +17,7 @@  inherit gettext gconf
 # way for machines to specify their preferred GL flavour this can be
 # automatically adapted.
 EXTRA_OECONF += "ac_cv_header_GL_gl_h=no"
+
+ALLOW_EMPTY_${PN} = "1"
+ALLOW_EMPTY_${PN}-apps = "1"
+ALLOW_EMPTY_${PN}-glib = "1"