# Maintainer: Natanael Copa pkgname=gst-plugins-base1 pkgver=1.6.3 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 \ --disable-fatal-warnings \ --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/*.a "$pkgdir"/usr/lib/gstreamer*/*.a } md5sums="3ddde0ad598ef69f58d6a2e87f8b460f gst-plugins-base-1.6.3.tar.xz" sha256sums="b6154f8fdba4877e95efd94610ef0ada4f0171cd12eb829a3c3c97345d9c7a75 gst-plugins-base-1.6.3.tar.xz" sha512sums="c4cc98e55c94864ccf45c38c9cbfb2a6d5d5c9cf59e761d10db873640adbf0d4adc583a349dfde56428315416412bb37a31851a10826d11807472ad28d0bfb30 gst-plugins-base-1.6.3.tar.xz"