27 lines
734 B
Plaintext
Raw Normal View History

2018-09-28 00:07:29 +10:00
# Description: Python bindings for gstreamer.
# URL: https://gstreamer.freedesktop.org/modules/gst-python.html
# Maintainer: Danny Rawlins, crux at romster dot me
# Depends on: gst-plugins-base python3-gobject
name=gst-python3
2021-09-12 22:47:36 +10:00
version=1.18.5
2018-09-28 00:07:29 +10:00
release=1
source=(https://gstreamer.freedesktop.org/src/gst-python/gst-python-$version.tar.xz)
build() {
cd gst-python-$version
2019-10-06 18:40:08 +11:00
meson build \
--prefix=/usr \
--libexecdir=/usr/lib \
2021-01-08 00:48:25 +11:00
-D buildtype=plain \
2019-10-06 18:40:08 +11:00
-D python=/usr/bin/python3
ninja -C build -j ${JOBS:-1}
DESTDIR=$PKG ninja -C build install
/usr/bin/python3 -m compileall -d /usr/lib $PKG/usr/lib
/usr/bin/python3 -O -m compileall -d /usr/lib $PKG/usr/lib
2021-01-08 00:48:25 +11:00
/usr/bin/python3 -OO -m compileall -d /usr/lib $PKG/usr/lib
2018-09-28 00:07:29 +10:00
}