PKGBUILDs/extra/gstreamer/PKGBUILD

56 lines
1.4 KiB
Bash
Raw Normal View History

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
pkgname=gstreamer
2019-04-23 23:58:20 +00:00
pkgver=1.16.0
2016-10-13 01:20:30 +00:00
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-23 23:58:20 +00:00
makedepends=(gtk-doc gobject-introspection git bash-completion meson)
2017-05-06 17:06:16 +00:00
checkdepends=(gmp gsl gtk3)
2019-04-23 23:58:20 +00:00
_commit=89c221a6972513f629c969f5485f37e77ccfa6e1 # tags/1.16.0^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
}