35 lines
1.1 KiB
Bash
35 lines
1.1 KiB
Bash
# Template file for 'python-gobject'
|
|
pkgname=python-gobject
|
|
version=3.30.4
|
|
revision=3
|
|
wrksrc="pygobject-${version}"
|
|
build_style=meson
|
|
build_helper="gir"
|
|
configure_args="-Dpython=python2.7"
|
|
pycompile_module="gi pygtkcompat"
|
|
hostmakedepends="pkg-config"
|
|
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=2dc1a1a444b82955e65b81c2a2511ecf8032404beba4ef1d48144168f2f64c43
|
|
|
|
case "$XBPS_TARGET_MACHINE" in
|
|
i686-musl|x86_64-musl) ;;
|
|
*-musl) broken="Error relocating /usr/aarch64-linux-musl/usr/lib/libz.so.1: unsupported relocation type 1026" ;;
|
|
esac
|
|
|
|
python-gobject-devel_package() {
|
|
depends="libgirepository-devel python-cairo-devel
|
|
libglib-devel libffi-devel
|
|
python-gobject>=${version}_${revision}"
|
|
short_desc+=" - development files"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove usr/lib/pkgconfig
|
|
}
|
|
}
|