void-packages/srcpkgs/template-glib/template

30 lines
995 B
Bash

# Template file for 'template-glib'
pkgname=template-glib
version=3.36.1
revision=1
build_style=meson
build_helper="gir"
configure_args="-Dgtk_doc=false -Dintrospection=enabled"
hostmakedepends="pkg-config vala glib-devel flex gettext"
makedepends="libglib-devel"
short_desc="Supports calling into GObject Introspection from templates"
maintainer="Enno Boland <gottox@voidlinux.org>"
license="GPL-3.0-or-later"
homepage="https://gitlab.gnome.org/GNOME/template-glib"
changelog="https://gitlab.gnome.org/GNOME/template-glib/-/raw/main/NEWS"
distfiles="${GNOME_SITE}/template-glib/${version%.*}/template-glib-${version}.tar.xz"
checksum=3b167a17385ad745afbe20fadf8106c66d30c5bd746d5aa1d9bdb7e803f6a503
template-glib-devel_package() {
depends="${sourcepkg}>=${version}_${revision} libgirepository-devel
libglib-devel"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.so"
vmove usr/share/gir-1.0
vmove usr/share/vala
}
}