# Maintainer: Natanael Copa pkgname=gst-plugins-base1 pkgver=1.4.2 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 \ --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://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="560b43b2be7b9470a6dfcbdc21f882dc gst-plugins-base-1.4.2.tar.xz" sha256sums="c0a8c44607d8a5669d2f0c118a72026f883a58ce1f3c720924b77f275b7b8835 gst-plugins-base-1.4.2.tar.xz" sha512sums="a8d52aae759673b6a0fd9c78bca6b9100088eb08b2048ee0a48f647abaa79365be465274a5d5a672c80e5ee21a52b54097959d12709cf8fe8af3a6bd9c21fc29 gst-plugins-base-1.4.2.tar.xz"