2011-03-03 15:02:17 +01:00
|
|
|
# Template file for 'gst-python'.
|
|
|
|
pkgname=gst-python
|
2012-01-23 09:51:41 +01:00
|
|
|
version=0.10.22
|
2014-09-12 19:39:49 +02:00
|
|
|
revision=7
|
2014-04-03 13:10:04 +02:00
|
|
|
lib32disabled=yes
|
2011-10-24 14:14:47 +02:00
|
|
|
build_style=gnu-configure
|
2012-10-11 10:20:42 +02:00
|
|
|
configure_args="--disable-static"
|
2014-02-20 09:55:06 +01:00
|
|
|
hostmakedepends="pkg-config python"
|
2014-06-19 14:28:03 +02:00
|
|
|
makedepends="glib-devel python-devel pygtk-devel
|
|
|
|
libxml2-devel gstreamer-devel gst-plugins-base-devel"
|
|
|
|
depends="pygtk"
|
2014-01-01 16:10:11 +01:00
|
|
|
pycompile_module="gst-0.10"
|
2011-03-03 15:02:17 +01:00
|
|
|
short_desc="Python bindings for GStreamer 0.10"
|
2012-01-23 09:51:41 +01:00
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
|
|
|
license="LGPL-2.1"
|
2012-10-11 10:20:42 +02:00
|
|
|
homepage="http://gstreamer.freedesktop.org"
|
|
|
|
distfiles="$homepage/src/$pkgname/$pkgname-$version.tar.bz2"
|
2012-01-23 09:51:41 +01:00
|
|
|
checksum=8f26f519a5bccd770864317e098e5e307fc5ad1201eb96329634b6508b253178
|
2011-03-03 15:02:17 +01:00
|
|
|
|
2014-09-12 19:39:49 +02:00
|
|
|
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
|
|
|
|
}
|
|
|
|
|
2013-04-12 15:11:12 +02:00
|
|
|
gst-python-devel_package() {
|
2014-04-03 13:10:04 +02:00
|
|
|
lib32disabled=yes
|
2013-04-12 15:11:12 +02:00
|
|
|
depends="${sourcepkg}-${version}_${revision}"
|
2014-01-01 16:10:11 +01:00
|
|
|
short_desc+=" - development files"
|
2013-04-12 15:11:12 +02:00
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
|
|
|
vmove usr/lib/pkgconfig
|
|
|
|
vmove usr/share/gst-python
|
|
|
|
}
|
|
|
|
}
|