contrib/libnma/Pkgfile

28 lines
779 B
Plaintext
Raw Normal View History

2020-03-19 16:30:33 +01: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 16:30:33 +01:00
name=libnma
2023-01-11 21:50:30 +01:00
version=1.10.6
2022-01-22 12:35:56 +01:00
release=1
2020-06-20 19:13:04 +02:00
source=(https://gitlab.gnome.org/GNOME/libnma/-/archive/$version/libnma-$version.tar.bz2)
2020-03-19 16:30:33 +01: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 20:49:45 +01:00
2022-03-27 13:48:04 +02:00
meson setup $name-$version build $PKGMK_LIBNMA \
2020-03-19 16:30:33 +01:00
--prefix=/usr \
2020-11-03 20:49:45 +01: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 19:31:31 +01:00
-D mobile_broadband_provider_info=false \
2022-03-27 13:48:04 +02:00
-D gtk_doc=false
2020-11-03 20:49:45 +01:00
meson compile -C build
2020-03-19 16:30:33 +01:00
DESTDIR=$PKG meson install -C build
2022-03-27 13:48:04 +02:00
rm -r $PKG/usr/share/locale
2020-03-19 16:30:33 +01:00
}