1 |
commit: d60d8b4ff2362c2e130e1096bd769fefaa1a7d32 |
2 |
Author: Mart Raudsepp <leio <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Jun 27 12:45:43 2020 +0000 |
4 |
Commit: Mart Raudsepp <leio <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Jun 27 12:45:43 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d60d8b4f |
7 |
|
8 |
net-libs/gupnp: bump to 1.2.3 |
9 |
|
10 |
Bug: https://bugs.gentoo.org/729306 |
11 |
Package-Manager: Portage-2.3.84, Repoman-2.3.20 |
12 |
Signed-off-by: Mart Raudsepp <leio <AT> gentoo.org> |
13 |
|
14 |
net-libs/gupnp/Manifest | 1 + |
15 |
net-libs/gupnp/gupnp-1.2.3.ebuild | 84 +++++++++++++++++++++++++++++++++++++++ |
16 |
2 files changed, 85 insertions(+) |
17 |
|
18 |
diff --git a/net-libs/gupnp/Manifest b/net-libs/gupnp/Manifest |
19 |
index 5dab800f9ca..69956c3a017 100644 |
20 |
--- a/net-libs/gupnp/Manifest |
21 |
+++ b/net-libs/gupnp/Manifest |
22 |
@@ -1,2 +1,3 @@ |
23 |
DIST gupnp-1.0.4.tar.xz 427616 BLAKE2B ab5d34e701e253dc48ebafabc908f9aacd7a325805c61b11b5668cfa105d56a37f0d93593eeedd0e63630b986f2a2c18d4d9cdd82b653c9cc7a5d57262a819ef SHA512 54a133ce043e9b3d5ea23041c04fbbf5483aea98a72421cdb59bada0ab2e3ab3fc85452c4c743b794eeb7c929f5ef38bf0e6ba7f9539d86182a77612c898205a |
24 |
DIST gupnp-1.2.2.tar.xz 136556 BLAKE2B f38018c76972f1b60b8274353a60d4bb1e4687ead6fd3fb084e050c070e5da4cbb7118807f65d47787c50af3174e7c2b87ff0b920cdcf13e7c5be17f8b156588 SHA512 08a715b06f30b9d9d11b914136f89b0c53d6b07b09dddf622619073fc6f144fc8d711eec28ede80fd14fc71a6addfe88de15740d0748302522ce71555fd18d2a |
25 |
+DIST gupnp-1.2.3.tar.xz 138428 BLAKE2B 23f7f677ee9d58c43ba69d6e707e26b17efa5b510f4b14b41006b332f196037fcb103b64e6b1f91260383232ad6d19872b1e8d856878b103c5c2612d3bafae63 SHA512 85caa68a4c6f4b1ccf21d910048a59b6db2b21e8bd728404b28eb0f00b588a1ab55f3ff3227e76199a20554b0708128680379e7ffa5fe162cccb4a1e3e322101 |
26 |
|
27 |
diff --git a/net-libs/gupnp/gupnp-1.2.3.ebuild b/net-libs/gupnp/gupnp-1.2.3.ebuild |
28 |
new file mode 100644 |
29 |
index 00000000000..04d38d44503 |
30 |
--- /dev/null |
31 |
+++ b/net-libs/gupnp/gupnp-1.2.3.ebuild |
32 |
@@ -0,0 +1,84 @@ |
33 |
+# Copyright 1999-2020 Gentoo Authors |
34 |
+# Distributed under the terms of the GNU General Public License v2 |
35 |
+ |
36 |
+EAPI="7" |
37 |
+VALA_USE_DEPEND="vapigen" |
38 |
+PYTHON_COMPAT=( python3_{6,7,8} ) |
39 |
+PYTHON_REQ_USE="xml" |
40 |
+ |
41 |
+inherit gnome.org meson multilib-minimal python-single-r1 vala xdg |
42 |
+ |
43 |
+DESCRIPTION="An object-oriented framework for creating UPnP devs and control points" |
44 |
+HOMEPAGE="https://wiki.gnome.org/Projects/GUPnP" |
45 |
+ |
46 |
+LICENSE="LGPL-2+ GPL-2+" # gupnp-binding-tool is GPL-2+ |
47 |
+SLOT="0/1.2-0" # <API version>-<soname> |
48 |
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86" |
49 |
+ |
50 |
+IUSE="connman gtk-doc +introspection kernel_linux networkmanager vala" |
51 |
+REQUIRED_USE="${PYTHON_REQUIRED_USE} |
52 |
+ ?? ( connman networkmanager ) |
53 |
+" |
54 |
+ |
55 |
+# prefix: uuid dependency can be adapted to non-linux platforms |
56 |
+RDEPEND="${PYTHON_DEPS} |
57 |
+ >=dev-libs/glib-2.58:2[${MULTILIB_USEDEP}] |
58 |
+ >=net-libs/gssdp-1.2.3:0=[introspection?,${MULTILIB_USEDEP}] |
59 |
+ >=net-libs/libsoup-2.48.0:2.4[introspection?,${MULTILIB_USEDEP}] |
60 |
+ >=dev-libs/libxml2-2.9.1-r4[${MULTILIB_USEDEP}] |
61 |
+ >=sys-apps/util-linux-2.24.1-r3[${MULTILIB_USEDEP}] |
62 |
+ introspection? ( >=dev-libs/gobject-introspection-1.54:= ) |
63 |
+" |
64 |
+DEPEND="${RDEPEND}" |
65 |
+BDEPEND=" |
66 |
+ dev-util/glib-utils |
67 |
+ gtk-doc? ( >=dev-util/gtk-doc-1.14 |
68 |
+ app-text/docbook-xml-dtd:4.1.2 |
69 |
+ app-text/docbook-xml-dtd:4.2 ) |
70 |
+ dev-libs/libxslt |
71 |
+ app-text/docbook-xsl-stylesheets |
72 |
+ virtual/pkgconfig |
73 |
+ !connman? ( !networkmanager? ( kernel_linux? ( sys-kernel/linux-headers ) ) ) |
74 |
+ vala? ( $(vala_depend) |
75 |
+ >=net-libs/gssdp-1.2.3:0[vala] |
76 |
+ net-libs/libsoup:2.4[vala] |
77 |
+ ) |
78 |
+" |
79 |
+ |
80 |
+src_prepare() { |
81 |
+ use introspection && vala_src_prepare |
82 |
+ xdg_src_prepare |
83 |
+} |
84 |
+ |
85 |
+multilib_src_configure() { |
86 |
+ local backend=system |
87 |
+ use kernel_linux && backend=linux |
88 |
+ use connman && backend=connman |
89 |
+ use networkmanager && backend=network-manager |
90 |
+ |
91 |
+ local emesonargs=( |
92 |
+ -Dcontext_manager=${backend} |
93 |
+ -Dintrospection=$(multilib_native_usex introspection true false) |
94 |
+ -Dvapi=$(multilib_native_usex vala true false) |
95 |
+ -Dgtk_doc=$(multilib_native_usex gtk-doc true false) |
96 |
+ -Dexamples=false |
97 |
+ ) |
98 |
+ meson_src_configure |
99 |
+} |
100 |
+ |
101 |
+multilib_src_compile() { |
102 |
+ meson_src_compile |
103 |
+} |
104 |
+ |
105 |
+multilib_src_test() { |
106 |
+ meson_src_test |
107 |
+} |
108 |
+ |
109 |
+multilib_src_install() { |
110 |
+ meson_src_install |
111 |
+} |
112 |
+ |
113 |
+multilib_src_install_all() { |
114 |
+ einstalldocs |
115 |
+ python_fix_shebang "${ED}"/usr/bin/gupnp-binding-tool-1.2 |
116 |
+} |