31 lines
916 B
Bash
31 lines
916 B
Bash
# Template file for 'gtkmm4'
|
|
pkgname=gtkmm4
|
|
version=4.2.0
|
|
revision=1
|
|
wrksrc="gtkmm-$version"
|
|
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=480c4c38f2e7ffcf58f56bb4b4d612f3f0cac9fd5908fd2cd8249fe10592a98b
|
|
|
|
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"
|
|
}
|
|
}
|