23 lines
795 B
Bash
23 lines
795 B
Bash
# Template file for 'gst1-python'.
|
|
pkgname=gst1-python
|
|
version=1.12.0
|
|
revision=1
|
|
wrksrc="gst-python-${version}"
|
|
build_style=gnu-configure
|
|
configure_args="--disable-static"
|
|
pycompile_module="gi/overrides"
|
|
hostmakedepends="pkg-config python"
|
|
makedepends="libglib-devel python-gobject-devel gst-plugins-base1-devel"
|
|
depends="python-gobject"
|
|
short_desc="Python bindings for GStreamer 1.x"
|
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
|
license="LGPL-2.1"
|
|
homepage="https://gstreamer.freedesktop.org"
|
|
distfiles="${homepage}/src/gst-python/gst-python-${version}.tar.xz"
|
|
checksum=be33de6b9f21e95f677ef91b142e5249e71c8d7e894a5a4a53e19cf18d5d9c07
|
|
|
|
pre_configure() {
|
|
if [ "$CROSS_BUILD" ]; then
|
|
sed -i -e "s,PYTHON_INCLUDES=.*,PYTHON_INCLUDES=-I${XBPS_CROSS_BASE}/usr/include/python2.7,g" configure
|
|
fi
|
|
}
|