aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2012-10-03 10:56:49 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2012-10-03 10:58:23 +0000
commit19c35f4f56db130fe7142ba604ee36aa62024adf (patch)
tree600c0c770260870df55609e57501472f3736625a
parent6e10043a874684edf9251e4622fa53bb58e1c4d9 (diff)
downloadaports-19c35f4f56db130fe7142ba604ee36aa62024adf.tar.bz2
aports-19c35f4f56db130fe7142ba604ee36aa62024adf.tar.xz
testing/gst-plugins-base1: new aport
GStreamer Multimedia Framework Base Plugins http://gstreamer.freedesktop.org/
-rw-r--r--testing/gst-plugins-base1/APKBUILD60
1 files changed, 60 insertions, 0 deletions
diff --git a/testing/gst-plugins-base1/APKBUILD b/testing/gst-plugins-base1/APKBUILD
new file mode 100644
index 0000000000..ffccf49a29
--- /dev/null
+++ b/testing/gst-plugins-base1/APKBUILD
@@ -0,0 +1,60 @@
+# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
+pkgname=gst-plugins-base1
+pkgver=1.0.0
+pkgrel=0
+pkgdesc="GStreamer Multimedia Framework Base Plugins"
+url="http://gstreamer.freedesktop.org/"
+arch="all"
+license="GPL LGPL"
+subpackages="$pkgname-dev $pkgname-doc $pkgname-lang"
+depends=
+depends_dev="gstreamer1-dev glib-dev"
+makedepends="$depends_dev
+ alsa-lib-dev
+ cdparanoia-dev
+ expat-dev
+ gtk+3.0-dev
+ libice-dev
+ libogg-dev
+ liboil-dev
+ libsm-dev
+ libtheora-dev
+ libvorbis-dev
+ libxv-dev
+ orc-dev
+ perl
+ "
+source="http://gstreamer.freedesktop.org/src/gst-plugins-base/gst-plugins-base-$pkgver.tar.xz"
+ldpath="/usr/lib/gstreamer-1.0"
+
+
+_builddir="$srcdir"/gst-plugins-base-$pkgver
+
+prepare() {
+ cd "$_builddir"
+}
+
+build() {
+ cd "$_builddir"
+ ./configure --prefix=/usr \
+ --sysconfdir=/etc \
+ --localstatedir=/var \
+ --disable-static \
+ --disable-experimental \
+ --with-default-audiosink=alsasink \
+ --with-package-name="GStreamer Base Plugins (Alpine Linux)" \
+ --with-package-origin="http://alpinelinux.org/" \
+ || return 1
+ make || return 1
+}
+
+package() {
+ cd "$_builddir"
+ make -j1 DESTDIR="$pkgdir" install || return 1
+ rm -f "$pkgdir"/usr/lib/*.la \
+ "$pkgdir"/usr/lib/*.a \
+ "$pkgdir"/usr/lib/gstreamer*/*.la \
+ "$pkgdir"/usr/lib/gstreamer*/*.a
+}
+
+md5sums="428f5a0beaa7f76262bea0f431f8337e gst-plugins-base-1.0.0.tar.xz"