PKGBUILDs/extra/gstreamer/PKGBUILD

48 lines
1.1 KiB
Bash
Raw Normal View History

2020-09-14 13:56:24 +00:00
# Maintainer: Jan Alexander Steffens (heftig) <heftig@archlinux.org>
# Contributor: Jan de Groot <jgc@archlinux.org>
2016-10-13 01:20:30 +00:00
# ALARM: Kevin Mihelich
# - remove valgrind makedepend
pkgname=gstreamer
2020-10-27 13:44:37 +00:00
pkgver=1.18.1
2020-09-14 13:56:24 +00:00
pkgrel=1
pkgdesc="Multimedia graph framework - core"
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)
2020-09-14 13:56:24 +00:00
depends=(libxml2 glib2 libunwind libcap libelf python)
makedepends=(gobject-introspection git bash-completion meson gmp gsl gtk3)
2020-10-27 13:44:37 +00:00
_commit=29a8099d1d4bd8717c13923e710e92e67e335353 # tags/1.18.1^0
2016-10-13 01:20:30 +00:00
install=gstreamer.install
2019-12-07 00:03:49 +00:00
source=("git+https://gitlab.freedesktop.org/gstreamer/gstreamer.git#commit=$_commit")
sha256sums=('SKIP')
2016-10-13 01:20:30 +00:00
pkgver() {
cd $pkgname
git describe --tags | sed 's/-/+/g'
}
prepare() {
cd $pkgname
}
build() {
2019-04-23 23:58:20 +00:00
arch-meson $pkgname build \
2020-09-14 13:56:24 +00:00
-D doc=disabled \
2019-04-23 23:58:20 +00:00
-D ptp-helper-permissions=capabilities \
-D dbghelp=disabled \
-D gobject-cast-checks=disabled \
-D package-name="GStreamer (Arch Linux)" \
-D package-origin="https://www.archlinux.org/"
2020-09-14 13:56:24 +00:00
meson compile -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
}