# Maintainer: Natanael Copa pkgname=gst-plugins-base1 pkgver=1.2.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="ed0fd639a10d91870cc1d55727bb4f44 gst-plugins-base-1.2.2.tar.xz" sha256sums="fa90cf21eac0a77f9393100356aef99ae42072c31dc218d3ae2e7f86cd5ced69 gst-plugins-base-1.2.2.tar.xz" sha512sums="8674c8f85b93e1ec5264fdcf946a71721b9682f90ebf120c8a7ebba9730f6c5bc6881d658be93bcf10743c19ed2360cd7047d8badb54a6e39865fa33220a3408 gst-plugins-base-1.2.2.tar.xz"