# Maintainer: Natanael Copa pkgname=gst-plugins-base1 pkgver=1.5.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 \ --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/*.la \ "$pkgdir"/usr/lib/*.a \ "$pkgdir"/usr/lib/gstreamer*/*.la \ "$pkgdir"/usr/lib/gstreamer*/*.a } md5sums="6d179b69e528786aa3b5f682437567f1 gst-plugins-base-1.5.2.tar.xz" sha256sums="a7d65acfb6760eb7f23e1b635a13f643406541f9350a01a8bd84246219db0071 gst-plugins-base-1.5.2.tar.xz" sha512sums="98bcd50d8fb445c0da60a2f80c37e96d7fa8415c3dd1a2a4d2a298bc47d9782726cfdf8c34fcdaa65927c4682a45a5d6369452c74b8804242b0c62ba60545f8f gst-plugins-base-1.5.2.tar.xz"