diff options
author | Mart Raudsepp <leio@gentoo.org> | 2020-08-14 10:49:45 +0300 |
---|---|---|
committer | Mart Raudsepp <leio@gentoo.org> | 2020-08-14 11:22:14 +0300 |
commit | 1c5a60284e9791d362691f80549866ad35efec62 (patch) | |
tree | 9c1819c73a6cc01727973f959cde0bc739b60324 /net-libs | |
parent | dev-lang/vala: bump to 0.46.13 (diff) | |
download | gentoo-1c5a60284e9791d362691f80549866ad35efec62.tar.gz gentoo-1c5a60284e9791d362691f80549866ad35efec62.tar.bz2 gentoo-1c5a60284e9791d362691f80549866ad35efec62.zip |
net-libs/gupnp: bump to 1.2.4
Package-Manager: Portage-2.3.103, Repoman-2.3.20
Signed-off-by: Mart Raudsepp <leio@gentoo.org>
Diffstat (limited to 'net-libs')
-rw-r--r-- | net-libs/gupnp/Manifest | 1 | ||||
-rw-r--r-- | net-libs/gupnp/gupnp-1.2.4.ebuild | 84 |
2 files changed, 85 insertions, 0 deletions
diff --git a/net-libs/gupnp/Manifest b/net-libs/gupnp/Manifest index 69956c3a0177..a5d5bcaa4ab9 100644 --- a/net-libs/gupnp/Manifest +++ b/net-libs/gupnp/Manifest @@ -1,3 +1,4 @@ DIST gupnp-1.0.4.tar.xz 427616 BLAKE2B ab5d34e701e253dc48ebafabc908f9aacd7a325805c61b11b5668cfa105d56a37f0d93593eeedd0e63630b986f2a2c18d4d9cdd82b653c9cc7a5d57262a819ef SHA512 54a133ce043e9b3d5ea23041c04fbbf5483aea98a72421cdb59bada0ab2e3ab3fc85452c4c743b794eeb7c929f5ef38bf0e6ba7f9539d86182a77612c898205a DIST gupnp-1.2.2.tar.xz 136556 BLAKE2B f38018c76972f1b60b8274353a60d4bb1e4687ead6fd3fb084e050c070e5da4cbb7118807f65d47787c50af3174e7c2b87ff0b920cdcf13e7c5be17f8b156588 SHA512 08a715b06f30b9d9d11b914136f89b0c53d6b07b09dddf622619073fc6f144fc8d711eec28ede80fd14fc71a6addfe88de15740d0748302522ce71555fd18d2a DIST gupnp-1.2.3.tar.xz 138428 BLAKE2B 23f7f677ee9d58c43ba69d6e707e26b17efa5b510f4b14b41006b332f196037fcb103b64e6b1f91260383232ad6d19872b1e8d856878b103c5c2612d3bafae63 SHA512 85caa68a4c6f4b1ccf21d910048a59b6db2b21e8bd728404b28eb0f00b588a1ab55f3ff3227e76199a20554b0708128680379e7ffa5fe162cccb4a1e3e322101 +DIST gupnp-1.2.4.tar.xz 139832 BLAKE2B a4d49ea8a3739a2233c9dd4a258a7d0d355ff651b0de85c5b7151f0ffca93b50248a303dd040c2d7e9fb215a0edb0627fa3a8a16835b55d90459c623faaad62b SHA512 cb787264b5a1bcb4f547f7a9d7a5e4e712f91ecbb593f12b2c51aed0607abd6fbfd43e5c42e261eb853d09358685637e172c78e3e9a6059bccdeb1176e6e4ef7 diff --git a/net-libs/gupnp/gupnp-1.2.4.ebuild b/net-libs/gupnp/gupnp-1.2.4.ebuild new file mode 100644 index 000000000000..04d38d445038 --- /dev/null +++ b/net-libs/gupnp/gupnp-1.2.4.ebuild @@ -0,0 +1,84 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="7" +VALA_USE_DEPEND="vapigen" +PYTHON_COMPAT=( python3_{6,7,8} ) +PYTHON_REQ_USE="xml" + +inherit gnome.org meson multilib-minimal python-single-r1 vala xdg + +DESCRIPTION="An object-oriented framework for creating UPnP devs and control points" +HOMEPAGE="https://wiki.gnome.org/Projects/GUPnP" + +LICENSE="LGPL-2+ GPL-2+" # gupnp-binding-tool is GPL-2+ +SLOT="0/1.2-0" # <API version>-<soname> +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86" + +IUSE="connman gtk-doc +introspection kernel_linux networkmanager vala" +REQUIRED_USE="${PYTHON_REQUIRED_USE} + ?? ( connman networkmanager ) +" + +# prefix: uuid dependency can be adapted to non-linux platforms +RDEPEND="${PYTHON_DEPS} + >=dev-libs/glib-2.58:2[${MULTILIB_USEDEP}] + >=net-libs/gssdp-1.2.3:0=[introspection?,${MULTILIB_USEDEP}] + >=net-libs/libsoup-2.48.0:2.4[introspection?,${MULTILIB_USEDEP}] + >=dev-libs/libxml2-2.9.1-r4[${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/gtk-doc-1.14 + app-text/docbook-xml-dtd:4.1.2 + app-text/docbook-xml-dtd:4.2 ) + 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.2.3:0[vala] + net-libs/libsoup:2.4[vala] + ) +" + +src_prepare() { + use introspection && vala_src_prepare + xdg_src_prepare +} + +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} + -Dintrospection=$(multilib_native_usex introspection true false) + -Dvapi=$(multilib_native_usex vala true false) + -Dgtk_doc=$(multilib_native_usex gtk-doc true false) + -Dexamples=false + ) + meson_src_configure +} + +multilib_src_compile() { + meson_src_compile +} + +multilib_src_test() { + meson_src_test +} + +multilib_src_install() { + meson_src_install +} + +multilib_src_install_all() { + einstalldocs + python_fix_shebang "${ED}"/usr/bin/gupnp-binding-tool-1.2 +} |