summaryrefslogtreecommitdiff
path: root/net-libs/libnma
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2022-11-10 21:28:32 +0000
committerV3n3RiX <venerix@koprulu.sector>2022-11-10 21:28:32 +0000
commitc020d9e9432cd0e36fe47ad14216d6048adb49fc (patch)
tree7c3c3aed7d27733e3ad6d8f8f017244169c20772 /net-libs/libnma
parent0d0e3e0adedd9f237ceea9e95cbd0ed29a4576d4 (diff)
gentoo auto-resync : 10:11:2022 - 21:28:32
Diffstat (limited to 'net-libs/libnma')
-rw-r--r--net-libs/libnma/Manifest2
-rw-r--r--net-libs/libnma/libnma-1.10.4.ebuild75
2 files changed, 77 insertions, 0 deletions
diff --git a/net-libs/libnma/Manifest b/net-libs/libnma/Manifest
index d1c073d44f8e..20c0fec348cc 100644
--- a/net-libs/libnma/Manifest
+++ b/net-libs/libnma/Manifest
@@ -1,5 +1,7 @@
DIST libnma-1.10.2.tar.xz 1360128 BLAKE2B 8caff2baaf1d7e0cb7a6cefee4917b5f294517cc3ee22446f0bbea0301664969bdf43d10fcdf15e938bdae07467ad0a048687e61c3c494c4f042a1f6800d5745 SHA512 f8ac5f73ee8bc918325d2beec3e1eea61fed18110103ba9c3eb21da02fbd054895aa5ce332942a9113bb4860d59958dbf9c3b91885663b6225daec25cadf7458
+DIST libnma-1.10.4.tar.xz 1351932 BLAKE2B 0178407d04fed680b260ea7e4615f0d939483504209b4bc721e2a4fe49ecbf49d9ffde0476b4352973cda9de4f088ac50d557c12f67d970f21031c1741f692e3 SHA512 4fe0d6b0e5b3c1bd7654e03dce747ee390de76d6641eb317fecb901ed6768bf48785e4a99e6fc8f12864066d06a64e308a8dbb2081a2d57e3f1509ca712deccc
DIST libnma-1.8.40.tar.xz 1350560 BLAKE2B 9c5124a1dcaa801c7d0135ef64dedccd098988fdd199938e2409e80bee86df71bf368cada113dceae4046a5c2c5fe954aa9fc0c19519721a4e8ec7b8f7ea8d44 SHA512 28f4704f97941308f43b27a309fd14050e8ac7e0c6665cada3cc08a759e140f043a80b21ccfe02ce348f8490cad8107b4fe27026dbaafed46ec1c7c46824e3b8
EBUILD libnma-1.10.2.ebuild 1721 BLAKE2B 14a05fbb74d4715e5331958c10201f935c6c00046446219bfd96d1c4f58d66dca25223a2fe4ae5bbff6bb58763630e4f34893c06f4854af5e2358d7166a5c673 SHA512 92091ba63532ed46bdcb43b2827a550b7aadc00f54eeb50c536b2d5e7d0aa7c7f3957b5b694d9e06429dbe21b3a54f8e2db2085bd9d2d5deb32f250699a9c2cd
+EBUILD libnma-1.10.4.ebuild 1779 BLAKE2B 562d5c55285df7911789d00604001b1411a57d7e98b42a54f9fd499c4d1df0a24ccb6200c6ed8aa9b1a6a23e639d45a9f16621b15136246443c21e097ec9403c SHA512 ff1d4013c5464bd1569df5c649e70d1960eb1f8cd6581e9c24c13e2a4ea2094460c844c060889338370be7ab7d94f10fe1c7fa9246494a85d2a6f790927a1c89
EBUILD libnma-1.8.40-r1.ebuild 1682 BLAKE2B 5f43c3715201f41b473902dca9cbcbf998b198b4148bff0469109de04a59cd0d58f5a170a055104225a3079cedc566f63b7c9c061d63bc0ab8df20d22864c7dd SHA512 7bb061ad2e9e508b1f3adcb270d9e2217d48d5116fb17fa906f07596c9ea8de434903e9970eaa11812d787166acbf8de6c482234b8ba8a1590231e2b83456725
MISC metadata.xml 470 BLAKE2B 634b69ece62b9f3f8aa9e82b1df56009823dffd8dd45a46b6ac58c3580179c7c6c87965c8da5d653188e81bfbe5c26c956d15181d23f23ec17b468ba3b585cbd SHA512 a15b193fd01eda0a1408af3ad93660ed7cf859e3837e8e83c5c76031cf50aa3634e8a4d2a47f8db8c311cb36b1eb2fb8a89f8c7adfb9fd6d596eb6e9e5e8bea6
diff --git a/net-libs/libnma/libnma-1.10.4.ebuild b/net-libs/libnma/libnma-1.10.4.ebuild
new file mode 100644
index 000000000000..965eae62dbe5
--- /dev/null
+++ b/net-libs/libnma/libnma-1.10.4.ebuild
@@ -0,0 +1,75 @@
+# 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"
+
+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-4.0.0:4 )
+ 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
+ -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
+}
+
+src_install() {
+ meson_src_install
+ rm "${D}/usr/share/glib-2.0/schemas/org.gnome.nm-applet.gschema.xml" || die
+}
+
+pkg_postinst() {
+ xdg_pkg_postinst
+ gnome2_schemas_update
+}
+
+pkg_postrm() {
+ xdg_pkg_postrm
+ gnome2_schemas_update
+}