summaryrefslogtreecommitdiff
path: root/net-libs/gssdp
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/gssdp
parent275074c50dca7b941cc7cd7966a2ace71c29ecae (diff)
gentoo auto-resync : 06:10:2022 - 19:22:30
Diffstat (limited to 'net-libs/gssdp')
-rw-r--r--net-libs/gssdp/Manifest2
-rw-r--r--net-libs/gssdp/gssdp-1.6.0.ebuild68
2 files changed, 70 insertions, 0 deletions
diff --git a/net-libs/gssdp/Manifest b/net-libs/gssdp/Manifest
index 95273bd41d8d..8114cd569f04 100644
--- a/net-libs/gssdp/Manifest
+++ b/net-libs/gssdp/Manifest
@@ -1,3 +1,5 @@
DIST gssdp-1.4.0.1.tar.xz 1229264 BLAKE2B b94e46c79ad0615f976bad4b8efe9dbcaa27105b3189ee23ff349002d175ff83b0a9507846a23f0d8b5ed1e98381658f863a77bec6beff83933ebae5458a6b0e SHA512 c2132b27f49071941be1ad9bd1e642b8b82341aac7e10b87d8a9a0ed3d88759ab6730a4a05ddb904af5e0799602c470b9e83a987c72ec3c1444b7aaef0e36ad8
+DIST gssdp-1.6.0.tar.xz 1232568 BLAKE2B f9c76a867d77f19dbb5f3c8e58177884ebe32a822793dcfdbc12c7a3e80aea5eb56e3212fbf0949535bbf5d1b4eb51a0696c3fbf8c50fce33c9616d94b97d28a SHA512 ad631a869059be06521f093f578228a1c51c7df1eb1be0cf1d2e09ed769c639119565f5af4e252deb336a7edb8d500e6d391b72bb0fd870abd2485874f9f1d8f
EBUILD gssdp-1.4.0.1.ebuild 1564 BLAKE2B 9c8ee9713318d5f7999ad7dcab16b57a8e13a5902a10a3a79f75c391bbdc81c72ac60f93c7495136903d487f3667cd0d43615793e5a854a10af0b815a0992271 SHA512 ae40c74510b40291473899f956a101af41fe39ec6ad42c1719e609e1a7c768dfe6e644c35f4776e2fc3c129a8dd55d95f6464f469841d796b0697695670031ea
+EBUILD gssdp-1.6.0.ebuild 1836 BLAKE2B 27b1c8a2fe6396510bf3d2dfe6ed93bb6f5daf930acb3c07b7a07c9d52f3c6cb89cdea1c860cfcec21eb6b9c17fc66cd8bcbcfad74d471d67509900fd9ffd799 SHA512 03ee9da62cfb37a95a50170c3f1c82182a010c1ca6d46fb7826d3cd3eb610fe1c0b89a1cede15c71fde8fe1249261cbd8573141f33490ac7482e41c846c48a2f
MISC metadata.xml 250 BLAKE2B 8f7f0fe023d43e380e7861e897e6afcb5de4baefb42ea9c65a57dfc0d204c6f787a99295141832e732ebb08be218da56ba77e2dd9639e4e3aabf718ce4db1d0c SHA512 2684e772dd6d83e4b49f08f2ba22d8a0a753e7b46863489eff1b5d1f2f147ad80ffd93245ca405ac4c747249bc1b754454ec9865fe16da70f9b257051e105fd8
diff --git a/net-libs/gssdp/gssdp-1.6.0.ebuild b/net-libs/gssdp/gssdp-1.6.0.ebuild
new file mode 100644
index 000000000000..7adc3af3d1b9
--- /dev/null
+++ b/net-libs/gssdp/gssdp-1.6.0.ebuild
@@ -0,0 +1,68 @@
+# Copyright 1999-2022 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 ~ia64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86"
+IUSE="gtk gtk-doc +introspection +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.69: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:= )
+ >=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 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/gssdp-1.6/{reference,html} || die
+ mv "${ED}"/usr/share/{doc,gtk-doc}/gssdp-1.6 || die
+ fi
+ rm "${ED}"/usr/bin/gssdp-device-sniffer || die # because of file collision with slot 0
+}