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