Gentoo Archives: gentoo-commits

From: Matt Turner <mattst88@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-libs/gupnp/
Date: Wed, 09 Jun 2021 03:33:56
Message-Id: 1623209617.8b49af769f4e7cf1a96244565e66f2a935db1d1f.mattst88@gentoo
1 commit: 8b49af769f4e7cf1a96244565e66f2a935db1d1f
2 Author: Matt Turner <mattst88 <AT> gentoo <DOT> org>
3 AuthorDate: Tue Jun 8 18:06:47 2021 +0000
4 Commit: Matt Turner <mattst88 <AT> gentoo <DOT> org>
5 CommitDate: Wed Jun 9 03:33:37 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8b49af76
7
8 net-libs/gupnp: Version bump to 1.2.7
9
10 Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org>
11
12 net-libs/gupnp/Manifest | 1 +
13 net-libs/gupnp/gupnp-1.2.7.ebuild | 71 +++++++++++++++++++++++++++++++++++++++
14 2 files changed, 72 insertions(+)
15
16 diff --git a/net-libs/gupnp/Manifest b/net-libs/gupnp/Manifest
17 index c403ffd46c6..c08117c22d4 100644
18 --- a/net-libs/gupnp/Manifest
19 +++ b/net-libs/gupnp/Manifest
20 @@ -1 +1,2 @@
21 DIST gupnp-1.2.6.tar.xz 142652 BLAKE2B 12f3fd59b6c8616dcbc32ab4feeeccde864af6da0593d0d51b8a9bab045c39b8e4540bc1470a0758f1a0979e647f9dae67bae544d1457e567264d7408d58e06f SHA512 317ff1f0ea1f03476596db6ce2f6c7c86b7c9962a7ddb00da9f487fe7f7bb70ccf8fe64e485583e4a988d90afdb41128730fef459f4ecb757ff2aef44dc4de9c
22 +DIST gupnp-1.2.7.tar.xz 142928 BLAKE2B 094e9569c501ae32def1335c8129d5585a2bec37d86c2317a2c9b2d965db5ce0ae6c19017bd44fb718709cf068f93ed75d08ab7e30c5f265e1ce45a9a9352897 SHA512 83d012989f9aab578c9bdb4dd95d316003938a39cc997949622b56523dd7081e09093c48c0016d738ca0040a00b3e6218ba59cad9e49e05f4106213160e7c409
23
24 diff --git a/net-libs/gupnp/gupnp-1.2.7.ebuild b/net-libs/gupnp/gupnp-1.2.7.ebuild
25 new file mode 100644
26 index 00000000000..ec6826d50b5
27 --- /dev/null
28 +++ b/net-libs/gupnp/gupnp-1.2.7.ebuild
29 @@ -0,0 +1,71 @@
30 +# Copyright 1999-2021 Gentoo Authors
31 +# Distributed under the terms of the GNU General Public License v2
32 +
33 +EAPI="7"
34 +VALA_USE_DEPEND="vapigen"
35 +PYTHON_COMPAT=( python3_{7,8,9} )
36 +PYTHON_REQ_USE="xml"
37 +
38 +inherit gnome.org meson-multilib python-single-r1 vala xdg
39 +
40 +DESCRIPTION="An object-oriented framework for creating UPnP devs and control points"
41 +HOMEPAGE="https://wiki.gnome.org/Projects/GUPnP"
42 +
43 +LICENSE="LGPL-2+ GPL-2+" # gupnp-binding-tool is GPL-2+
44 +SLOT="0/1.2-0" # <API version>-<soname>
45 +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
46 +
47 +IUSE="connman gtk-doc +introspection kernel_linux networkmanager vala"
48 +REQUIRED_USE="${PYTHON_REQUIRED_USE}
49 + ?? ( connman networkmanager )
50 +"
51 +
52 +# prefix: uuid dependency can be adapted to non-linux platforms
53 +RDEPEND="${PYTHON_DEPS}
54 + >=dev-libs/glib-2.66:2[${MULTILIB_USEDEP}]
55 + >=net-libs/gssdp-1.2.3:0=[introspection?,${MULTILIB_USEDEP}]
56 + >=net-libs/libsoup-2.48.0:2.4[introspection?,${MULTILIB_USEDEP}]
57 + >=dev-libs/libxml2-2.9.1-r4[${MULTILIB_USEDEP}]
58 + >=sys-apps/util-linux-2.24.1-r3[${MULTILIB_USEDEP}]
59 + introspection? ( >=dev-libs/gobject-introspection-1.54:= )
60 +"
61 +DEPEND="${RDEPEND}"
62 +BDEPEND="
63 + dev-util/glib-utils
64 + gtk-doc? ( >=dev-util/gtk-doc-1.14
65 + app-text/docbook-xml-dtd:4.1.2
66 + app-text/docbook-xml-dtd:4.2 )
67 + dev-libs/libxslt
68 + app-text/docbook-xsl-stylesheets
69 + virtual/pkgconfig
70 + !connman? ( !networkmanager? ( kernel_linux? ( sys-kernel/linux-headers ) ) )
71 + vala? ( $(vala_depend)
72 + >=net-libs/gssdp-1.2.3:0[vala]
73 + net-libs/libsoup:2.4[vala]
74 + )
75 +"
76 +
77 +src_prepare() {
78 + use introspection && vala_src_prepare
79 + xdg_src_prepare
80 +}
81 +
82 +multilib_src_configure() {
83 + local backend=system
84 + use kernel_linux && backend=linux
85 + use connman && backend=connman
86 + use networkmanager && backend=network-manager
87 +
88 + local emesonargs=(
89 + -Dcontext_manager=${backend}
90 + $(meson_native_use_bool introspection)
91 + $(meson_native_use_bool vala vapi)
92 + $(meson_native_use_bool gtk-doc gtk_doc)
93 + -Dexamples=false
94 + )
95 + meson_src_configure
96 +}
97 +
98 +multilib_src_install_all() {
99 + python_fix_shebang "${ED}"/usr/bin/gupnp-binding-tool-1.2
100 +}