void-packages/srcpkgs/compizconfig-python/template

26 lines
948 B
Bash

# Template file for 'compizconfig-python' of Compiz Reloaded
pkgname=compizconfig-python
version=0.8.14
revision=1
build_style=gnu-configure
configure_args="--disable-static"
hostmakedepends="automake intltool libtool pkg-config glib-devel gettext-devel python-Cython"
makedepends="libSM-devel libcompizconfig-devel libxml++-devel
protobuf-devel python-devel startup-notification-devel"
short_desc="Compiz configuration system library for Compiz Reloaded"
maintainer="CoolOhm <micvlas@gmail.com>"
homepage="https://github.com/compiz-reloaded"
license="GPL-2"
distfiles="https://github.com/compiz-reloaded/compizconfig-python/archive/v${version}.tar.gz>${pkgname}-${version}.tar.gz"
checksum=03822784f4ebadcb73e6492236209eae6f6fbb2c89d6242ed212e64bbf1425dc
pre_configure() {
NOCONFIGURE=1 ./autogen.sh
if [ -n "$CROSS_BUILD" ]; then
sed -i "s,PYTHON_INCLUDES=.*,PYTHON_INCLUDES=-I${XBPS_CROSS_BASE}/usr/include/python2.7,g" configure
fi
}