36 lines
1 KiB
Text
36 lines
1 KiB
Text
# Template file for 'pygobject2'
|
|
pkgname=pygobject2
|
|
version=2.28.6
|
|
revision=7
|
|
wrksrc=${pkgname%2}-${version}
|
|
build_style=gnu-configure
|
|
configure_args="--disable-introspection"
|
|
hostmakedepends="pkg-config"
|
|
makedepends="libffi-devel libglib-devel cairo-devel python-devel py2cairo-devel"
|
|
short_desc="Python bindings for GObject (GLib 2.x)"
|
|
homepage="http://www.pygtk.org/"
|
|
license="LGPL-2.1"
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
|
distfiles="${GNOME_SITE}/${pkgname%2}/2.28/${pkgname%2}-$version.tar.xz"
|
|
checksum=fb8a1d4f665130a125011659bd347c7339c944232163dbb9a34fd0686577adb8
|
|
|
|
pygobject2-devel_package() {
|
|
depends="libffi-devel libglib-devel py2cairo-devel pygobject2>=${version}"
|
|
short_desc+=" - development files"
|
|
pycompile_module="usr/share/pygobject/2.0/codegen"
|
|
replaces="pygobject-devel<3.0.0"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove usr/lib/pkgconfig
|
|
vmove usr/share
|
|
}
|
|
}
|
|
|
|
pygobject2_package() {
|
|
depends="cairo python py2cairo"
|
|
pycompile_module="glib gobject gtk-2.0 pygtk"
|
|
replaces="pygobject<3.0.0"
|
|
pkg_install() {
|
|
vmove all
|
|
}
|
|
}
|