void-packages/srcpkgs/python3-gobject/template

31 lines
1.0 KiB
Bash

# Template file for 'python3-gobject'
pkgname=python3-gobject
version=3.44.0
revision=1
build_style=meson
build_helper="gir"
configure_args="-Dpython=python${py3_ver}"
hostmakedepends="pkg-config python3-setuptools"
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=f6863d6a3b70d9ace4c36a9901d39e42c8801d11309ca2a8b3459d1c24e34b7f
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
}
}