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
|
2021-08-21 23:41:16 +02:00
|
|
|
# Depends on: gcr iso-codes networkmanager
|
2020-03-19 15:30:33 +00:00
|
|
|
|
|
|
|
name=libnma
|
2021-08-21 23:41:16 +02:00
|
|
|
version=1.8.32
|
2021-09-08 12:14:03 +02:00
|
|
|
release=2
|
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() {
|
2020-11-03 19:49:45 +00:00
|
|
|
# don't build nls
|
|
|
|
rm -r $name-$version/po
|
|
|
|
sed -e '298d' -i $name-$version/meson.build
|
|
|
|
|
|
|
|
meson setup $name-$version build \
|
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 \
|
|
|
|
-D gtk_doc=false \
|
|
|
|
-D vapi=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
|
|
|
|
}
|