# maintainer almack@chakralinux.org # contributor Jan de Groot pkgname=gstreamer pkgver=1.14.1 pkgrel=1 pkgdesc="GStreamer Multimedia Framework" arch=('x86_64') license=('LGPL') url="http://gstreamer.freedesktop.org/" depends=(libxml2 glib2 libunwind libcap libelf) optdepends=('sh: feedback script') makedepends=(gtk-doc gobject-introspection autoconf-archive git valgrind bash-completion) _commit=cba2c7dd89dc4cefebe6592b9b98e6e097bd840e # tags/1.14.1^0 install=gstreamer.install source=("git+https://anongit.freedesktop.org/git/gstreamer/gstreamer#commit=$_commit" "gst-common::git+https://anongit.freedesktop.org/git/gstreamer/common") sha256sums=('SKIP' 'SKIP') pkgver() { cd $pkgname git describe --tags | sed 's/-/+/g' } prepare() { cd $pkgname git submodule init git config --local submodule.common.url "$srcdir/gst-common" git submodule update NOCONFIGURE=1 ./autogen.sh } build() { cd $pkgname ./configure \ --prefix=/usr \ --sysconfdir=/etc \ --localstatedir=/var \ --libexecdir=/usr/lib \ --with-package-name="GStreamer (Chakra Linux)" \ --with-package-origin="https://chakralinux.org/" \ --enable-gtk-doc \ --disable-static sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool make } check() { cd $pkgname make check } package() { cd $pkgname make DESTDIR="$pkgdir" install }