diff options
author | Matt Turner <mattst88@gentoo.org> | 2022-12-16 14:44:36 -0500 |
---|---|---|
committer | Matt Turner <mattst88@gentoo.org> | 2022-12-16 14:44:41 -0500 |
commit | 44a8d705d012e5968c6ee8afacb476b8c5808e00 (patch) | |
tree | e6db4ec759724bfa5b60f6cd0affd9f031ef80fb /net-libs/gupnp | |
parent | net-misc/networkmanager: Version bump to 1.40.8 (diff) | |
download | gentoo-44a8d705d012e5968c6ee8afacb476b8c5808e00.tar.gz gentoo-44a8d705d012e5968c6ee8afacb476b8c5808e00.tar.bz2 gentoo-44a8d705d012e5968c6ee8afacb476b8c5808e00.zip |
net-libs/gupnp: Version bump to 1.6.3
Signed-off-by: Matt Turner <mattst88@gentoo.org>
Diffstat (limited to 'net-libs/gupnp')
-rw-r--r-- | net-libs/gupnp/Manifest | 1 | ||||
-rw-r--r-- | net-libs/gupnp/gupnp-1.6.3.ebuild | 74 |
2 files changed, 75 insertions, 0 deletions
diff --git a/net-libs/gupnp/Manifest b/net-libs/gupnp/Manifest index 8bf3903143c6..e4f2d67a4458 100644 --- a/net-libs/gupnp/Manifest +++ b/net-libs/gupnp/Manifest @@ -1,2 +1,3 @@ DIST gupnp-1.4.3.tar.xz 154812 BLAKE2B b41a8805853061399412f5eb7267e9913adb3054ebf8a3bd78f6df4c1607d4a944654f3bc6e154fefa98f1289a80055d0feb0168801d83a1ad59c25f5fcac784 SHA512 1963ce917458168c8bc5d669ee30a4071d83d3768ce1be8cbbd81c767853ca01950623a88628a0b1e403d1cce1f0bbc9df80acf4b75f91bfc0403e0d0e6bcedb DIST gupnp-1.6.2.tar.xz 2215220 BLAKE2B 457a334a6fe07c8038e83e63472809211751f4292a0ab176e61275d77ab904a91845bc2302dba6f320e3bc4dce5cef768489b81083e21a0cad0ed4961296aebd SHA512 52024295b86fa180cb8676541da8350cbba0758a19c90c26bc922cea68bb4584a5fc414915e73449ba10107492684edec25dcf60b1af203727c59944aa2cac34 +DIST gupnp-1.6.3.tar.xz 2216496 BLAKE2B 635aafa78f8cb7b9542eab14545864a93d5fe01296444397ddb1d1868d51c9bb8013e17e659dce550581f7ae9cbc31a74fb30563d1961b341c3f672390d08f6a SHA512 423605e15dafb1f3789910289604912212a04595bad174654cce5b7717ab0d307ad7e021fc8f0ce59fb090d285fbcf633de63dc40c5f6cebad6a28553a5d6f17 diff --git a/net-libs/gupnp/gupnp-1.6.3.ebuild b/net-libs/gupnp/gupnp-1.6.3.ebuild new file mode 100644 index 000000000000..79d707c25e9f --- /dev/null +++ b/net-libs/gupnp/gupnp-1.6.3.ebuild @@ -0,0 +1,74 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{8..11} ) +PYTHON_REQ_USE="xml(+)" + +inherit gnome.org meson-multilib python-single-r1 vala xdg + +DESCRIPTION="An object-oriented framework for creating UPnP devs and control points" +HOMEPAGE="https://wiki.gnome.org/Projects/GUPnP https://gitlab.gnome.org/GNOME/gupnp" + +LICENSE="LGPL-2+ GPL-2+" # gupnp-binding-tool is GPL-2+ +SLOT="1.6/1.6-0" # <API version>-<soname> +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86" + +IUSE="connman gtk-doc +introspection networkmanager +vala" +REQUIRED_USE="${PYTHON_REQUIRED_USE} + ?? ( connman networkmanager ) + gtk-doc? ( introspection ) +" + +# prefix: uuid dependency can be adapted to non-linux platforms +RDEPEND="${PYTHON_DEPS} + >=dev-libs/glib-2.70:2[${MULTILIB_USEDEP}] + >=net-libs/gssdp-1.6.2:1.6=[introspection?,${MULTILIB_USEDEP}] + >=dev-libs/libxml2-2.9.1-r4[${MULTILIB_USEDEP}] + >=net-libs/libsoup-2.99.0:3.0[introspection?,${MULTILIB_USEDEP}] + >=sys-apps/util-linux-2.24.1-r3[${MULTILIB_USEDEP}] + introspection? ( >=dev-libs/gobject-introspection-1.54:= ) +" +DEPEND="${RDEPEND}" +BDEPEND=" + dev-util/glib-utils + gtk-doc? ( >=dev-util/gi-docgen-2021.1 ) + dev-libs/libxslt + app-text/docbook-xsl-stylesheets + virtual/pkgconfig + !connman? ( !networkmanager? ( kernel_linux? ( sys-kernel/linux-headers ) ) ) + vala? ( $(vala_depend) + >=net-libs/gssdp-1.5.2:1.6[vala] + net-libs/libsoup:3.0[vala] + ) +" + +src_prepare() { + default + use vala && vala_setup +} + +multilib_src_configure() { + local backend=system + use kernel_linux && backend=linux + use connman && backend=connman + use networkmanager && backend=network-manager + + local emesonargs=( + -Dcontext_manager=${backend} + $(meson_native_use_bool introspection) + $(meson_native_use_bool vala vapi) + $(meson_native_use_bool gtk-doc gtk_doc) + -Dexamples=false + ) + meson_src_configure +} + +multilib_src_install_all() { + python_fix_shebang "${ED}"/usr/bin/gupnp-binding-tool-1.6 + if use gtk-doc ; then + mkdir "${ED}"/usr/share/gtk-doc || die + mv "${ED}"/usr/share/{doc,gtk-doc}/gupnp-1.6 || die + fi +} |