forked from ports/contrib
26 lines
635 B
Plaintext
26 lines
635 B
Plaintext
# Description: C++ bindings for GTK 4
|
|
# URL: https://www.gtkmm.org/
|
|
# Maintainer: Tim Biermann, tbier at posteo dot de
|
|
# Depends on: gtk4 pangomm-2.48
|
|
|
|
name=gtkmm4
|
|
version=4.4.0
|
|
release=1
|
|
source=(https://gitlab.gnome.org/GNOME/gtkmm/-/archive/$version/gtkmm-$version.tar.bz2)
|
|
|
|
build() {
|
|
meson setup gtkmm-$version build \
|
|
--prefix=/usr \
|
|
--buildtype=plain \
|
|
--wrap-mode nodownload \
|
|
--auto-features disabled \
|
|
-D b_lto=true \
|
|
-D b_pie=true \
|
|
-D maintainer-mode=true \
|
|
-D build-documentation=false
|
|
meson compile -C build
|
|
DESTDIR=$PKG meson install -C build
|
|
|
|
rm -rf $PKG/usr/share/{devhelp,doc}
|
|
}
|