mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-18 22:54:00 +00:00
47 lines
1.1 KiB
Bash
47 lines
1.1 KiB
Bash
# Maintainer: Jan Alexander Steffens (heftig) <heftig@archlinux.org>
|
|
# Contributor: Jan de Groot <jgc@archlinux.org>
|
|
|
|
# ALARM: Kevin Mihelich
|
|
# - remove valgrind makedepend
|
|
|
|
pkgname=gstreamer
|
|
pkgver=1.18.2
|
|
pkgrel=1
|
|
pkgdesc="Multimedia graph framework - core"
|
|
url="https://gstreamer.freedesktop.org/"
|
|
arch=(x86_64)
|
|
license=(LGPL)
|
|
depends=(libxml2 glib2 libunwind libcap libelf python)
|
|
makedepends=(gobject-introspection git bash-completion meson gmp gsl gtk3)
|
|
_commit=6a62351b8a8afce82d2ceba79f79dae6af5f15cf # tags/1.18.2^0
|
|
install=gstreamer.install
|
|
source=("git+https://gitlab.freedesktop.org/gstreamer/gstreamer.git#commit=$_commit")
|
|
sha256sums=('SKIP')
|
|
|
|
pkgver() {
|
|
cd $pkgname
|
|
git describe --tags | sed 's/-/+/g'
|
|
}
|
|
|
|
prepare() {
|
|
cd $pkgname
|
|
}
|
|
|
|
build() {
|
|
arch-meson $pkgname build \
|
|
-D doc=disabled \
|
|
-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/"
|
|
meson compile -C build
|
|
}
|
|
|
|
check() {
|
|
meson test -C build --print-errorlogs
|
|
}
|
|
|
|
package() {
|
|
DESTDIR="$pkgdir" meson install -C build
|
|
}
|