31 lines
1005 B
Bash
31 lines
1005 B
Bash
# Template file for 'python3-gobject'
|
|
pkgname=python3-gobject
|
|
version=3.42.2
|
|
revision=1
|
|
wrksrc="pygobject-${version}"
|
|
build_style=meson
|
|
build_helper="gir"
|
|
configure_args="-Dpython=python${py3_ver}"
|
|
hostmakedepends="pkg-config python3 python3-MarkupSafe"
|
|
makedepends="libglib-devel python3-cairo-devel python3-devel"
|
|
depends="gir-freedesktop python3-cairo"
|
|
checkdepends="python3-pytest 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/"
|
|
distfiles="${GNOME_SITE}/pygobject/${version%.*}/pygobject-${version}.tar.xz"
|
|
checksum=ade8695e2a7073849dd0316d31d8728e15e1e0bc71d9ff6d1c09e86be52bc957
|
|
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
|
|
}
|
|
}
|