# Maintainer: Natanael Copa pkgname=gstreamer pkgver=1.14.4 pkgrel=0 pkgdesc="GStreamer Multimedia Framework" url="https://gstreamer.freedesktop.org" arch="all" license="LGPL-2.0-or-later" subpackages="$pkgname-dev $pkgname-doc $pkgname-tools $pkgname-lang" replaces="gstreamer1" depends_dev="libxml2-dev" makedepends="$depends_dev bison flex gobject-introspection-dev glib-dev" source="https://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 (${DISTRO_NAME:-Alpine Linux})" \ --with-package-origin="${DISTRO_URL:-http://alpinelinux.org/}" \ --disable-fatal-warnings \ --with-ptp-helper-permissions=none make } package() { cd "$builddir" make DESTDIR="$pkgdir" install } 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="7ece9f01d40df7c8358482eac94536c5e15261e9568962008e2029e1ee1b3ebb220d2e4802ed1c81c40d897576fafe52234065e273724bfb4df3a3ddf2711abe gstreamer-1.14.4.tar.xz"