summaryrefslogtreecommitdiff
path: root/net-libs/gupnp
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-07-08 04:18:34 +0100
committerV3n3RiX <venerix@koprulu.sector>2023-07-08 04:18:34 +0100
commitd84be18029b166ee26fe5416098974a8d05b2983 (patch)
tree0fbc3087c3911f2ac23f738e4f43fcc77cc40386 /net-libs/gupnp
parent4242446a1af7d38662da76b31d2e6254d64706ec (diff)
gentoo auto-resync : 08:07:2023 - 04:18:34
Diffstat (limited to 'net-libs/gupnp')
-rw-r--r--net-libs/gupnp/Manifest2
-rw-r--r--net-libs/gupnp/gupnp-1.6.4.ebuild77
2 files changed, 79 insertions, 0 deletions
diff --git a/net-libs/gupnp/Manifest b/net-libs/gupnp/Manifest
index d9d48259f4a1..e359b8a82554 100644
--- a/net-libs/gupnp/Manifest
+++ b/net-libs/gupnp/Manifest
@@ -1,5 +1,7 @@
DIST gupnp-1.4.3.tar.xz 154812 BLAKE2B b41a8805853061399412f5eb7267e9913adb3054ebf8a3bd78f6df4c1607d4a944654f3bc6e154fefa98f1289a80055d0feb0168801d83a1ad59c25f5fcac784 SHA512 1963ce917458168c8bc5d669ee30a4071d83d3768ce1be8cbbd81c767853ca01950623a88628a0b1e403d1cce1f0bbc9df80acf4b75f91bfc0403e0d0e6bcedb
DIST gupnp-1.6.3.tar.xz 2216496 BLAKE2B 635aafa78f8cb7b9542eab14545864a93d5fe01296444397ddb1d1868d51c9bb8013e17e659dce550581f7ae9cbc31a74fb30563d1961b341c3f672390d08f6a SHA512 423605e15dafb1f3789910289604912212a04595bad174654cce5b7717ab0d307ad7e021fc8f0ce59fb090d285fbcf633de63dc40c5f6cebad6a28553a5d6f17
+DIST gupnp-1.6.4.tar.xz 242944 BLAKE2B 485052a7f6448b8a09767987aaf679ee5a5946557ef49e402b94d05218fcedf646a45e89f670a1bce5b54951aeb85f327dfdc7094b22d8e02cff27551fad2ea3 SHA512 00fe34960f366f69915f3627637905d3a32d1a2757155f16f67fd434601106b38368a5e28c8f13dc57030e4fcf74755e5149f7e36b6a4a4abe6fe12a41034333
EBUILD gupnp-1.4.3.ebuild 2219 BLAKE2B d53e8ca34548f02b0f4677e0bdedd20531bfb9241abbdc9f5aa1ffbfcb3f227d4ff2dbd3716984d3c51f5ce3c9d9aeaa6a2541e0d98b1fd97f4435dca0b9f4f6 SHA512 2cb909e5c68bb34d067393724daa1b15a06a9a15fdd34b3977317553eed9c42e666193cffa4e6f7b2f1dfea92f18dde771242f16b35b6e240522e59faf971af0
EBUILD gupnp-1.6.3.ebuild 2294 BLAKE2B c634fc67d9e0354b7de70d6a3f39d9b1744b731c0fd0cb64b80e01ef89932e766dfc196d3f85484e7f1af7c1c1c8f7611319cb05ae5447ba27fbd1d393a9edae SHA512 6bc932d0d5e5dc35dd7082490a77ef4534a699257e1f2ca75d0dc286a967eb929e62a52db1a4afc9f9621e3e8647855ae714e6020b1cbea531b2d8297866da82
+EBUILD gupnp-1.6.4.ebuild 2299 BLAKE2B adb3fdea8a176e69bb0290499d4163f14894ef176ff667f3b2e94ebc74c3165fc6064c6b4b72a5e758abae0c050b590eef9be4882fd0e7746f9a35a401162f36 SHA512 397a21666fbd618901d97f95fc41b905acb2d196e452c7f99041fe2c153d6e8330bc6ef54fb59a356ee3fdb8aab49d10e6bd950d091e913c4b7400a67ffcd892
MISC metadata.xml 346 BLAKE2B c0c2d7c5a0f1906cc1789a30daec476919e7332f2a8aed9ec78e824be2776e7a18202b8fe19e519340cc9437d4147e223eb6830460c2a4c499cd483c77524cd5 SHA512 84998e9f5ebf374d1bfea85f7eb4b89f8459ee62ec89dc8b9bd36de354a307ad854cd7521eecd31b410659d5128a4dd9545ab7037eb5b7f8b41efdb8054b9b2c
diff --git a/net-libs/gupnp/gupnp-1.6.4.ebuild b/net-libs/gupnp/gupnp-1.6.4.ebuild
new file mode 100644
index 000000000000..65a1aa08e3f7
--- /dev/null
+++ b/net-libs/gupnp/gupnp-1.6.4.ebuild
@@ -0,0 +1,77 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..12} )
+PYTHON_REQ_USE="xml(+)"
+
+inherit gnome.org meson-multilib python-single-r1 vala xdg
+
+DESCRIPTION="An object-oriented framework for creating UPnP devs and control points"
+HOMEPAGE="https://wiki.gnome.org/Projects/GUPnP https://gitlab.gnome.org/GNOME/gupnp"
+
+LICENSE="LGPL-2+ GPL-2+" # gupnp-binding-tool is GPL-2+
+SLOT="1.6/1.6-0" # <API version>-<soname>
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86"
+
+IUSE="connman gtk-doc +introspection networkmanager +vala"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}
+ ?? ( connman networkmanager )
+ gtk-doc? ( introspection )
+"
+
+# prefix: uuid dependency can be adapted to non-linux platforms
+RDEPEND="${PYTHON_DEPS}
+ >=dev-libs/glib-2.70:2[${MULTILIB_USEDEP}]
+ >=net-libs/gssdp-1.6.2:1.6=[introspection?,${MULTILIB_USEDEP}]
+ >=dev-libs/libxml2-2.9.1-r4[${MULTILIB_USEDEP}]
+ >=net-libs/libsoup-2.99.0:3.0[introspection?,${MULTILIB_USEDEP}]
+ >=sys-apps/util-linux-2.24.1-r3[${MULTILIB_USEDEP}]
+ introspection? ( >=dev-libs/gobject-introspection-1.54:= )
+"
+DEPEND="${RDEPEND}"
+BDEPEND="
+ dev-util/glib-utils
+ gtk-doc? ( >=dev-util/gi-docgen-2021.1 )
+ dev-libs/libxslt
+ app-text/docbook-xsl-stylesheets
+ virtual/pkgconfig
+ !connman? ( !networkmanager? ( kernel_linux? ( sys-kernel/linux-headers ) ) )
+ vala? ( $(vala_depend)
+ >=net-libs/gssdp-1.5.2:1.6[vala]
+ net-libs/libsoup:3.0[vala]
+ )
+"
+
+src_prepare() {
+ default
+ use vala && vala_setup
+
+ # This makes sense for upstream but not for us downstream, bug #906124.
+ sed -i -e '/-Werror=deprecated-declarations/d' meson.build || die
+}
+
+multilib_src_configure() {
+ local backend=system
+ use kernel_linux && backend=linux
+ use connman && backend=connman
+ use networkmanager && backend=network-manager
+
+ local emesonargs=(
+ -Dcontext_manager=${backend}
+ $(meson_native_use_bool introspection)
+ $(meson_native_use_bool vala vapi)
+ $(meson_native_use_bool gtk-doc gtk_doc)
+ -Dexamples=false
+ )
+ meson_src_configure
+}
+
+multilib_src_install_all() {
+ python_fix_shebang "${ED}"/usr/bin/gupnp-binding-tool-1.6
+ if use gtk-doc ; then
+ mkdir "${ED}"/usr/share/gtk-doc || die
+ mv "${ED}"/usr/share/{doc,gtk-doc}/gupnp-1.6 || die
+ fi
+}