void-packages/srcpkgs/compizconfig-python/template

26 lines
939 B
Bash

# Template file for 'compizconfig-python'
pkgname=compizconfig-python
version=0.8.18
revision=7
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 libXdamage-devel"
depends="python3"
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
}