
This reverts commit 0c02a10c96be052a6308f3d8a075e1bb138bf807. python3-gobject 3.52 switches to using libgirepository in glib, however this this breaks libpeas-1's python loader plugin, while this is not an issue in libpeas-2, many applications are still using libpeas-1 with no current plans to migrate. Revert for now until upstreams have more time to handle the change. https://gitlab.gnome.org/GNOME/pygobject/-/issues/686
32 lines
1.1 KiB
Bash
32 lines
1.1 KiB
Bash
# Template file for 'python3-gobject'
|
|
pkgname=python3-gobject
|
|
reverts="3.52.3_1"
|
|
version=3.50.0
|
|
revision=3
|
|
build_style=meson
|
|
build_helper="gir"
|
|
configure_args="-Dpython=python${py3_ver}"
|
|
hostmakedepends="pkg-config python3-packaging-bootstrap"
|
|
makedepends="libglib-devel python3-cairo-devel python3-devel"
|
|
depends="gir-freedesktop python3-cairo"
|
|
checkdepends="python3-pytest pango python3-cairo gtk+3 xvfb-run"
|
|
short_desc="Python3 bindings for GObject"
|
|
maintainer="Enno Boland <gottox@voidlinux.org>"
|
|
license="LGPL-2.1-or-later"
|
|
homepage="https://pygobject.readthedocs.io/"
|
|
changelog="https://pygobject.readthedocs.io/en/latest/changelog.html"
|
|
distfiles="${GNOME_SITE}/pygobject/${version%.*}/pygobject-${version}.tar.xz"
|
|
checksum=8d836e75b5a881d457ee1622cae4a32bcdba28a0ba562193adb3bbb472472212
|
|
make_check_pre="xvfb-run"
|
|
|
|
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
|
|
}
|
|
}
|