New package: libnma-1.8.30

This commit is contained in:
cinerea0 2020-10-06 09:06:34 -04:00 committed by Michael Aldridge
parent 2a3ec8f592
commit 92d75be63d
3 changed files with 43 additions and 0 deletions

View File

@ -2984,6 +2984,7 @@ liblz.so.1 lzlib-1.8_1
libelogind.so.0 libelogind-238.1_2
libseat.so.1 libseat-0.3.0_1
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

1
srcpkgs/libnma-devel Symbolic link
View File

@ -0,0 +1 @@
libnma

41
srcpkgs/libnma/template Normal file
View File

@ -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 <cinerea0@protonmail.com>"
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
}
}