Patchwork gst-plugins-gl: add package recipe

login
register
mail settings
Submitter Jeremy Stashluk
Date Jan. 23, 2013, 8:47 p.m.
Message ID <1358974076-25725-1-git-send-email-jstashluk@dekaresearch.com>
Download mbox | patch
Permalink /patch/43241/
State New
Headers show

Comments

Jeremy Stashluk - Jan. 23, 2013, 8:47 p.m.
---
 .../gstreamer/gst-plugins-gl_0.10.3.bb             |   30 ++++++++++++++++++++
 1 file changed, 30 insertions(+)
 create mode 100644 meta-oe/recipes-multimedia/gstreamer/gst-plugins-gl_0.10.3.bb
Ross Burton - Jan. 24, 2013, 12:18 p.m.
On 23 January 2013 20:47, Jeremy Stashluk <stashluk@gmail.com> wrote:
> +EXTRA_OECONF += "--x-includes= --x-libraries= NM=nm"

--without-x is a shorter way of disabling X, but unless there's a good
reason to you should respect the x11 distro feature.

Why do you need to set NM?   bitbake.conf sets it already.

I also don't see any dependency on virtual/libgl which you'll
presumably need for GL use.

To be honest I do prefer grabbing tarballs instead of git if you're
making a versioned package.

Ross

Patch

diff --git a/meta-oe/recipes-multimedia/gstreamer/gst-plugins-gl_0.10.3.bb b/meta-oe/recipes-multimedia/gstreamer/gst-plugins-gl_0.10.3.bb
new file mode 100644
index 0000000..37368f7
--- /dev/null
+++ b/meta-oe/recipes-multimedia/gstreamer/gst-plugins-gl_0.10.3.bb
@@ -0,0 +1,30 @@ 
+require recipes-multimedia/gstreamer/gst-plugins.inc
+
+LICENSE = "GPLv2+ & LGPLv2+ & LGPLv2.1+ "
+LIC_FILES_CHKSUM = "file://COPYING;md5=55ca817ccb7d5b5b66355690e9abc605"
+
+PR = "r2"
+
+DEPENDS += "gst-plugins-base"
+
+SRCREV_main = "RELEASE-0.10.3"
+SRCREV_common = "0.10"
+
+SRC_URI = " \
+   git://anongit.freedesktop.org/gstreamer/gst-plugins-gl;name=main \
+   git://anongit.freedesktop.org/gstreamer/common;name=common;destsuffix=git/common \
+   "
+
+S = "${WORKDIR}/git"
+
+inherit gettext gconf
+
+EXTRA_OECONF += "--x-includes= --x-libraries= NM=nm"
+
+ARM_INSTRUCTION_SET = "arm"
+
+do_configure_prepend() {
+   autopoint || touch config.rpath
+}
+
+FILES_${PN}-gconfelements += "${sysconfdir}/gconf/schemas/gstreamer-0.10.schemas"