void-packages/srcpkgs/gtkmm4/template

31 lines
893 B
Bash

# Template file for 'gtkmm4'
pkgname=gtkmm4
version=4.12.0
revision=1
build_style=meson
hostmakedepends="pkg-config mm-common glib-devel"
makedepends="gtk4-devel glibmm2.68-devel cairomm1.16-devel pangomm2.48-devel"
checkdepends="xvfb-run"
short_desc="C++ bindings for The GTK+ toolkit (v4)"
maintainer="Enno Boland <gottox@voidlinux.org>"
license="LGPL-2.1-or-later"
homepage="https://gtkmm.org"
changelog="https://gitlab.gnome.org/GNOME/gtkmm/-/raw/master/NEWS"
distfiles="${GNOME_SITE}/gtkmm/${version%.*}/gtkmm-${version}.tar.xz"
checksum=fbc3e7618123345c0148ef71abb6548d421f52bb224fbda34875b677dc032c92
do_check() {
xvfb-run ninja -C build test
}
gtkmm4-devel_package() {
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove "usr/lib/gtk*"
vmove usr/lib/pkgconfig
vmove "usr/lib/*.so"
}
}