Gentoo Archives: gentoo-commits

From: Mart Raudsepp <leio@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/totem-pl-parser/
Date: Fri, 28 Feb 2020 22:34:18
Message-Id: 1582926906.7825624a30fc7901a418ce98a0de8ca8b8d7b1e5.leio@gentoo
1 commit: 7825624a30fc7901a418ce98a0de8ca8b8d7b1e5
2 Author: Mart Raudsepp <leio <AT> gentoo <DOT> org>
3 AuthorDate: Fri Feb 28 21:54:51 2020 +0000
4 Commit: Mart Raudsepp <leio <AT> gentoo <DOT> org>
5 CommitDate: Fri Feb 28 21:55:06 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7825624a
7
8 dev-libs/totem-pl-parser: bump to 3.26.5
9
10 Package-Manager: Portage-2.3.84, Repoman-2.3.20
11 Signed-off-by: Mart Raudsepp <leio <AT> gentoo.org>
12
13 dev-libs/totem-pl-parser/Manifest | 1 +
14 .../totem-pl-parser/totem-pl-parser-3.26.5.ebuild | 66 ++++++++++++++++++++++
15 2 files changed, 67 insertions(+)
16
17 diff --git a/dev-libs/totem-pl-parser/Manifest b/dev-libs/totem-pl-parser/Manifest
18 index 8c826dbfdb9..12799cab2eb 100644
19 --- a/dev-libs/totem-pl-parser/Manifest
20 +++ b/dev-libs/totem-pl-parser/Manifest
21 @@ -1,2 +1,3 @@
22 DIST totem-pl-parser-3.26.3.tar.xz 1314216 BLAKE2B 24b1c7e111456b454022ba7262a1e1483420dbd97b6ec99c0e2631acbb8057134b51ff991d2619e6bda57da6c133e211f949915b0fd62d497905fcd58738b43d SHA512 f059fd9447627268ce5029ed48551b0a2b6c30ba28c50a360d37808ad63fa8423824eef29c7f4d7a752f24861d4c7a7139f321fa2e19085085446e7ed15130cd
23 DIST totem-pl-parser-3.26.4.tar.xz 1314800 BLAKE2B a069a7b7c394ab5686e827804dd13df06c6af7b8e515e0a0f5023919ecbf720eb8d52643e35bfb99ff4474e67332e072a3c832ef91232bb4108f282b0bc84bce SHA512 afb02a7c70f2fda9cda67b9daa8bab5f15e68a4afd983fb865fb29de71fe8f5c8fdf716e714e3835ac1c3476ce188c6147924a840c4ba82f0c05c3d3c23f5173
24 +DIST totem-pl-parser-3.26.5.tar.xz 1318700 BLAKE2B 18cea2edff1206ed9c77ac07fb018da0c9bc5550599b45e363d745166f4828adba6a2f77b763602af011c0a12e9f1f9765402fbafbe097fb69890ec7a9520825 SHA512 ce110d92f60da328272a8135a57ba60785ea4bca1fde3703a734969e7ba5b382ef19dc3b8930a5641d8f8effabf627f7e9b2727ee94e69e6144e0f085079e14d
25
26 diff --git a/dev-libs/totem-pl-parser/totem-pl-parser-3.26.5.ebuild b/dev-libs/totem-pl-parser/totem-pl-parser-3.26.5.ebuild
27 new file mode 100644
28 index 00000000000..353b21ee7b0
29 --- /dev/null
30 +++ b/dev-libs/totem-pl-parser/totem-pl-parser-3.26.5.ebuild
31 @@ -0,0 +1,66 @@
32 +# Copyright 1999-2020 Gentoo Authors
33 +# Distributed under the terms of the GNU General Public License v2
34 +
35 +EAPI=7
36 +inherit gnome.org meson xdg
37 +
38 +DESCRIPTION="Playlist parsing library"
39 +HOMEPAGE="https://developer.gnome.org/totem-pl-parser/stable/"
40 +
41 +LICENSE="LGPL-2+"
42 +SLOT="0/18"
43 +IUSE="archive crypt gtk-doc +introspection +quvi test"
44 +RESTRICT="!test? ( test )"
45 +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~sparc ~x86"
46 +
47 +RDEPEND="
48 + >=dev-libs/glib-2.56:2
49 + quvi? ( >=media-libs/libquvi-0.9.1:0= )
50 + archive? ( >=app-arch/libarchive-3:0= )
51 + dev-libs/libxml2:2
52 + crypt? ( dev-libs/libgcrypt:0= )
53 + introspection? ( >=dev-libs/gobject-introspection-1.54:= )
54 +"
55 +DEPEND="${RDEPEND}"
56 +BDEPEND="
57 + dev-util/glib-utils
58 + gtk-doc? (
59 + >=dev-util/gtk-doc-1.14
60 + app-text/docbook-xml-dtd:4.3 )
61 + >=sys-devel/gettext-0.19.8
62 + virtual/pkgconfig
63 + test? (
64 + gnome-base/gvfs[http]
65 + sys-apps/dbus )
66 +"
67 +
68 +src_prepare() {
69 + # Disable tests requiring network access, bug #346127
70 + # 3rd test fails on upgrade, not once installed
71 + # Leio: I consider network tests important for ensuring full functionality, thus trying with them again */
72 + #sed -e 's:\(g_test_add_func.*/parser/resolution.*\):/*\1*/:' \
73 + # -e 's:\(g_test_add_func.*/parser/parsing/itms_link.*\):/*\1*/:' \
74 + # -e 's:\(g_test_add_func.*/parser/parsability.*\):/*\1*/:'\
75 + # -i plparse/tests/parser.c || die "sed failed"
76 +
77 + xdg_src_prepare
78 +}
79 +
80 +src_configure() {
81 + # uninstalled-tests is abused to switch from loading live FS helper
82 + # to in-build-tree helper, check on upgrades this is not having other
83 + # consequences, bug #630242
84 + local emesonargs=(
85 + -Denable-quvi=$(usex quvi yes no)
86 + -Denable-libarchive=$(usex archive yes no)
87 + -Denable-libgcrypt=$(usex crypt yes no)
88 + $(meson_use gtk-doc enable-gtk-doc)
89 + $(meson_use introspection)
90 + )
91 + meson_src_configure
92 +}
93 +
94 +src_test() {
95 + # This is required as told by upstream in bgo#629542
96 + GVFS_DISABLE_FUSE=1 dbus-run-session meson test -C "${BUILD_DIR}"
97 +}