From: Erwin Rol <[email protected]>

Signed-off-by: Erwin Rol <[email protected]>
---
 rules/gst-plugins-gl.in   |   26 ++++++++++++++
 rules/gst-plugins-gl.make |   82 +++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 108 insertions(+), 0 deletions(-)
 create mode 100644 rules/gst-plugins-gl.in
 create mode 100644 rules/gst-plugins-gl.make

diff --git a/rules/gst-plugins-gl.in b/rules/gst-plugins-gl.in
new file mode 100644
index 0000000..743d933
--- /dev/null
+++ b/rules/gst-plugins-gl.in
@@ -0,0 +1,26 @@
+## SECTION=multimedia_gstreamer
+
+menuconfig GST_PLUGINS_GL
+       tristate
+       select GLIB
+       select GSTREAMER
+       select GST_PLUGINS_BASE
+       select XORG_LIB_X11
+       select XORG_SERVER_EXT_GLX
+       select MESALIB
+       select GLEW
+       prompt "gst-plugins-gl                "
+       help
+         The GStreamer OpenGL module provides helper
+         libraries, base classes and elements for
+         integrating with OpenGL and using it to perform
+         video display and processing.
+
+if GST_PLUGINS_GL
+
+       config GST_PLUGINS_GL_BLA
+               bool
+               prompt "bla"
+
+endif
+
diff --git a/rules/gst-plugins-gl.make b/rules/gst-plugins-gl.make
new file mode 100644
index 0000000..446c6b2
--- /dev/null
+++ b/rules/gst-plugins-gl.make
@@ -0,0 +1,82 @@
+# -*-makefile-*-
+#
+# Copyright (C) 2010 by Erwin Rol <[email protected]>
+#
+# See CREDITS for details about who has contributed to this project.
+#
+# For further information about the PTXdist project and license conditions
+# see the README file.
+#
+
+#
+# We provide this package
+#
+PACKAGES-$(PTXCONF_GST_PLUGINS_GL) += gst-plugins-gl
+
+#
+# Paths and names
+#
+GST_PLUGINS_GL_VERSION := 0.10.1
+GST_PLUGINS_GL         := gst-plugins-gl-$(GST_PLUGINS_GL_VERSION)
+GST_PLUGINS_GL_SUFFIX  := tar.bz2
+GST_PLUGINS_GL_URL     := 
http://gstreamer.freedesktop.org/src/gst-plugins-gl/$(GST_PLUGINS_GL).$(GST_PLUGINS_GL_SUFFIX)
+GST_PLUGINS_GL_SOURCE  := $(SRCDIR)/$(GST_PLUGINS_GL).$(GST_PLUGINS_GL_SUFFIX)
+GST_PLUGINS_GL_DIR     := $(BUILDDIR)/$(GST_PLUGINS_GL)
+
+# ----------------------------------------------------------------------------
+# Get
+# ----------------------------------------------------------------------------
+
+$(GST_PLUGINS_GL_SOURCE):
+       @$(call targetinfo)
+       @$(call get, GST_PLUGINS_GL)
+
+# ----------------------------------------------------------------------------
+# Prepare
+# ----------------------------------------------------------------------------
+
+GST_PLUGINS_GL_PATH    := PATH=$(CROSS_PATH)
+GST_PLUGINS_GL_CONF_ENV        := $(CROSS_ENV)
+
+#
+# autoconf
+#
+GST_PLUGINS_GL_CONF_TOOL       := autoconf
+GST_PLUGINS_GL_CONF_OPT                := \
+       $(CROSS_AUTOCONF_USR) \
+        --disable-rpath \
+        --disable-nls \
+       --disable-debug \
+       --disable-profiling \
+       --disable-valgrind \
+       --disable-gcov \
+       --disable-gtk-doc \
+       --disable-largefile
+
+# ----------------------------------------------------------------------------
+# Target-Install
+# ----------------------------------------------------------------------------
+
+$(STATEDIR)/gst-plugins-gl.targetinstall:
+       @$(call targetinfo)
+
+       @$(call install_init, gst-plugins-gl)
+       @$(call install_fixup, gst-plugins-gl,PACKAGE,gst-plugins-gl)
+       @$(call install_fixup, gst-plugins-gl,PRIORITY,optional)
+       @$(call install_fixup, gst-plugins-gl,VERSION,$(GST_PLUGINS_GL_VERSION))
+       @$(call install_fixup, gst-plugins-gl,SECTION,base)
+       @$(call install_fixup, gst-plugins-gl,AUTHOR,"Erwin Rol 
<[email protected]>")
+       @$(call install_fixup, gst-plugins-gl,DEPENDS,)
+       @$(call install_fixup, gst-plugins-gl,DESCRIPTION,missing)
+
+       @$(call install_copy, gst-plugins-gl, 0, 0, 0644, -, 
/usr/lib/gstreamer-0.10/libgstopengl.so)
+       
+       @$(call install_copy, gst-plugins-gl, 0, 0, 0644, -, 
/usr/lib/libgstgl-0.10.so.0.0.0)
+       @$(call install_link, gst-plugins-gl, libgstgl-0.10.so.0.0.0, 
/usr/lib/libgstgl-0.10.so.0)
+       @$(call install_link, gst-plugins-gl, libgstgl-0.10.so.0.0.0, 
/usr/lib/libgstgl-0.10.so)
+
+       @$(call install_finish, gst-plugins-gl)
+
+       @$(call touch)
+
+# vim: syntax=make
-- 
1.6.0.6


--
ptxdist mailing list
[email protected]

Reply via email to