void-packages/srcpkgs/compizconfig-python/template

26 lines
950 B
Bash

# Template file for 'compizconfig-python' of Compiz Reloaded
pkgname=compizconfig-python
version=0.8.12.1
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=0d169cab08f8b1f4b54326df9e1abc6da5bc3e0a43d4d9062808d835ec43dfba
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
}