aboutsummaryrefslogtreecommitdiffstats
path: root/main/gst-plugins-base0.10/APKBUILD
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2014-07-21 11:15:44 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2014-07-21 11:30:01 +0000
commitefa5733791fe4ca783f5a3bbba80dadb37c969a8 (patch)
tree5d4c5f39e12303dd5c52a7bb09f271cf0d8f2174 /main/gst-plugins-base0.10/APKBUILD
parentfdb031610513502f2f02273c95c0bea85f41d578 (diff)
downloadaports-efa5733791fe4ca783f5a3bbba80dadb37c969a8.tar.bz2
aports-efa5733791fe4ca783f5a3bbba80dadb37c969a8.tar.xz
main/gst-plugins-base0.10: renamed from gst-plugins-base
and remove gnome deps
Diffstat (limited to 'main/gst-plugins-base0.10/APKBUILD')
-rw-r--r--main/gst-plugins-base0.10/APKBUILD54
1 files changed, 54 insertions, 0 deletions
diff --git a/main/gst-plugins-base0.10/APKBUILD b/main/gst-plugins-base0.10/APKBUILD
new file mode 100644
index 0000000000..f0ba969e2b
--- /dev/null
+++ b/main/gst-plugins-base0.10/APKBUILD
@@ -0,0 +1,54 @@
+# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
+pkgname=gst-plugins-base0.10
+pkgver=0.10.36
+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=
+replaces="gst-plugins-base"
+depends_dev="gstreamer0.10-dev"
+makedepends="$depends_dev alsa-lib-dev libvorbis-dev liboil-dev
+ perl libogg-dev gtk+-dev libtheora-dev libice-dev libsm-dev libxv-dev
+ util-linux-dev expat-dev"
+source="http://gstreamer.freedesktop.org/src/gst-plugins-base/gst-plugins-base-$pkgver.tar.bz2"
+
+
+_builddir="$srcdir"/gst-plugins-base-$pkgver
+
+prepare() {
+ cd "$_builddir"
+ update_config_sub || return 1
+ # fix building with gnu make 3.82
+ find -name Makefile.in | xargs sed -i -e "s/^ /\t/" || return 1
+}
+
+build() {
+ cd "$_builddir"
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --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://www.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="776c73883e567f67b9c4a2847d8d041a gst-plugins-base-0.10.36.tar.bz2"