aboutsummaryrefslogtreecommitdiffstats
path: root/community/py3-gst/APKBUILD
blob: a4e9a820058ed3b81f70fa09295619c51e16d4ea (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# Contributor: Carlo Landmeter <clandmeter@gmail.com>
# Maintainer:
pkgname=py3-gst
pkgver=1.16.2
pkgrel=1
pkgdesc="GStreamer Python3 bindings"
url="https://cgit.freedesktop.org/gstreamer/gst-python/"
arch="all"
license="LGPL-2.1-or-later"
depends="py3-gobject3 gst-plugins-base"
makedepends="gst-plugins-base-dev gstreamer-dev meson py3-gobject3-dev
	python3-dev"
source="https://gstreamer.freedesktop.org/src/gst-python/gst-python-$pkgver.tar.xz
	python-3.8-compat.patch
	"
builddir="$srcdir/gst-python-$pkgver"

build()	{
	meson \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--localstatedir=/var \
		--buildtype=plain \
		-Dpython=/usr/bin/python3 \
		. output
	ninja -C output
}

package() {
	DESTDIR="$pkgdir" ninja -C output install
}

sha512sums="c274591cb820a2576ca236de0d1a2c2c53a9db11afc689e0385afe3d38fadc59c9230d65198e79e4059abb90c0e5b6d71f1ee4cf1439d92feaaffd2ab5cd3a23  gst-python-1.16.2.tar.xz
357aea5b66c5725d0a4e7a40f96139a651d33d6bff8826276bd6d5835003fbeef04dce29880eed327fc275b20f24b4a4081a04a5b80b3c0217a157ddca1e694d  python-3.8-compat.patch"