summaryrefslogtreecommitdiff
path: root/net-libs/gupnp
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-11-05 04:14:05 +0000
committerV3n3RiX <venerix@koprulu.sector>2023-11-05 04:14:05 +0000
commitd0f8b473674427ef4f618c94d4d132a7f79578e3 (patch)
tree93223ea01e707ca5a35db59c05af28845720773c /net-libs/gupnp
parent39ca6159b9ac903dc56818918d9f97bc831f0955 (diff)
gentoo auto-resync : 05:11:2023 - 04:14:05
Diffstat (limited to 'net-libs/gupnp')
-rw-r--r--net-libs/gupnp/Manifest2
-rw-r--r--net-libs/gupnp/gupnp-1.6.6.ebuild77
2 files changed, 79 insertions, 0 deletions
diff --git a/net-libs/gupnp/Manifest b/net-libs/gupnp/Manifest
index 48228edd5fda..7b15cf851c28 100644
--- a/net-libs/gupnp/Manifest
+++ b/net-libs/gupnp/Manifest
@@ -1,6 +1,8 @@
AUX gupnp-1.4.3-meson-1.2.0-fix.patch 280 BLAKE2B f1f9a4125ebb98949438beec3746c1b0752a4b6911f965b2bc5d4ed5057d891506b0b0b9a52cd7f1868f67c6ddcaa145676154653cde7af26035d609bb0dc9ef SHA512 27570f138d5256ca9e0801d1f43d6e8f3e6f965c95b9aad429babaf078f4bdc1311f51da8c7485fc7f7b6adb0da924eb177b6bfbfbc81e46e6821ccc3f923ab4
DIST gupnp-1.4.3.tar.xz 154812 BLAKE2B b41a8805853061399412f5eb7267e9913adb3054ebf8a3bd78f6df4c1607d4a944654f3bc6e154fefa98f1289a80055d0feb0168801d83a1ad59c25f5fcac784 SHA512 1963ce917458168c8bc5d669ee30a4071d83d3768ce1be8cbbd81c767853ca01950623a88628a0b1e403d1cce1f0bbc9df80acf4b75f91bfc0403e0d0e6bcedb
DIST gupnp-1.6.5.tar.xz 163380 BLAKE2B 92c29db56a0fe9596bb0c523fc31be0783d6cf95b1926868a6e8a5e95ed9e28aa04ddf0f6740681995244c5020cfddb9b8ab8aeaf2baeb622185aa3a76a2986e SHA512 c34def9accb0984e17298156b7d325eebd89cc0f0f9568740b15f20a05ce523c8f97b5cc98cee1245c0bdea0a5b4fe97878b810c3325239d87d7d577cd0742a5
+DIST gupnp-1.6.6.tar.xz 245860 BLAKE2B 9cf9bb4a61e224f74aff18fb4d4491f7e9cb36cf812709b74a8c08581954d82c3c6e59d2b46cac517685a0d191846fbdb6690ac79cebc77a26b6a7d1347f3ae0 SHA512 6721f7dfda273074255e1b418d244eba72a24976e1407fdbaf24fd15a8c15a7a6d389690131563aa1f3b15fdeefb2e100da494c04c6c8e29201d402f072fcbe6
EBUILD gupnp-1.4.3.ebuild 2281 BLAKE2B 3a31d438462a574fc1032eb9545609ff9284a22878fb7290ac929ab565ce7815e233c27e6389cabad9c0cc515afb18d2f2502aeb1f4cf78f490d6aa658d119fd SHA512 05c192f82dc24cc45e6e58b7c673cc1dd1326fb985fcf3a902b422ecc72848937ec2fa6b6501c7ef0856622f8c84178d39947baf3d37357f9d85bb044ca0c6ff
EBUILD gupnp-1.6.5.ebuild 2295 BLAKE2B 5cd3b1b0b034043c19d967f0ab1440e5642ed30a6ddbed0e12d27f415e5f7f580bb8edf3bc43307410458ba0d67efcaf268e5df2e4580fc427a1b0d2615046fd SHA512 31d4f5f15886acf5d1c98df9959983ccdb7bfa8a83acc19446fc123cd398b4c3d111eaab42f3f4a4dea455977320d0f6c62031e8d64c1ae0e0657ee88383a477
+EBUILD gupnp-1.6.6.ebuild 2299 BLAKE2B adb3fdea8a176e69bb0290499d4163f14894ef176ff667f3b2e94ebc74c3165fc6064c6b4b72a5e758abae0c050b590eef9be4882fd0e7746f9a35a401162f36 SHA512 397a21666fbd618901d97f95fc41b905acb2d196e452c7f99041fe2c153d6e8330bc6ef54fb59a356ee3fdb8aab49d10e6bd950d091e913c4b7400a67ffcd892
MISC metadata.xml 346 BLAKE2B c0c2d7c5a0f1906cc1789a30daec476919e7332f2a8aed9ec78e824be2776e7a18202b8fe19e519340cc9437d4147e223eb6830460c2a4c499cd483c77524cd5 SHA512 84998e9f5ebf374d1bfea85f7eb4b89f8459ee62ec89dc8b9bd36de354a307ad854cd7521eecd31b410659d5128a4dd9545ab7037eb5b7f8b41efdb8054b9b2c
diff --git a/net-libs/gupnp/gupnp-1.6.6.ebuild b/net-libs/gupnp/gupnp-1.6.6.ebuild
new file mode 100644
index 000000000000..65a1aa08e3f7
--- /dev/null
+++ b/net-libs/gupnp/gupnp-1.6.6.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
+}