30 lines
934 B
Bash
30 lines
934 B
Bash
# Template file for 'python-gobject'
|
|
pkgname=python-gobject
|
|
version=3.36.1
|
|
revision=2
|
|
wrksrc="pygobject-${version}"
|
|
build_style=meson
|
|
build_helper="gir"
|
|
configure_args="-Dpython=python2.7"
|
|
hostmakedepends="pkg-config python"
|
|
makedepends="libglib-devel python-cairo-devel python-devel"
|
|
depends="gir-freedesktop python-cairo"
|
|
short_desc="Python2 bindings for GObject"
|
|
maintainer="Enno Boland <gottox@voidlinux.org>"
|
|
license="LGPL-2.1-or-later"
|
|
homepage="https://pygobject.readthedocs.io/"
|
|
distfiles="${GNOME_SITE}/pygobject/${version%.*}/pygobject-${version}.tar.xz"
|
|
checksum=d1bf42802d1cec113b5adaa0e7bf7f3745b44521dc2163588d276d5cd61d718f
|
|
|
|
python-gobject-devel_package() {
|
|
depends="libgirepository-devel python-cairo-devel
|
|
libglib-devel libffi-devel
|
|
python-gobject>=${version}_${revision}"
|
|
conflicts="python3-gobject-devel"
|
|
short_desc+=" - development files"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove usr/lib/pkgconfig
|
|
}
|
|
}
|