2007-05-13 12:37:12 +02:00
|
|
|
# Description: C++ interface for the popular glib library.
|
2017-02-11 02:29:00 +01:00
|
|
|
# URL: https://www.gtkmm.org/
|
2023-03-06 05:19:11 +01:00
|
|
|
# Maintainer: John McQuah, jmcquah at disroot dot org
|
2022-11-13 19:16:18 +01:00
|
|
|
# Depends on: glib libsigc++2
|
2007-05-13 12:37:12 +02:00
|
|
|
|
|
|
|
name=glibmm
|
2022-11-13 19:16:18 +01:00
|
|
|
version=2.66.5
|
2007-05-13 12:37:12 +02:00
|
|
|
release=1
|
2017-02-11 02:29:00 +01:00
|
|
|
source=(https://ftp.gnome.org/pub/GNOME/sources/$name/${version%.*}/$name-$version.tar.xz)
|
2007-05-13 12:37:12 +02:00
|
|
|
|
|
|
|
build() {
|
2020-11-23 13:55:06 +01:00
|
|
|
meson setup build $name-$version \
|
|
|
|
--prefix=/usr \
|
2022-11-13 19:16:18 +01:00
|
|
|
--buildtype=plain \
|
|
|
|
--wrap-mode nodownload \
|
|
|
|
-D b_lto=true \
|
|
|
|
-D b_pie=true
|
2007-05-13 12:37:12 +02:00
|
|
|
|
2020-11-23 13:55:06 +01:00
|
|
|
meson compile -C build -j ${JOBS-1}
|
|
|
|
DESTDIR=$PKG meson install -C build
|
2023-03-06 05:19:11 +01:00
|
|
|
|
|
|
|
find $PKG \( -type f -a -perm -g+w \) -exec chmod g-w '{}' +
|
2007-05-13 12:37:12 +02:00
|
|
|
}
|