31 lines
916 B
Bash
31 lines
916 B
Bash
# Template file for 'gtkmm4'
|
|
pkgname=gtkmm4
|
|
version=4.4.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=2eb464326096e6a40c82e9cd074164d8103fb5e07865679c0a649e4174700dda
|
|
|
|
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"
|
|
}
|
|
}
|