blob: 1145b6feb1c84adc38478ca8df315b3d876a594c (
plain)
1 # Description: Python bindings for gstreamer.
2 # URL: https://gstreamer.freedesktop.org/modules/gst-python.html
3 # Maintainer: Danny Rawlins, crux at romster dot me
4 # Depends on: gst-plugins-base python3-gobject
5
6 name=gst-python3
7 version=1.18.5
8 release=1
9 source=(https://gstreamer.freedesktop.org/src/gst-python/gst-python-$version.tar.xz)
10
11 build() {
12 cd gst-python-$version
13
14 meson build \
15 --prefix=/usr \
16 --libexecdir=/usr/lib \
17 -D buildtype=plain \
18 -D python=/usr/bin/python3
19
20 ninja -C build -j ${JOBS:-1}
21 DESTDIR=$PKG ninja -C build install
22
23 /usr/bin/python3 -m compileall -d /usr/lib $PKG/usr/lib
24 /usr/bin/python3 -O -m compileall -d /usr/lib $PKG/usr/lib
25 /usr/bin/python3 -OO -m compileall -d /usr/lib $PKG/usr/lib
26 }
|