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