diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-11-23 19:09:12 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-11-23 19:09:12 +0000 |
commit | 89aeb05c8da1b0c32fb9d0cd5d202763780d5d5a (patch) | |
tree | 58e84b2fdeecbc82c9e04dc13de2d56ecc02d583 /net-libs/gupnp | |
parent | 87cdf8e64e5874146493d2a4a4489b08583043c3 (diff) |
gentoo auto-resync : 23:11:2022 - 19:09:11
Diffstat (limited to 'net-libs/gupnp')
-rw-r--r-- | net-libs/gupnp/Manifest | 2 | ||||
-rw-r--r-- | net-libs/gupnp/gupnp-1.6.2.ebuild | 74 |
2 files changed, 76 insertions, 0 deletions
diff --git a/net-libs/gupnp/Manifest b/net-libs/gupnp/Manifest index 3720c3f9a08f..edf18b0ce65e 100644 --- a/net-libs/gupnp/Manifest +++ b/net-libs/gupnp/Manifest @@ -1,7 +1,9 @@ DIST gupnp-1.4.3.tar.xz 154812 BLAKE2B b41a8805853061399412f5eb7267e9913adb3054ebf8a3bd78f6df4c1607d4a944654f3bc6e154fefa98f1289a80055d0feb0168801d83a1ad59c25f5fcac784 SHA512 1963ce917458168c8bc5d669ee30a4071d83d3768ce1be8cbbd81c767853ca01950623a88628a0b1e403d1cce1f0bbc9df80acf4b75f91bfc0403e0d0e6bcedb DIST gupnp-1.6.0.tar.xz 2212044 BLAKE2B bc10b405f79845dd6a86c9110d26430bd6c67d36c761e38ddeee01135c27d196dbdc32fe09f322f9c0e19d2d424bb4f8b042531c81ce9da18e3f3d4f2d93e255 SHA512 5cf7a6c27f5b183e4f4387e478cb6f3ccdf4169a8e6a878f087ebf61aa41d31181480a42a8c38155af8a410c342dc6140a9cc44e30295f8f10333fd12fa53cc4 DIST gupnp-1.6.1.tar.xz 2215460 BLAKE2B 8bac4cfbe2fde421746be093db0043cf7333d647963a7a79c470247c6adbe58eee164b1b70f349e7aedeb7ccefb29d963beab02fc1e752306bf8587357154f4c SHA512 eccdf79eb4291af0720cda8aaf0d352eb71816ace5483bc68ede899d42d1d0b359558cc74017ceff8d0bf591b188794735b3d10d71ba85cb2b376038c7de1761 +DIST gupnp-1.6.2.tar.xz 2215220 BLAKE2B 457a334a6fe07c8038e83e63472809211751f4292a0ab176e61275d77ab904a91845bc2302dba6f320e3bc4dce5cef768489b81083e21a0cad0ed4961296aebd SHA512 52024295b86fa180cb8676541da8350cbba0758a19c90c26bc922cea68bb4584a5fc414915e73449ba10107492684edec25dcf60b1af203727c59944aa2cac34 EBUILD gupnp-1.4.3.ebuild 2078 BLAKE2B 07c0680c2f1c545f0c0b267cae4f59cbcb327d2a15506c7161abd9fe0ca3b5ac373c5812c21b9df015ad2bf231102c672a0edc670568f4bcdf3320aba130b2bb SHA512 cdb9a04c79744b52159061ee1ac947188abb391168c1769b4dda4798bc8cd9bf187de67dc9606b1f99cf743e80fcf806f2c19ffe0f76cb2bcbb159adf5ba49f7 EBUILD gupnp-1.6.0.ebuild 2218 BLAKE2B 135a4a491604f7f87277e59c10bfaff28c8684520f27bba0db3270a791563a0bb2e3094497a878e1e3218a2c9bb3fdb26270b36e7c0ce8c3020a23b527c42236 SHA512 86ea839b604c3860facbe74aaf330cf940c43fe972c236d12eb6906704321481c433198b1719bf995bffdda49c74b03eaeb828de9eb62ee8b4948ddc9fced9e7 EBUILD gupnp-1.6.1.ebuild 2157 BLAKE2B 514b3ae4c5c1d1c80b8ac681f0d68e4e28853508e15068ba2badd7853e69c40e01a71bcaf2767e4170dd18ede0ff6a0f86f5bf9213a007731d9a93b7976393c0 SHA512 41d26fb6d104db12130baef2a3b48755734038f4f0263687b9f0ef5816b211e04cf90fbd09fedb052a29d45e6c9eb4bd95988291038e222b4f9693978f2e8ad1 +EBUILD gupnp-1.6.2.ebuild 2157 BLAKE2B 514b3ae4c5c1d1c80b8ac681f0d68e4e28853508e15068ba2badd7853e69c40e01a71bcaf2767e4170dd18ede0ff6a0f86f5bf9213a007731d9a93b7976393c0 SHA512 41d26fb6d104db12130baef2a3b48755734038f4f0263687b9f0ef5816b211e04cf90fbd09fedb052a29d45e6c9eb4bd95988291038e222b4f9693978f2e8ad1 MISC metadata.xml 346 BLAKE2B c0c2d7c5a0f1906cc1789a30daec476919e7332f2a8aed9ec78e824be2776e7a18202b8fe19e519340cc9437d4147e223eb6830460c2a4c499cd483c77524cd5 SHA512 84998e9f5ebf374d1bfea85f7eb4b89f8459ee62ec89dc8b9bd36de354a307ad854cd7521eecd31b410659d5128a4dd9545ab7037eb5b7f8b41efdb8054b9b2c diff --git a/net-libs/gupnp/gupnp-1.6.2.ebuild b/net-libs/gupnp/gupnp-1.6.2.ebuild new file mode 100644 index 000000000000..14582c85caaa --- /dev/null +++ b/net-libs/gupnp/gupnp-1.6.2.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.5.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 +} |