commit: 8c42b14134370b4f50fc39a354563fdf151c43b6 Author: Cristian Othón Martínez Vera <cfuga <AT> cfuga <DOT> mx> AuthorDate: Thu Jul 31 22:47:31 2025 +0000 Commit: Pacho Ramos <pacho <AT> gentoo <DOT> org> CommitDate: Mon Aug 4 08:17:40 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8c42b141
net-libs/gssdp: add 1.6.4 Signed-off-by: Cristian Othón Martínez Vera <cfuga <AT> cfuga.mx> Part-of: https://github.com/gentoo/gentoo/pull/43280 Signed-off-by: Pacho Ramos <pacho <AT> gentoo.org> net-libs/gssdp/Manifest | 1 + net-libs/gssdp/gssdp-1.6.4.ebuild | 72 +++++++++++++++++++++++++++++++++++++++ 2 files changed, 73 insertions(+) diff --git a/net-libs/gssdp/Manifest b/net-libs/gssdp/Manifest index d321e322869c..9e0162933cf1 100644 --- a/net-libs/gssdp/Manifest +++ b/net-libs/gssdp/Manifest @@ -1,3 +1,4 @@ DIST gssdp-1.4.0.1.tar.xz 1229264 BLAKE2B b94e46c79ad0615f976bad4b8efe9dbcaa27105b3189ee23ff349002d175ff83b0a9507846a23f0d8b5ed1e98381658f863a77bec6beff83933ebae5458a6b0e SHA512 c2132b27f49071941be1ad9bd1e642b8b82341aac7e10b87d8a9a0ed3d88759ab6730a4a05ddb904af5e0799602c470b9e83a987c72ec3c1444b7aaef0e36ad8 DIST gssdp-1.4.1.tar.xz 2078300 BLAKE2B e83baf5c8f8befe6620bdde4aa184a6a3164fe830fc6e17277cb3dcfacd75fdfeddf26411d714404f09b7b0ca563555466ac677b9ead55b7ca3190b541b35b70 SHA512 ffb1767a9b3f6ac687a774e6b679eac47dd6f75ff6090b9c9593796f36a47bea16e4d7205bcf99d7a187692440f166c38ef48375c890d49e012b2c96deb24878 DIST gssdp-1.6.3.tar.xz 108080 BLAKE2B f9deddf2b221eda9c3d7a6e6fa78cfb6388d3f3549caf166ebf7ac41f6edf39b8bc2521838ae5d954c743f844d5e7ba28b50f5a7beb6b2d70241782275c50fe4 SHA512 e5c9851032538cf093ed8c34a71c5d171eafb2edc5d3f3f5f0284005d4b1cca29ffca34b7f7d38b4a68a86c9bd888dd7a5a8e758dbd926bc4b4c995ea0b1110b +DIST gssdp-1.6.4.tar.xz 1148284 BLAKE2B ccad47fc932e8c0ade2f6a9b48137b53351f6e2b84a4bcea7ca932bb403e6f6d35c091f175f0596c171d0163934e653722d50710da16dcc684898c1f77114fda SHA512 822cfe7bb0ba7e0be0591118487baff6280c9af59b6b3f0f726105c72cd8e9d5503bcb90dc1fc8cdc0ab2d8af9ba001662abb0caa5ce5ccc9fc84aad5c4a98f3 diff --git a/net-libs/gssdp/gssdp-1.6.4.ebuild b/net-libs/gssdp/gssdp-1.6.4.ebuild new file mode 100644 index 000000000000..f1d1b7ddd728 --- /dev/null +++ b/net-libs/gssdp/gssdp-1.6.4.ebuild @@ -0,0 +1,72 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit gnome.org meson-multilib vala xdg + +DESCRIPTION="GObject-based API for handling resource discovery and announcement over SSDP" +HOMEPAGE="https://wiki.gnome.org/Projects/GUPnP https://gitlab.gnome.org/GNOME/gssdp" + +LICENSE="LGPL-2+" +SLOT="1.6/1.6-0" # <API version>-<soname> +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86" +IUSE="gtk gtk-doc +introspection man +vala" +REQUIRED_USE=" + gtk-doc? ( introspection ) + vala? ( introspection ) +" + +# has file collision with Slot 0 (/usr/bin/gssdp-device-sniffer), so we remove that from this build +# and depend on the other slot that has the file as well +RDEPEND=" + >=dev-libs/glib-2.70:2[${MULTILIB_USEDEP}] + >=net-libs/libsoup-2.99.0:3.0[${MULTILIB_USEDEP},introspection?] + gtk? ( gui-libs/gtk:4 ) + introspection? ( >=dev-libs/gobject-introspection-1.54:= ) + man? ( virtual/pandoc ) + >=net-libs/gssdp-1.4:0 +" +DEPEND="${RDEPEND}" +BDEPEND=" + gtk-doc? ( + >=dev-util/gi-docgen-2021.1 + app-text/docbook-xml-dtd:4.1.2 + ) + virtual/pkgconfig + vala? ( + $(vala_depend) + net-libs/libsoup:3.0[vala] + ) +" + +src_prepare() { + default + use vala && vala_setup +} + +multilib_src_configure() { + local emesonargs=( + # Never use gi-docgen subproject + --wrap-mode nofallback + + $(meson_native_use_bool gtk-doc gtk_doc) + $(meson_native_use_bool gtk sniffer) + $(meson_native_use_bool introspection) + $(meson_native_use_bool man manpages) + $(meson_native_use_bool vala vapi) + -Dexamples=false + ) + meson_src_configure +} + +multilib_src_install_all() { + if use gtk-doc ; then + mkdir "${ED}"/usr/share/gtk-doc || die + mv "${ED}"/usr/share/{doc,gtk-doc}/gssdp-1.6 || die + fi + + if use gtk; then + rm "${ED}"/usr/bin/gssdp-device-sniffer || die # because of file collision with slot 0 + fi +}
