From 3dc570ce92c22b51a79b7415046fbcb76de86fe6 Mon Sep 17 00:00:00 2001 From: cinerea0 Date: Mon, 5 Oct 2020 22:28:59 -0400 Subject: [PATCH 1/2] New package: libnma-1.8.30 --- srcpkgs/libnma-devel | 1 + srcpkgs/libnma/template | 41 +++++++++++++++++++++++++++++++++++++++++ 2 files changed, 42 insertions(+) create mode 120000 srcpkgs/libnma-devel create mode 100644 srcpkgs/libnma/template diff --git a/srcpkgs/libnma-devel b/srcpkgs/libnma-devel new file mode 120000 index 00000000000..21c1b5b0b03 --- /dev/null +++ b/srcpkgs/libnma-devel @@ -0,0 +1 @@ +libnma \ No newline at end of file diff --git a/srcpkgs/libnma/template b/srcpkgs/libnma/template new file mode 100644 index 00000000000..c6c0aba1901 --- /dev/null +++ b/srcpkgs/libnma/template @@ -0,0 +1,41 @@ +# Template file for 'libnma' +pkgname=libnma +version=1.8.30 +revision=1 +build_style=meson +build_helper="gir" +hostmakedepends="gettext glib-devel gtk-doc pkg-config vala" +makedepends="gcr-devel gtk+3-devel iso-codes + mobile-broadband-provider-info NetworkManager-devel" +depends="NetworkManager iso-codes" +short_desc="NetworkManager panel applet for GNOME - runtime library" +maintainer="cinerea0 " +license="GPL-2.0-only, LGPL-2.1-or-later" +homepage="https://gitlab.gnome.org/GNOME/libnma" +distfiles="${GNOME_SITE}/${pkgname}/${version%.*}/${pkgname}-${version}.tar.xz" +checksum=da33e72a49e07d855d97a52aa9a8962a4c96f52b9168c4e0027117ad8ffdafb4 + +if [ "$CROSS_BUILD" ]; then + configure_args+="-Dgtk_doc=false" + hostmakedepends+=" libnma-devel" +fi + +post_install() { + if [ "$CROSS_BUILD" ]; then + vmkdir usr/share/gtk-doc/html 0755 + vcopy /usr/share/gtk-doc/html/libnma usr/share/gtk-doc/html + fi +} + +libnma-devel_package() { + short_desc+=" - library development files" + depends="${sourcepkg}>=${version}_${revision} NetworkManager-devel" + pkg_install() { + vmove "usr/lib/*.so" + vmove usr/lib/pkgconfig + vmove usr/include + vmove usr/share/gir-1.0 + vmove usr/share/vala + vmove usr/share/gtk-doc + } +} From 552d5779249ac06d09b53cf6492c7f778a2f5fb8 Mon Sep 17 00:00:00 2001 From: cinerea0 Date: Mon, 5 Oct 2020 22:30:06 -0400 Subject: [PATCH 2/2] common/shlibs: change source of libnma --- common/shlibs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/shlibs b/common/shlibs index 36efd174d6b..91635660be4 100644 --- a/common/shlibs +++ b/common/shlibs @@ -2981,7 +2981,7 @@ libstilview.so.0 libsidplayfp-1.8.7_1 libczmq.so.4 czmq-4.0.1_1 liblz.so.1 lzlib-1.8_1 libelogind.so.0 libelogind-238.1_2 -libnma.so.0 libnm-gtk-1.4.0_1 +libnma.so.0 libnma-1.8.30_1 libgspell-1.so.2 gspell-1.8.0_1 libotf.so.1 libotf-0.9.16_1 libimagequant.so.0 libimagequant-2.8.2_1