23 lines
604 B
Plaintext
23 lines
604 B
Plaintext
# Description: C++ interface for the popular glib library
|
|
# URL: https://www.gtkmm.org/
|
|
# Maintainer: Tim Biermann, tbier at posteo dot de
|
|
# Depends on: glib libsigc++
|
|
|
|
name=glibmm-2.68
|
|
version=2.80.0
|
|
release=1
|
|
source=(https://ftp.gnome.org/pub/GNOME/sources/${name%-*}/${version%.*}/${name%-*}-$version.tar.xz)
|
|
|
|
build() {
|
|
meson setup ${name%-*}-$version build \
|
|
--prefix=/usr \
|
|
--buildtype=plain \
|
|
--wrap-mode nodownload \
|
|
-D b_lto=true \
|
|
-D b_pie=true
|
|
meson compile -C build
|
|
DESTDIR=$PKG meson install -C build
|
|
|
|
find $PKG \( -type f -a -perm -g+w \) -exec chmod g-w '{}' +
|
|
}
|