# Maintainer: Natanael Copa pkgname=gst-plugins-base1 pkgver=1.0.9 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="24af1986581d9c2cd3dc834ab64d133d gst-plugins-base-1.0.9.tar.xz" sha256sums="963e3b83d651661f495ca2e44ccd2d5c61e986e9d7706246e568276689a372ea gst-plugins-base-1.0.9.tar.xz" sha512sums="455d891fbb05d137689f9a21e1dc7bab7528d9f812a2e1ab5c1606cc4f16accaecfe31931e9474520daf2dbbd7f26cb8a55fd7f34f0051304cb9b90f1949f145 gst-plugins-base-1.0.9.tar.xz"