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-12-07 01:09:46 +00:00
pkgver=1.18.2
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-12-07 01:09:46 +00:00
_commit=6a62351b8a8afce82d2ceba79f79dae6af5f15cf # tags/1.18.2^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
}