summaryrefslogtreecommitdiff
path: root/net-libs/libnma
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2022-10-06 19:22:30 +0100
committerV3n3RiX <venerix@koprulu.sector>2022-10-06 19:22:30 +0100
commit744892aecb5cdf9ca0bbe504f7bbcdfb87b518fc (patch)
tree0b99b178b866e693a85d013eb47de3d1236e35b8 /net-libs/libnma
parent275074c50dca7b941cc7cd7966a2ace71c29ecae (diff)
gentoo auto-resync : 06:10:2022 - 19:22:30
Diffstat (limited to 'net-libs/libnma')
-rw-r--r--net-libs/libnma/Manifest2
-rw-r--r--net-libs/libnma/libnma-1.10.2.ebuild71
2 files changed, 73 insertions, 0 deletions
diff --git a/net-libs/libnma/Manifest b/net-libs/libnma/Manifest
index d9e76b4211b2..66c0e2aad7a7 100644
--- a/net-libs/libnma/Manifest
+++ b/net-libs/libnma/Manifest
@@ -1,3 +1,5 @@
+DIST libnma-1.10.2.tar.xz 1360128 BLAKE2B 8caff2baaf1d7e0cb7a6cefee4917b5f294517cc3ee22446f0bbea0301664969bdf43d10fcdf15e938bdae07467ad0a048687e61c3c494c4f042a1f6800d5745 SHA512 f8ac5f73ee8bc918325d2beec3e1eea61fed18110103ba9c3eb21da02fbd054895aa5ce332942a9113bb4860d59958dbf9c3b91885663b6225daec25cadf7458
DIST libnma-1.8.40.tar.xz 1350560 BLAKE2B 9c5124a1dcaa801c7d0135ef64dedccd098988fdd199938e2409e80bee86df71bf368cada113dceae4046a5c2c5fe954aa9fc0c19519721a4e8ec7b8f7ea8d44 SHA512 28f4704f97941308f43b27a309fd14050e8ac7e0c6665cada3cc08a759e140f043a80b21ccfe02ce348f8490cad8107b4fe27026dbaafed46ec1c7c46824e3b8
+EBUILD libnma-1.10.2.ebuild 1721 BLAKE2B 37dd13d348dc588925dcfc098836d787716be18bd0c90e17d8c6f355809b7c2cadfd57220c93e9e23d340ba7760dbcb5c1361e1dcab73b9837bc446d8d50a7dd SHA512 2e1375b5e8bb418248ddae36dee63f6c93c6e47572d9a716aabfee4b04631c6cb9309ae548f8e53f9918506c9b8b01e0663509e8304a695f000993f840a1174d
EBUILD libnma-1.8.40-r1.ebuild 1677 BLAKE2B 8e2724af9d54a25750fdd2030ec08affba4baba10a52c605e91404645f2e7efb080e030176bec64fc4efe924a2a31d363737ab272718d16e762a38a98c3b4c64 SHA512 b67c823b693333efebe8c5f1e05d4f4ef325ed8d6a0d95d4c6c7568e9666103558622a3bc08f84186e361da6ffeda9382cb1e2c3245453275c1ed135b5a55226
MISC metadata.xml 373 BLAKE2B 4107438e2ffa5c0e8a276745f518001ab71a5322ac3136fa2b23b1a767958f76c775ea551dd587877512ef18520926cbe74ebad8b36f9c2d4263645990ea3781 SHA512 488b3102778233f87a8fd06bf516ba31d62df2edd22dd9d556e7090483707c00ff12db7d2d372f396d9e5dda9d2f48a77415cf6de0e08c6279a541f43221d68d
diff --git a/net-libs/libnma/libnma-1.10.2.ebuild b/net-libs/libnma/libnma-1.10.2.ebuild
new file mode 100644
index 000000000000..ff4c545e7534
--- /dev/null
+++ b/net-libs/libnma/libnma-1.10.2.ebuild
@@ -0,0 +1,71 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit gnome.org gnome2-utils meson xdg vala
+
+DESCRIPTION="NetworkManager GUI library"
+HOMEPAGE="https://wiki.gnome.org/Projects/NetworkManager https://gitlab.gnome.org/GNOME/libnma"
+
+LICENSE="GPL-2+"
+SLOT="0"
+# pkcs11 default enabled as it's a small dep often already present by libnma users, and it was default enabled as IUSE=+gcr in nm-applet before
+IUSE="gtk-doc +introspection +pkcs11 vala"
+REQUIRED_USE="vala? ( introspection )"
+KEYWORDS="~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86"
+
+DEPEND="
+ >=gui-libs/gtk-4.0:4
+ app-text/iso-codes
+ net-misc/mobile-broadband-provider-info
+ >=dev-libs/glib-2.38:2
+ >=x11-libs/gtk+-3.12:3[introspection?]
+ >=net-misc/networkmanager-1.7[introspection?]
+ pkcs11? ( >=app-crypt/gcr-3.14:0= )
+ introspection? ( >=dev-libs/gobject-introspection-1.56:= )
+"
+RDEPEND="${DEPEND}
+ !<gnome-extra/nm-applet-1.16.0" # gschema moved to here before nm-applet-1.16.0
+BDEPEND="
+ dev-libs/libxml2
+ >=sys-devel/gettext-0.19.8
+ virtual/pkgconfig
+ gtk-doc? ( dev-util/gtk-doc
+ app-text/docbook-xml-dtd:4.3 )
+ vala? ( $(vala_depend)
+ net-misc/networkmanager[vala]
+ )
+"
+
+src_prepare() {
+ default
+ use vala && vala_setup
+ xdg_environment_reset
+}
+
+src_configure() {
+ local emesonargs=(
+ -Dlibnma_gtk4=true
+ $(meson_use pkcs11 gcr)
+ -Dmore_asserts=0
+ -Dgcr_gtk4=false
+ -Diso_codes=true
+ -Dmobile_broadband_provider_info=true
+ -Dld_gc=false
+ $(meson_use gtk-doc gtk_doc)
+ $(meson_use introspection)
+ $(meson_use vala vapi)
+ )
+ meson_src_configure
+}
+
+pkg_postinst() {
+ xdg_pkg_postinst
+ gnome2_schemas_update
+}
+
+pkg_postrm() {
+ xdg_pkg_postrm
+ gnome2_schemas_update
+}