From 7acf8fedb7368b974432baf91c61f3c518185251 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Mon, 4 May 2015 19:14:23 +0200 Subject: [PATCH] New package: gst1-python-1.4.0 (python bindings for gstreamer 1.x) --- srcpkgs/gst1-python/template | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 srcpkgs/gst1-python/template diff --git a/srcpkgs/gst1-python/template b/srcpkgs/gst1-python/template new file mode 100644 index 00000000000..91acf854b09 --- /dev/null +++ b/srcpkgs/gst1-python/template @@ -0,0 +1,23 @@ +# Template file for 'gst1-python'. +pkgname=gst1-python +version=1.4.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 " +license="LGPL-2.1" +homepage="http://gstreamer.freedesktop.org" +distfiles="$homepage/src/gst-python/gst-python-${version}.tar.xz" +checksum=b1e40c29ceb41b03f08d38aca6056054f0341d0706276326dceeec6ac8d53d3e + +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 +}