Gentoo Archives: gentoo-commits

From: Adam Feldman <np-hardass@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-text/atril/
Date: Wed, 30 Jun 2021 22:43:21
Message-Id: 1625092909.38c5a8e69b0b738ada5d7d711ebf4d2e16d28e71.np-hardass@gentoo
1 commit: 38c5a8e69b0b738ada5d7d711ebf4d2e16d28e71
2 Author: Adam Feldman <NP-Hardass <AT> gentoo <DOT> org>
3 AuthorDate: Thu Jun 10 15:13:23 2021 +0000
4 Commit: Adam Feldman <np-hardass <AT> gentoo <DOT> org>
5 CommitDate: Wed Jun 30 22:41:49 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=38c5a8e6
7
8 app-text/atril: Bump to 1.24.1
9
10 Bug: https://bugs.gentoo.org/778857
11 Package-Manager: Portage-3.0.18, Repoman-3.0.3
12 Signed-off-by: Adam Feldman <NP-Hardass <AT> gentoo.org>
13
14 app-text/atril/Manifest | 1 +
15 app-text/atril/atril-1.24.1.ebuild | 119 +++++++++++++++++++++++++++++++++++++
16 2 files changed, 120 insertions(+)
17
18 diff --git a/app-text/atril/Manifest b/app-text/atril/Manifest
19 index 635d19e4b37..c435e33d217 100644
20 --- a/app-text/atril/Manifest
21 +++ b/app-text/atril/Manifest
22 @@ -1 +1,2 @@
23 DIST atril-1.24.0.tar.xz 2062468 BLAKE2B 374c7769f5c9753b1d9a6143c796a317914aebbb638b6f0a85b732b43b0e9ad2fff1374a5f3f4dc1abc8c265ce003bfef2cddc47cdb18ddc7f24c4905ef5232c SHA512 dfdd5ed82ba76c4f0a446a95b0a6201bedf8b4d00ff46ce697a5b937251f6d7a1888ca76eef623eb84dcddb425c7ad662e179f593686bba064b7491d4d940293
24 +DIST atril-1.24.1.tar.xz 2043552 BLAKE2B 01e41e53a38684c237fadef200614cf8d70cb84410a00bb9d28b200fcac43a2bf45cd81c4c7f19ab1351891f179ee64cd880bca1aa38cf68727bcf1da3e06c8d SHA512 94a55e7699bdfc9368e20986664bd411c12f50f466874ebf20210df3de6ddb499866b505e157c56b58a8065aad2c24284b96afa8c547a6cd259eef413096a91a
25
26 diff --git a/app-text/atril/atril-1.24.1.ebuild b/app-text/atril/atril-1.24.1.ebuild
27 new file mode 100644
28 index 00000000000..1cf25b1ae89
29 --- /dev/null
30 +++ b/app-text/atril/atril-1.24.1.ebuild
31 @@ -0,0 +1,119 @@
32 +# Copyright 1999-2021 Gentoo Authors
33 +# Distributed under the terms of the GNU General Public License v2
34 +
35 +EAPI=6
36 +
37 +MATE_LA_PUNT="yes"
38 +
39 +PYTHON_COMPAT=( python3_{7..9} )
40 +
41 +inherit mate python-any-r1 virtualx
42 +
43 +if [[ ${PV} != 9999 ]]; then
44 + KEYWORDS="~amd64 ~arm ~arm64 ~x86"
45 +fi
46 +
47 +DESCRIPTION="Atril document viewer for MATE"
48 +LICENSE="FDL-1.1+ GPL-2+ GPL-3+ LGPL-2+ LGPL-2.1+"
49 +SLOT="0"
50 +
51 +IUSE="caja dbus debug djvu dvi epub +introspection gnome-keyring +postscript synctex t1lib test tiff xps"
52 +
53 +REQUIRED_USE="t1lib? ( dvi )"
54 +
55 +COMMON_DEPEND="
56 + >=app-text/poppler-0.22[cairo]
57 + dev-libs/atk
58 + >=dev-libs/glib-2.62:2
59 + >=dev-libs/libxml2-2.5:2
60 + sys-libs/zlib
61 + x11-libs/gdk-pixbuf:2
62 + >=x11-libs/gtk+-3.22:3[introspection?]
63 + x11-libs/libICE
64 + >=x11-libs/libSM-1:0
65 + x11-libs/libX11
66 + >=x11-libs/cairo-1.14
67 + x11-libs/pango
68 + caja? ( >=mate-base/caja-1.17.1[introspection?] )
69 + djvu? ( >=app-text/djvu-3.5.17:0 )
70 + dvi? (
71 + virtual/tex-base
72 + t1lib? ( >=media-libs/t1lib-5:5 )
73 + )
74 + epub? (
75 + dev-libs/mathjax
76 + >=net-libs/webkit-gtk-2.6.0:4
77 + )
78 + gnome-keyring? ( >=app-crypt/libsecret-0.5 )
79 + introspection? ( >=dev-libs/gobject-introspection-0.6:= )
80 + postscript? ( >=app-text/libspectre-0.2 )
81 + synctex? ( virtual/tex-base )
82 + tiff? ( >=media-libs/tiff-3.6:0 )
83 + xps? ( >=app-text/libgxps-0.2.1 )
84 +"
85 +
86 +RDEPEND="${COMMON_DEPEND}
87 + virtual/libintl
88 + !!app-text/mate-document-viewer
89 +"
90 +
91 +DEPEND="${COMMON_DEPEND}
92 + app-text/docbook-xml-dtd:4.1.2
93 + app-text/rarian
94 + app-text/yelp-tools
95 + >=app-text/scrollkeeper-dtd-1:1.0
96 + dev-util/gdbus-codegen
97 + dev-util/glib-utils
98 + dev-util/gtk-doc
99 + dev-util/gtk-doc-am
100 + >=sys-devel/gettext-0.19.8
101 + virtual/pkgconfig
102 + test? ( $(python_gen_any_dep 'dev-util/dogtail[${PYTHON_USEDEP}]') )
103 +"
104 +
105 +#RESTRICT="!test? ( test )"
106 +# Tests use dogtail and require using accessibility services.
107 +# Until we figure out how to run successfully, don't run tests
108 +RESTRICT="test"
109 +
110 +PATCHES=( "${FILESDIR}/${PN}-1.24.0-make-synctex-optional.patch" )
111 +
112 +python_check_deps() {
113 + use test && has_version "dev-util/dogtail[${PYTHON_USEDEP}]"
114 +}
115 +
116 +pkg_setup() {
117 + use test && python-any-r1_pkg_setup
118 +}
119 +
120 +src_configure() {
121 + # Passing --disable-help would drop offline help, that would be inconsistent
122 + # with helps of the most of GNOME apps that doesn't require network for that.
123 + mate_src_configure \
124 + --enable-comics \
125 + --enable-pdf \
126 + --enable-pixbuf \
127 + --enable-previewer \
128 + --enable-thumbnailer \
129 + $(use_with gnome-keyring keyring) \
130 + $(use_enable caja) \
131 + $(use_enable dbus) \
132 + $(use_enable debug) \
133 + $(use_enable djvu) \
134 + $(use_enable dvi) \
135 + $(use_enable epub) \
136 + $(use_enable introspection) \
137 + $(use_enable postscript ps) \
138 + $(use_enable synctex) \
139 + $(use_enable t1lib) \
140 + $(use_enable test tests) \
141 + $(use_enable tiff) \
142 + $(use_enable xps)
143 +}
144 +
145 +src_test() {
146 + export GSETTINGS_BACKEND=keyfile
147 + gsettings set org.gnome.desktop.interface toolkit-accessibility true || die
148 + gsettings set org.mate.interface accessibility true || die
149 + virtx emake check
150 +}