New package: python3-gobject-3.30.4.
This commit is contained in:
parent
06a881757e
commit
0674a6e010
|
@ -0,0 +1 @@
|
||||||
|
python3-gobject
|
|
@ -0,0 +1,34 @@
|
||||||
|
# Template file for 'python3-gobject'
|
||||||
|
pkgname=python3-gobject
|
||||||
|
version=3.30.4
|
||||||
|
revision=1
|
||||||
|
wrksrc="pygobject-${version}"
|
||||||
|
build_style=meson
|
||||||
|
build_helper="gir"
|
||||||
|
configure_args="-Dpython=python${py3_ver}"
|
||||||
|
pycompile_module="gi pygtkcompat"
|
||||||
|
hostmakedepends="pkg-config"
|
||||||
|
makedepends="libglib-devel python3-cairo-devel python3-devel"
|
||||||
|
depends="gir-freedesktop python3-cairo"
|
||||||
|
short_desc="Python3 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
|
||||||
|
x86_64-musl) ;;
|
||||||
|
*-musl) broken="Error relocating /usr/aarch64-linux-musl/usr/lib/libz.so.1: unsupported relocation type 1026" ;;
|
||||||
|
esac
|
||||||
|
|
||||||
|
python3-gobject-devel_package() {
|
||||||
|
depends="libgirepository-devel python3-cairo-devel
|
||||||
|
libglib-devel libffi-devel
|
||||||
|
python3-gobject>=${version}_${revision}"
|
||||||
|
short_desc+=" - development files"
|
||||||
|
pkg_install() {
|
||||||
|
vmove usr/include
|
||||||
|
vmove usr/lib/pkgconfig
|
||||||
|
}
|
||||||
|
}
|
|
@ -0,0 +1 @@
|
||||||
|
pkgname="pygobject"
|
Loading…
Reference in New Issue