diff --git a/srcpkgs/ccsm/template b/srcpkgs/ccsm/template new file mode 100644 index 00000000000..3ac02f719c4 --- /dev/null +++ b/srcpkgs/ccsm/template @@ -0,0 +1,21 @@ +# Template file for 'ccsm' of Compiz Reloaded +pkgname=ccsm +version=0.8.12.4 +revision=1 +build_style=python2-module + +hostmakedepends="automake intltool libtool pkg-config python" +makedepends="compiz-core-devel compizconfig-python python-cairo-devel" +depends="compizconfig-python python-cairo" + +short_desc="Compiz Configuration Seetings Manager for Compiz Reloaded" +maintainer="CoolOhm " +homepage="https://github.com/compiz-reloaded" +license="GPL-2" +distfiles="https://github.com/compiz-reloaded/ccsm/archive/v${version}.tar.gz" +checksum=173375ea22ae97bc4be3e0dc3a7df894e9e20845c59bfdeafbac3a8c39d5151a + +if [ -z "$CROSS_BUILD" ]; then + depends+=" python-gobject" + makedepends+=" python-gobject-devel" +fi diff --git a/srcpkgs/compizconfig-python/template b/srcpkgs/compizconfig-python/template new file mode 100644 index 00000000000..4adb353822c --- /dev/null +++ b/srcpkgs/compizconfig-python/template @@ -0,0 +1,25 @@ +# 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 " +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 +}