2017-05-06 17:06:16 +00:00
|
|
|
# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens@gmail.com>
|
2016-10-13 01:20:30 +00:00
|
|
|
# Maintainer: Jan de Groot <jgc@archlinux.org>
|
|
|
|
|
|
|
|
# ALARM: Kevin Mihelich
|
|
|
|
# - remove valgrind makedepend
|
2019-04-24 00:12:18 +00:00
|
|
|
# - move gtk3 from checkdepend to makedepend
|
2016-10-13 01:20:30 +00:00
|
|
|
|
|
|
|
pkgname=gstreamer
|
2019-09-24 12:36:03 +00:00
|
|
|
pkgver=1.16.1
|
|
|
|
pkgrel=1
|
2017-05-06 17:06:16 +00:00
|
|
|
pkgdesc="GStreamer open-source multimedia framework core library"
|
2016-10-13 01:20:30 +00:00
|
|
|
url="https://gstreamer.freedesktop.org/"
|
2017-12-10 04:46:37 +00:00
|
|
|
arch=(x86_64)
|
2016-10-13 01:20:30 +00:00
|
|
|
license=(LGPL)
|
2017-05-06 17:06:16 +00:00
|
|
|
depends=(libxml2 glib2 libunwind libcap libelf)
|
2019-04-24 00:12:18 +00:00
|
|
|
makedepends=(gtk-doc gobject-introspection git bash-completion gtk3 meson)
|
|
|
|
checkdepends=(gmp gsl)
|
2019-09-24 12:36:03 +00:00
|
|
|
_commit=de0a7c4bc89a3df7424b808c893ca243629bebef # tags/1.16.1^0
|
2016-10-13 01:20:30 +00:00
|
|
|
install=gstreamer.install
|
2019-04-23 23:58:20 +00:00
|
|
|
source=("git+https://gitlab.freedesktop.org/gstreamer/gstreamer.git#commit=$_commit"
|
|
|
|
"gst-common::git+https://gitlab.freedesktop.org/gstreamer/common.git")
|
2016-10-13 01:20:30 +00:00
|
|
|
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
|
|
|
|
}
|
|
|
|
|
|
|
|
build() {
|
2019-04-23 23:58:20 +00:00
|
|
|
arch-meson $pkgname build \
|
|
|
|
-D ptp-helper-permissions=capabilities \
|
|
|
|
-D dbghelp=disabled \
|
|
|
|
-D gobject-cast-checks=disabled \
|
|
|
|
-D glib-asserts=disabled \
|
|
|
|
-D glib-checks=disabled \
|
|
|
|
-D package-name="GStreamer (Arch Linux)" \
|
|
|
|
-D package-origin="https://www.archlinux.org/"
|
|
|
|
ninja -C build
|
2016-10-13 01:20:30 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
check() {
|
2019-04-23 23:58:20 +00:00
|
|
|
meson test -C build --print-errorlogs
|
2016-10-13 01:20:30 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
2019-04-23 23:58:20 +00:00
|
|
|
DESTDIR="$pkgdir" meson install -C build
|
2016-10-13 01:20:30 +00:00
|
|
|
}
|