30 lines
927 B
Plaintext
30 lines
927 B
Plaintext
# Description: Networkmanager GUI client library
|
|
# URL: https://gitlab.gnome.org/GNOME/libnma
|
|
# Maintainer: Tim Biermann, tbier at posteo dot de
|
|
# Depends on: gcr gtk3 iso-codes networkmanager
|
|
# Optional: gtk4 mobile-broadband-provider-info vala
|
|
|
|
name=libnma
|
|
version=1.10.6
|
|
release=2
|
|
source=(https://gitlab.gnome.org/GNOME/libnma/-/archive/$version/libnma-$version.tar.bz2)
|
|
|
|
build() {
|
|
prt-get isinst gtk4 && PKGMK_LIBNMA+=' -D libnma_gtk4=true'
|
|
prt-get isinst mobile-broadband-provider-info || PKGMK_LIBNMA+=' -D mobile_broadband_provider_info=false'
|
|
#prt-get isinst vala || PKGMK_LIBNMA+=' -D vapi=false'
|
|
PKGMK_LIBNMA+=' -D vapi=false'
|
|
|
|
meson setup $name-$version build $PKGMK_LIBNMA \
|
|
--prefix=/usr \
|
|
--buildtype=plain \
|
|
--wrap-mode nodownload \
|
|
-D b_lto=true \
|
|
-D b_pie=true \
|
|
-D gtk_doc=false
|
|
meson compile -C build
|
|
DESTDIR=$PKG meson install -C build
|
|
|
|
rm -r $PKG/usr/share/locale
|
|
}
|