public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: profiles/, net-libs/gssdp/
@ 2022-10-06 14:44 Matt Turner
  0 siblings, 0 replies; only message in thread
From: Matt Turner @ 2022-10-06 14:44 UTC (permalink / raw
  To: gentoo-commits

commit:     9b9c244c7c5611c550ff38dfdc748dcbf13ab8b6
Author:     Pascal Jäger <pascal.jaeger <AT> leimstift <DOT> de>
AuthorDate: Sun Oct  2 14:19:09 2022 +0000
Commit:     Matt Turner <mattst88 <AT> gentoo <DOT> org>
CommitDate: Thu Oct  6 14:43:53 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9b9c244c

net-libs/gssdp: Version bump to 1.6.0

Closes: https://github.com/gentoo/gentoo/pull/27472
Signed-off-by: Pascal Jäger <pascal.jaeger <AT> leimstift.de>
Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org>

 net-libs/gssdp/Manifest           |  1 +
 net-libs/gssdp/gssdp-1.6.0.ebuild | 68 +++++++++++++++++++++++++++++++++++++++
 profiles/package.mask             |  1 +
 3 files changed, 70 insertions(+)

diff --git a/net-libs/gssdp/Manifest b/net-libs/gssdp/Manifest
index 1d819981dcc0..d9cf515bb4c7 100644
--- a/net-libs/gssdp/Manifest
+++ b/net-libs/gssdp/Manifest
@@ -1 +1,2 @@
 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

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
+}

diff --git a/profiles/package.mask b/profiles/package.mask
index e097cb9434dc..d409a0ed3f98 100644
--- a/profiles/package.mask
+++ b/profiles/package.mask
@@ -481,6 +481,7 @@ sys-devel/automake:1.11
 >=mail-client/evolution-3.46
 >=mail-client/geary-43
 media-libs/libshumate
+>=net-libs/gssdp-1.6
 >=net-libs/gupnp-1.6
 net-libs/libsoup:3.0
 net-libs/rest:1.0


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2022-10-06 14:44 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-10-06 14:44 [gentoo-commits] repo/gentoo:master commit in: profiles/, net-libs/gssdp/ Matt Turner

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox