void-packages/srcpkgs/compizconfig-python/template
2020-10-10 10:21:37 -04:00

24 lines
904 B
Bash

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