compizconfig-python: update to 0.8.16.

This commit is contained in:
maxice8 2018-11-12 16:20:16 -02:00 committed by maxice8
parent 5697f190a7
commit bb171cab42

View file

@ -1,25 +1,23 @@
# Template file for 'compizconfig-python' of Compiz Reloaded
# Template file for 'compizconfig-python'
pkgname=compizconfig-python
version=0.8.14
version=0.8.16
revision=1
build_style=gnu-configure
configure_args="--disable-static"
hostmakedepends="automake intltool libtool pkg-config glib-devel gettext-devel python-Cython"
hostmakedepends="automake intltool libtool pkg-config glib-devel gettext-devel python3-Cython"
makedepends="libSM-devel libcompizconfig-devel libxml++-devel
protobuf-devel python-devel startup-notification-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"
license="GPL-2"
distfiles="https://github.com/compiz-reloaded/compizconfig-python/archive/v${version}.tar.gz>${pkgname}-${version}.tar.gz"
checksum=03822784f4ebadcb73e6492236209eae6f6fbb2c89d6242ed212e64bbf1425dc
distfiles="https://github.com/compiz-reloaded/compizconfig-python/archive/v${version}.tar.gz"
checksum=5f01b7a00cb846a01f2cbba01a1a4242c245b0a7f39428ef2957bbc2f190f69c
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
if [ "$CROSS_BUILD" ]; then
sed -i "s,PYTHON_INCLUDES=.*,PYTHON_INCLUDES=-I${XBPS_CROSS_BASE}${py3_inc},g" configure
fi
}