void-packages/srcpkgs/compizconfig-python/template
2019-12-24 12:24:27 +01:00

23 lines
896 B
Bash

# Template file for 'compizconfig-python'
pkgname=compizconfig-python
version=0.8.16
revision=3
build_style=gnu-configure
configure_args="--disable-static"
hostmakedepends="automake intltool libtool pkg-config glib-devel gettext-devel python3-Cython"
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=5f01b7a00cb846a01f2cbba01a1a4242c245b0a7f39428ef2957bbc2f190f69c
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
}