# Maintainer: Natanael Copa pkgname=gstreamer pkgver=1.12.1 pkgrel=2 pkgdesc="GStreamer Multimedia Framework" url="http://gstreamer.freedesktop.org/" arch="all" license="LGPL" subpackages="$pkgname-dev $pkgname-doc $pkgname-tools $pkgname-lang" depends= replaces="gstreamer1" depends_dev="libxml2-dev" makedepends="$depends_dev bison flex gobject-introspection-dev glib-dev" source="http://gstreamer.freedesktop.org/src/gstreamer/gstreamer-$pkgver.tar.xz " builddir="$srcdir"/gstreamer-$pkgver build() { cd "$builddir" ./configure \ --build=$CBUILD \ --host=$CHOST \ --prefix=/usr \ --sysconfdir=/etc \ --localstatedir=/var \ --enable-introspection \ --with-package-name="GStreamer (Alpine Linux)" \ --with-package-origin="http://alpinelinux.org/" \ --disable-fatal-warnings \ --with-ptp-helper-permissions=none \ || return 1 make || return 1 } package() { cd "$builddir" make DESTDIR="$pkgdir" install || return 1 } tools() { pkgdesc="common tools and files for GStreamer streaming media framework" # gst-feedback needs this depends="pkgconfig" mkdir -p "$subpkgdir"/usr/ mv "$pkgdir"/usr/bin "$subpkgdir"/usr/ } doc() { default_doc replaces="${pkgname}1-doc" } sha512sums="f4fed3260d9a6fb7a9b7363758f996efecda8565d6975d73f633a876e35256115df3477e62568a421fe09540e4aa6ac204db6d84d89f3a21110efd7ac5a42c03 gstreamer-1.12.1.tar.xz"