summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatt Turner <mattst88@gentoo.org>2021-12-18 18:10:31 -0500
committerMatt Turner <mattst88@gentoo.org>2021-12-18 18:39:08 -0500
commit8bda3f2e40314b22e187e8f7799b56a2dd894c67 (patch)
treea12c6dd361e9723bad1d19e83d2834a0a45121af /net-libs/gssdp
parentmedia-libs/gupnp-dlna: Version bump to 0.12.0 (diff)
downloadgentoo-8bda3f2e40314b22e187e8f7799b56a2dd894c67.tar.gz
gentoo-8bda3f2e40314b22e187e8f7799b56a2dd894c67.tar.bz2
gentoo-8bda3f2e40314b22e187e8f7799b56a2dd894c67.zip
net-libs/gssdp: Version bump to 1.4.0.1
Signed-off-by: Matt Turner <mattst88@gentoo.org>
Diffstat (limited to 'net-libs/gssdp')
-rw-r--r--net-libs/gssdp/Manifest1
-rw-r--r--net-libs/gssdp/gssdp-1.4.0.1.ebuild61
2 files changed, 62 insertions, 0 deletions
diff --git a/net-libs/gssdp/Manifest b/net-libs/gssdp/Manifest
index 339a7f98ba4d..314c41a8d5d2 100644
--- a/net-libs/gssdp/Manifest
+++ b/net-libs/gssdp/Manifest
@@ -1,3 +1,4 @@
DIST gssdp-1.2.3.tar.xz 62032 BLAKE2B 761a9e0df8289a595d882497bdda6d180f19328d0e97076446286e34e7735d1b1d07fc0299618955f7d92732d11d533a59cf4012f5167c4610c9856583f06770 SHA512 abce2473995a996b0adc74ced77cb2158cc997ed70edb0c25fbddd85fe9e6afc6bf7f996bbba7a6ed5268dfbe9207ae12f2e6989efe2e8e10cc25293df347e82
DIST gssdp-1.3.0.tar.xz 1202916 BLAKE2B af771b4163c8671d1496cedabe5845eed0b12a8dd23aa226c61ca19ad1d83bca7d504ea36f9e8b09b5079373261043c121a8ac09a909f4430be0d5a5eaa995f1 SHA512 6004ee73898e5effb98dd78af116bf4b92735712f0237c57302ebbda82d77c1cfe182e0e6ef7a8c6defd7a66ac76531d0bff740d2a41cfba8ed365b88a539c85
DIST gssdp-1.3.1.tar.xz 1141580 BLAKE2B 3d43c1cf9bb9e418ac831b09579e6940540e0ab2124d1f75989648e39b03aec612898340511b2c965573973531adbe8f489d33447a85aac761dcbe8906325abb SHA512 b253c5bd38956a02fe1f4cd77d7c868a573c1a7e25115137ae0753c7dfdebc38cd7a3c3fee1520c1c091c60283d556f646b5c715e56f013b2fe209c63a994b56
+DIST gssdp-1.4.0.1.tar.xz 1229264 BLAKE2B b94e46c79ad0615f976bad4b8efe9dbcaa27105b3189ee23ff349002d175ff83b0a9507846a23f0d8b5ed1e98381658f863a77bec6beff83933ebae5458a6b0e SHA512 c2132b27f49071941be1ad9bd1e642b8b82341aac7e10b87d8a9a0ed3d88759ab6730a4a05ddb904af5e0799602c470b9e83a987c72ec3c1444b7aaef0e36ad8
diff --git a/net-libs/gssdp/gssdp-1.4.0.1.ebuild b/net-libs/gssdp/gssdp-1.4.0.1.ebuild
new file mode 100644
index 000000000000..c76385775f89
--- /dev/null
+++ b/net-libs/gssdp/gssdp-1.4.0.1.ebuild
@@ -0,0 +1,61 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="7"
+VALA_USE_DEPEND="vapigen"
+
+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="0/1.2-0" # <API version>-<soname>
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86"
+IUSE="gtk-doc +introspection gtk vala"
+REQUIRED_USE="vala? ( introspection )"
+
+RDEPEND="
+ >=dev-libs/glib-2.54:2[${MULTILIB_USEDEP}]
+ >=net-libs/libsoup-2.26.1:2.4[${MULTILIB_USEDEP},introspection?]
+ gtk? ( gui-libs/gtk:4 )
+ introspection? ( >=dev-libs/gobject-introspection-1.54:= )
+"
+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:2.4[vala]
+ )
+"
+
+src_prepare() {
+ use vala && vala_src_prepare
+ xdg_src_prepare
+}
+
+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
+ mv "${ED}"/usr/share/doc/{gssdp-1.2/reference,${PF}/html} || die
+ rmdir "${ED}"/usr/share/doc/gssdp-1.2
+ fi
+}