void-packages/srcpkgs/gtkmm/template
2021-04-09 18:52:32 +02:00

30 lines
883 B
Bash

# Template file for 'gtkmm'
pkgname=gtkmm
version=3.24.4
revision=1
build_style=meson
hostmakedepends="pkg-config mm-common gdk-pixbuf"
makedepends="gtk+3-devel glibmm-devel atkmm-devel pangomm-devel"
checkdepends="xvfb-run"
short_desc="C++ bindings for The GTK+ toolkit (v3)"
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}/${pkgname}/${version%.*}/${pkgname}-${version}.tar.xz"
checksum=9beb71c3e90cfcfb790396b51e3f5e7169966751efd4f3ef9697114be3be6743
do_check() {
xvfb-run ninja -C build test
}
gtkmm-devel_package() {
depends="${makedepends} gtkmm>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove "usr/lib/g[dt]k*"
vmove usr/lib/pkgconfig
vmove "usr/lib/*.so"
}
}