aboutsummaryrefslogtreecommitdiffstats
path: root/main/gstreamer1
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2012-10-04 08:02:14 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2012-10-04 08:02:14 +0000
commitf3633b129534bf3eb502de242916fd4a612631ff (patch)
tree259293a5d9c9ba65f50eb65309f7280dec25a0bb /main/gstreamer1
parent537e18b91b2b0b9cb62e285ea60c9fc8883e7546 (diff)
downloadaports-f3633b129534bf3eb502de242916fd4a612631ff.tar.bz2
aports-f3633b129534bf3eb502de242916fd4a612631ff.tar.xz
main/gst-*1,gstreamer1: moved from testing
Diffstat (limited to 'main/gstreamer1')
-rw-r--r--main/gstreamer1/APKBUILD58
1 files changed, 58 insertions, 0 deletions
diff --git a/main/gstreamer1/APKBUILD b/main/gstreamer1/APKBUILD
new file mode 100644
index 0000000000..5d5af7c579
--- /dev/null
+++ b/main/gstreamer1/APKBUILD
@@ -0,0 +1,58 @@
+# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
+pkgname=gstreamer1
+pkgver=1.0.0
+pkgrel=0
+pkgdesc="GStreamer Multimedia Framework"
+url="http://gstreamer.freedesktop.org/"
+arch="all"
+license="LGPL"
+subpackages="$pkgname-dev $pkgname-doc $pkgname-tools $pkgname-lang"
+depends=
+depends_dev="glib-dev libxml2-dev"
+makedepends="$depends_dev bison flex gobject-introspection-dev"
+source="http://gstreamer.freedesktop.org/src/gstreamer/gstreamer-$pkgver.tar.xz
+ "
+
+_builddir="$srcdir"/gstreamer-$pkgver
+prepare() {
+ cd "$_builddir"
+ for i in $source; do
+ case "$i" in
+ *.patch)
+ msg "Applying $i"
+ patch -p1 -i "$srcdir"/$i || return 1
+ ;;
+ esac
+ done
+}
+
+build() {
+ cd "$srcdir"/gstreamer-$pkgver
+ ./configure --prefix=/usr \
+ --sysconfdir=/etc \
+ --localstatedir=/var \
+ --enable-introspection \
+ --with-package-name="GStreamer (Alpine Linux)" \
+ --with-package-origin="http://alpinelinux.org/" \
+ || return 1
+ make || return 1
+}
+
+package() {
+ cd "$srcdir"/gstreamer-$pkgver
+ make 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
+}
+
+tools() {
+ pkgdesc="common tools and files for GStreamer streaming media framework"
+ # gst-feedback needs this
+ depends="pkgconfig"
+ mkdir -p "$subpkgdir"/usr/
+ mv "$pkgdir"/usr/bin "$subpkgdir"/usr/
+}
+
+md5sums="b7c9252b83720115d0897fbbbc092dc8 gstreamer-1.0.0.tar.xz"