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