New package: compizconfig-python-0.8.12.1

This commit is contained in:
Jürgen Buchmüller 2017-02-19 07:19:39 +01:00
parent 1caa5199db
commit 11eae0cddb
2 changed files with 46 additions and 0 deletions

21
srcpkgs/ccsm/template Normal file
View file

@ -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 <micvlas@gmail.com>"
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

View file

@ -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 <micvlas@gmail.com>"
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
}