2014-06-27 11:01:11 +02:00
|
|
|
# Template file for 'python-notify'
|
|
|
|
pkgname=python-notify
|
|
|
|
version=0.1.1
|
2014-12-18 21:44:47 +01:00
|
|
|
revision=12
|
2014-06-27 11:01:11 +02:00
|
|
|
lib32disabled=yes
|
|
|
|
patch_args="-Np1"
|
|
|
|
wrksrc="notify-python-${version}"
|
|
|
|
build_style=gnu-configure
|
|
|
|
hostmakedepends="pkg-config python-devel python-gobject2-devel pygtk-devel"
|
|
|
|
makedepends="libnotify-devel gtk+-devel dbus-glib-devel pygtk-devel"
|
|
|
|
depends="pygtk"
|
|
|
|
replaces="notify-python>=0"
|
|
|
|
pycompile_module="gtk-2.0/pynotify"
|
|
|
|
short_desc="Python2 bindings for libnotify"
|
|
|
|
homepage="http://www.galago-project.org/"
|
|
|
|
license="LGPL-2.1"
|
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
|
|
|
distfiles="http://www.galago-project.org/files/releases/source/notify-python/notify-python-${version}.tar.gz"
|
|
|
|
checksum=8c5ee28017fdc5b110c31cb76503e535e15e0c60b9a1f1e95ff6c018dd806022
|
|
|
|
|
|
|
|
pre_configure() {
|
|
|
|
if [ "$CROSS_BUILD" ]; then
|
|
|
|
sed -i -e "s,PYTHON_INCLUDES=.*,PYTHON_INCLUDES=-I${XBPS_CROSS_BASE}/usr/include/python2.7,g" configure
|
|
|
|
fi
|
|
|
|
}
|