commit: 98028b2c930b6e0d6028bf52c499ec9d4a23bd43 Author: Matt Turner <mattst88 <AT> gentoo <DOT> org> AuthorDate: Tue Aug 17 06:09:43 2021 +0000 Commit: Matt Turner <mattst88 <AT> gentoo <DOT> org> CommitDate: Tue Aug 17 06:32:50 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=98028b2c
net-libs/gssdp: Version bump to 1.3.1 Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org> net-libs/gssdp/Manifest | 1 + net-libs/gssdp/gssdp-1.3.1.ebuild | 61 +++++++++++++++++++++++++++++++++++++++ 2 files changed, 62 insertions(+) diff --git a/net-libs/gssdp/Manifest b/net-libs/gssdp/Manifest index bfed0a658c1..339a7f98ba4 100644 --- a/net-libs/gssdp/Manifest +++ b/net-libs/gssdp/Manifest @@ -1,2 +1,3 @@ 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 diff --git a/net-libs/gssdp/gssdp-1.3.1.ebuild b/net-libs/gssdp/gssdp-1.3.1.ebuild new file mode 100644 index 00000000000..a71c9b505b2 --- /dev/null +++ b/net-libs/gssdp/gssdp-1.3.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 ~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 +}