1 |
commit: b4d18d1f0f07ad26667f599190c5e8410caf9336 |
2 |
Author: Matt Turner <mattst88 <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Jun 26 07:30:03 2021 +0000 |
4 |
Commit: Matt Turner <mattst88 <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Jun 26 20:19:32 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b4d18d1f |
7 |
|
8 |
dev-libs/totem-pl-parser: Version bump to 3.26.6 |
9 |
|
10 |
Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org> |
11 |
|
12 |
dev-libs/totem-pl-parser/Manifest | 1 + |
13 |
dev-libs/totem-pl-parser/metadata.xml | 1 + |
14 |
.../totem-pl-parser/totem-pl-parser-3.26.6.ebuild | 68 ++++++++++++++++++++++ |
15 |
3 files changed, 70 insertions(+) |
16 |
|
17 |
diff --git a/dev-libs/totem-pl-parser/Manifest b/dev-libs/totem-pl-parser/Manifest |
18 |
index d8238945bd3..eb05de219b4 100644 |
19 |
--- a/dev-libs/totem-pl-parser/Manifest |
20 |
+++ b/dev-libs/totem-pl-parser/Manifest |
21 |
@@ -1 +1,2 @@ |
22 |
DIST totem-pl-parser-3.26.5.tar.xz 1318700 BLAKE2B 18cea2edff1206ed9c77ac07fb018da0c9bc5550599b45e363d745166f4828adba6a2f77b763602af011c0a12e9f1f9765402fbafbe097fb69890ec7a9520825 SHA512 ce110d92f60da328272a8135a57ba60785ea4bca1fde3703a734969e7ba5b382ef19dc3b8930a5641d8f8effabf627f7e9b2727ee94e69e6144e0f085079e14d |
23 |
+DIST totem-pl-parser-3.26.6.tar.xz 1503888 BLAKE2B b0768f54c77ff902ad20aeaa9162c616e0cc64ccfc2839d2db2e4c9076f82a611baedf127b0b74f84ec8698a5adc25c43fb9245dcb26a221da7024372a61896b SHA512 1a7aa69e147b55c3c9761328604821a7e40bac4e7b82492e5ce1b2405e3b6d5154e3b06687f2446ec923b34bf6ea96eef179ef8410c005a061d448fc6b3e754e |
24 |
|
25 |
diff --git a/dev-libs/totem-pl-parser/metadata.xml b/dev-libs/totem-pl-parser/metadata.xml |
26 |
index 085e8b59297..aac38cae424 100644 |
27 |
--- a/dev-libs/totem-pl-parser/metadata.xml |
28 |
+++ b/dev-libs/totem-pl-parser/metadata.xml |
29 |
@@ -9,5 +9,6 @@ |
30 |
<flag name="archive">Enables ISO detection with <pkg>app-arch/libarchive</pkg></flag> |
31 |
<flag name="crypt">Support AmazonAMZ decoding with <pkg>dev-libs/libgcrypt</pkg></flag> |
32 |
<flag name="quvi">Use <pkg>media-libs/libquvi</pkg> for parsing video links</flag> |
33 |
+ <flag name="uchardet">Enable charset discovery via <pkg>app-i18n/uchardet</pkg></flag> |
34 |
</use> |
35 |
</pkgmetadata> |
36 |
|
37 |
diff --git a/dev-libs/totem-pl-parser/totem-pl-parser-3.26.6.ebuild b/dev-libs/totem-pl-parser/totem-pl-parser-3.26.6.ebuild |
38 |
new file mode 100644 |
39 |
index 00000000000..8b68d7150cd |
40 |
--- /dev/null |
41 |
+++ b/dev-libs/totem-pl-parser/totem-pl-parser-3.26.6.ebuild |
42 |
@@ -0,0 +1,68 @@ |
43 |
+# Copyright 1999-2021 Gentoo Authors |
44 |
+# Distributed under the terms of the GNU General Public License v2 |
45 |
+ |
46 |
+EAPI=7 |
47 |
+inherit gnome.org meson xdg |
48 |
+ |
49 |
+DESCRIPTION="Playlist parsing library" |
50 |
+HOMEPAGE="https://developer.gnome.org/totem-pl-parser/stable/" |
51 |
+ |
52 |
+LICENSE="LGPL-2+" |
53 |
+SLOT="0/18" |
54 |
+IUSE="archive crypt gtk-doc +introspection test +uchardet" |
55 |
+RESTRICT="!test? ( test )" |
56 |
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~sparc ~x86" |
57 |
+ |
58 |
+RDEPEND=" |
59 |
+ >=dev-libs/glib-2.56:2 |
60 |
+ archive? ( >=app-arch/libarchive-3:0= ) |
61 |
+ dev-libs/libxml2:2 |
62 |
+ crypt? ( dev-libs/libgcrypt:0= ) |
63 |
+ uchardet? ( app-i18n/uchardet ) |
64 |
+ introspection? ( >=dev-libs/gobject-introspection-1.54:= ) |
65 |
+" |
66 |
+DEPEND="${RDEPEND}" |
67 |
+BDEPEND=" |
68 |
+ dev-util/glib-utils |
69 |
+ gtk-doc? ( |
70 |
+ >=dev-util/gtk-doc-1.14 |
71 |
+ app-text/docbook-xml-dtd:4.3 |
72 |
+ ) |
73 |
+ >=sys-devel/gettext-0.19.8 |
74 |
+ virtual/pkgconfig |
75 |
+ test? ( |
76 |
+ gnome-base/gvfs[http] |
77 |
+ sys-apps/dbus |
78 |
+ ) |
79 |
+" |
80 |
+ |
81 |
+src_prepare() { |
82 |
+ # Disable tests requiring network access, bug #346127 |
83 |
+ # 3rd test fails on upgrade, not once installed |
84 |
+ # Leio: I consider network tests important for ensuring full functionality, thus trying with them again */ |
85 |
+ #sed -e 's:\(g_test_add_func.*/parser/resolution.*\):/*\1*/:' \ |
86 |
+ # -e 's:\(g_test_add_func.*/parser/parsing/itms_link.*\):/*\1*/:' \ |
87 |
+ # -e 's:\(g_test_add_func.*/parser/parsability.*\):/*\1*/:'\ |
88 |
+ # -i plparse/tests/parser.c || die "sed failed" |
89 |
+ |
90 |
+ xdg_src_prepare |
91 |
+} |
92 |
+ |
93 |
+src_configure() { |
94 |
+ # uninstalled-tests is abused to switch from loading live FS helper |
95 |
+ # to in-build-tree helper, check on upgrades this is not having other |
96 |
+ # consequences, bug #630242 |
97 |
+ local emesonargs=( |
98 |
+ -Denable-libarchive=$(usex archive) |
99 |
+ -Denable-libgcrypt=$(usex crypt) |
100 |
+ -Denable-uchardet=$(usex uchardet) |
101 |
+ $(meson_use gtk-doc enable-gtk-doc) |
102 |
+ $(meson_use introspection) |
103 |
+ ) |
104 |
+ meson_src_configure |
105 |
+} |
106 |
+ |
107 |
+src_test() { |
108 |
+ # This is required as told by upstream in bgo#629542 |
109 |
+ GVFS_DISABLE_FUSE=1 dbus-run-session meson test -C "${BUILD_DIR}" |
110 |
+} |