35 lines
1017 B
Bash
35 lines
1017 B
Bash
# Template file for 'gtkmm'
|
|
pkgname=gtkmm
|
|
version=3.24.7
|
|
revision=1
|
|
build_style=meson
|
|
configure_args="-Dbuild-demos=false"
|
|
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}/gtkmm/${version%.*}/gtkmm-${version}.tar.xz"
|
|
checksum=1d7a35af9c5ceccacb244ee3c2deb9b245720d8510ac5c7e6f4b6f9947e6789c
|
|
make_check_pre="xvfb-run"
|
|
|
|
if [ "$XBPS_CHECK_PKGS" ]; then
|
|
configure_args+=" -Dbuild-tests=true"
|
|
else
|
|
configure_args+=" -Dbuild-tests=false"
|
|
fi
|
|
|
|
gtkmm-devel_package() {
|
|
depends="${makedepends} ${sourcepkg}>=${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"
|
|
}
|
|
}
|