2020-03-19 15:30:33 +00:00
|
|
|
# Description: Networkmanager GUI client library
|
|
|
|
# URL: https://gitlab.gnome.org/GNOME/libnma
|
|
|
|
# Maintainer: Tim Biermann, tbier at posteo dot de
|
2022-01-03 14:31:19 +01:00
|
|
|
# Depends on: gcr gtk3 iso-codes networkmanager
|
2020-03-19 15:30:33 +00:00
|
|
|
|
|
|
|
name=libnma
|
2023-01-11 20:50:30 +00:00
|
|
|
version=1.10.6
|
2022-01-22 12:35:56 +01:00
|
|
|
release=1
|
2020-06-20 17:13:04 +00:00
|
|
|
source=(https://gitlab.gnome.org/GNOME/libnma/-/archive/$version/libnma-$version.tar.bz2)
|
2020-03-19 15:30:33 +00:00
|
|
|
|
|
|
|
build() {
|
2022-03-27 13:48:04 +02:00
|
|
|
#prt-get isinst gtk4 && PKGMK_LIBNMA+=' -D libnma_gtk4=true'
|
|
|
|
prt-get isinst vala || PKGMK_LIBNMA+=' -D vapi=false'
|
2020-11-03 19:49:45 +00:00
|
|
|
|
2022-03-27 13:48:04 +02:00
|
|
|
meson setup $name-$version build $PKGMK_LIBNMA \
|
2020-03-19 15:30:33 +00:00
|
|
|
--prefix=/usr \
|
2020-11-03 19:49:45 +00:00
|
|
|
--buildtype=plain \
|
2021-09-08 12:14:03 +02:00
|
|
|
--wrap-mode nodownload \
|
|
|
|
-D b_lto=true \
|
|
|
|
-D b_pie=true \
|
2021-01-23 18:31:31 +00:00
|
|
|
-D mobile_broadband_provider_info=false \
|
2022-03-27 13:48:04 +02:00
|
|
|
-D gtk_doc=false
|
2020-11-03 19:49:45 +00:00
|
|
|
meson compile -C build
|
2020-03-19 15:30:33 +00:00
|
|
|
DESTDIR=$PKG meson install -C build
|
2022-03-27 13:48:04 +02:00
|
|
|
|
|
|
|
rm -r $PKG/usr/share/locale
|
2020-03-19 15:30:33 +00:00
|
|
|
}
|