30 lines
941 B
Bash
30 lines
941 B
Bash
# Template file for 'template-glib'
|
|
pkgname=template-glib
|
|
version=3.34.1
|
|
revision=1
|
|
build_style=meson
|
|
build_helper="gir"
|
|
configure_args="-Denable_gtk_doc=false -Dwith_introspection=true
|
|
-Dwith_vapi=true"
|
|
hostmakedepends="pkg-config vala glib-devel flex"
|
|
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"
|
|
distfiles="${GNOME_SITE}/template-glib/${version%.*}/template-glib-${version}.tar.xz"
|
|
checksum=9ec9b71e04d4f5cb14f755ef790631cd0b45c0603e11c836fc7cfd9e268cd07a
|
|
|
|
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
|
|
}
|
|
}
|