aboutsummaryrefslogtreecommitdiffstats
path: root/community/py3-gst/APKBUILD
blob: e6686b1a85a0b2da796d6e47256c12554cce1a62 (plain) (blame)
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
# Contributor: Carlo Landmeter <clandmeter@alpinelinux.org>
# Maintainer:
pkgname=py3-gst
pkgver=1.18.2
pkgrel=0
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
	"
builddir="$srcdir/gst-python-$pkgver"

build() {
	abuild-meson \
		-Dpython=/usr/bin/python3 \
		. output
	meson compile ${JOBS:+-j ${JOBS}} -C output
}

package() {
	DESTDIR="$pkgdir" meson install --no-rebuild -C output
}

sha512sums="1b38bdf239430dd5e54261ed380810f02af9936a24a51178178b6733d851861d3f29213e9b7f1f5e6c8cb42bccf87d205c2c73f9f92291a3632486d6c42d9f12  gst-python-1.18.2.tar.xz"