summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--package/gst-plugins-base/Makefile33
-rw-r--r--package/gstreamer/Makefile27
2 files changed, 60 insertions, 0 deletions
diff --git a/package/gst-plugins-base/Makefile b/package/gst-plugins-base/Makefile
new file mode 100644
index 000000000..2759558e2
--- /dev/null
+++ b/package/gst-plugins-base/Makefile
@@ -0,0 +1,33 @@
+# This file is part of the OpenADK project. OpenADK is copyrighted
+# material, please see the LICENCE file in the top-level directory.
+
+include $(TOPDIR)/rules.mk
+
+PKG_NAME:= gst-plugins-base
+PKG_VERSION:= 1.2.1
+PKG_RELEASE:= 1
+PKG_MD5SUM:= 2e75fb03ed7e4d24d88601fcac4d57aa
+PKG_DESCR:= gstreamer base plugins
+PKG_SECTION:= libs
+PKG_DEPENDS:= gstreamer
+PKG_BUILDDEP:= gstreamer libvorbis libtheora alsa-lib
+PKG_URL:= http://gstreamer.freedesktop.org/
+PKG_SITES:= http://gstreamer.freedesktop.org/src/gst-plugins-base/
+PKG_OPTS:= dev
+
+DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.xz
+
+include $(TOPDIR)/mk/package.mk
+
+$(eval $(call PKG_template,GST_PLUGINS_BASE,gst-plugins-base,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
+
+TARGET_CPPFLAGS+= -D_GNU_SOURCE -D_POSIX_SOURCE
+
+gst-plugins-base-install:
+ $(INSTALL_DIR) $(IDIR_GST_PLUGINS_BASE)/usr/lib/gstreamer-1.0/
+ $(CP) $(WRKINST)/usr/lib/gstreamer-1.0/*.so \
+ $(IDIR_GST_PLUGINS_BASE)/usr/lib/gstreamer-1.0/
+ $(CP) $(WRKINST)/usr/lib/libgst*.so* \
+ $(IDIR_GST_PLUGINS_BASE)/usr/lib
+
+include ${TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/gstreamer/Makefile b/package/gstreamer/Makefile
new file mode 100644
index 000000000..6a3012635
--- /dev/null
+++ b/package/gstreamer/Makefile
@@ -0,0 +1,27 @@
+# This file is part of the OpenADK project. OpenADK is copyrighted
+# material, please see the LICENCE file in the top-level directory.
+
+include $(TOPDIR)/rules.mk
+
+PKG_NAME:= gstreamer
+PKG_VERSION:= 1.2.1
+PKG_RELEASE:= 1
+PKG_MD5SUM:= 55d50f48a496799dbb0b195c9c6c6153
+PKG_DESCR:= opensource multimedia framework
+PKG_SECTION:= libs
+PKG_URL:= http://gstreamer.freedesktop.org/
+PKG_SITES:= http://gstreamer.freedesktop.org/src/gstreamer/
+PKG_OPTS:= dev
+
+DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.xz
+
+include $(TOPDIR)/mk/package.mk
+
+$(eval $(call PKG_template,GSTREAMER,gstreamer,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
+
+gstreamer-install:
+ $(INSTALL_DIR) $(IDIR_GSTREAMER)/usr/lib
+ $(CP) $(WRKINST)/usr/lib/libgstreamer*.so* \
+ $(IDIR_GSTREAMER)/usr/lib
+
+include ${TOPDIR}/mk/pkg-bottom.mk