29 lines
968 B
Bash
29 lines
968 B
Bash
# Template file for 'python3-gobject'
|
|
pkgname=python3-gobject
|
|
version=3.32.2
|
|
revision=3
|
|
wrksrc="pygobject-${version}"
|
|
build_style=meson
|
|
build_helper="gir"
|
|
configure_args="-Dpython=python${py3_ver}"
|
|
pycompile_module="gi pygtkcompat"
|
|
hostmakedepends="pkg-config python3 python3-MarkupSafe"
|
|
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=c39ca2a28364b57fa00549c6e836346031e6b886c3ceabfd8ab4b4fed0a83611
|
|
|
|
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
|
|
}
|
|
}
|