void-packages/srcpkgs/python3-gobject/template

31 lines
1.0 KiB
Bash

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