Gentoo Archives: gentoo-commits

From: Mart Raudsepp <leio@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-text/evince/
Date: Sun, 01 Mar 2020 16:19:01
Message-Id: 1583079462.23a4a3b5c78588d7e84fddba09ca4493628aeffe.leio@gentoo
1 commit: 23a4a3b5c78588d7e84fddba09ca4493628aeffe
2 Author: Mart Raudsepp <leio <AT> gentoo <DOT> org>
3 AuthorDate: Sun Mar 1 15:57:01 2020 +0000
4 Commit: Mart Raudsepp <leio <AT> gentoo <DOT> org>
5 CommitDate: Sun Mar 1 16:17:42 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=23a4a3b5
7
8 app-text/evince: bump to 3.34.2
9
10 Package-Manager: Portage-2.3.84, Repoman-2.3.20
11 Signed-off-by: Mart Raudsepp <leio <AT> gentoo.org>
12
13 app-text/evince/Manifest | 1 +
14 app-text/evince/evince-3.34.2.ebuild | 107 +++++++++++++++++++++++++++++++++++
15 2 files changed, 108 insertions(+)
16
17 diff --git a/app-text/evince/Manifest b/app-text/evince/Manifest
18 index 6e92e978cc3..fe164045a84 100644
19 --- a/app-text/evince/Manifest
20 +++ b/app-text/evince/Manifest
21 @@ -1 +1,2 @@
22 DIST evince-3.32.1.tar.xz 2567868 BLAKE2B 8fec9ce1981fb2c5fc60c4b653f462f07f0341ebe64a5615f1e1a123533f8053c6f76a02d05da9245b4263c24df1cdd2e28aa89486b8c802a2aa14cf04faf13b SHA512 29028fedde9aff85e53a5059f63df007e1bac7d662a91fe01e1bb8c48349d5674afe3ce37f9c495e4b208fd476b22f4ecaf749c6d7c3362a03b05703400ece05
23 +DIST evince-3.34.2.tar.xz 2565752 BLAKE2B 76497c34ce2eb460a3f2c3e790a7c44b9eeddd566854061d49fba2ba7cefa3b523d7bfe973d08b7ec1e8d967e4cbd63c73a668a346bd158a67752897f25827ee SHA512 51bfa4671e17a98c536790185ece6f4f77b956062901f840cd298cdc3e42eb7e8cabe9bfa84387f185cdf7462a322ef54bbc463b988a677af68561e55acd9f12
24
25 diff --git a/app-text/evince/evince-3.34.2.ebuild b/app-text/evince/evince-3.34.2.ebuild
26 new file mode 100644
27 index 00000000000..d8404918e5b
28 --- /dev/null
29 +++ b/app-text/evince/evince-3.34.2.ebuild
30 @@ -0,0 +1,107 @@
31 +# Copyright 1999-2020 Gentoo Authors
32 +# Distributed under the terms of the GNU General Public License v2
33 +
34 +EAPI=6
35 +GNOME2_LA_PUNT="yes"
36 +GNOME2_EAUTORECONF="yes"
37 +
38 +inherit gnome2 systemd
39 +
40 +DESCRIPTION="Simple document viewer for GNOME"
41 +HOMEPAGE="https://wiki.gnome.org/Apps/Evince"
42 +
43 +LICENSE="GPL-2+ CC-BY-SA-3.0"
44 +# subslot = evd3.(suffix of libevdocument3)-evv3.(suffix of libevview3)
45 +SLOT="0/evd3.4-evv3.3"
46 +IUSE="djvu dvi gstreamer gnome gnome-keyring +introspection nautilus nsplugin postscript spell t1lib tiff xps"
47 +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-solaris"
48 +
49 +# atk used in libview
50 +# bundles unarr
51 +COMMON_DEPEND="
52 + dev-libs/atk
53 + >=dev-libs/glib-2.38.0:2
54 + >=dev-libs/libxml2-2.5:2
55 + sys-libs/zlib:=
56 + >=x11-libs/gdk-pixbuf-2.36.5:2
57 + >=x11-libs/gtk+-3.22.0:3[introspection?]
58 + gnome-base/gsettings-desktop-schemas
59 + >=x11-libs/cairo-1.10:=
60 + >=app-text/poppler-0.76.0[cairo]
61 + >=app-arch/libarchive-3.2.0
62 + djvu? ( >=app-text/djvu-3.5.22:= )
63 + dvi? (
64 + virtual/tex-base
65 + dev-libs/kpathsea:=
66 + t1lib? ( >=media-libs/t1lib-5:= ) )
67 + gstreamer? (
68 + media-libs/gstreamer:1.0
69 + media-libs/gst-plugins-base:1.0
70 + media-libs/gst-plugins-good:1.0 )
71 + gnome? ( gnome-base/gnome-desktop:3= )
72 + gnome-keyring? ( >=app-crypt/libsecret-0.5 )
73 + introspection? ( >=dev-libs/gobject-introspection-1:= )
74 + nautilus? ( >=gnome-base/nautilus-2.91.4 )
75 + postscript? ( >=app-text/libspectre-0.2:= )
76 + spell? ( >=app-text/gspell-1.6.0:= )
77 + tiff? ( >=media-libs/tiff-3.6:0= )
78 + xps? ( >=app-text/libgxps-0.2.1:= )
79 +"
80 +RDEPEND="${COMMON_DEPEND}
81 + gnome-base/gvfs
82 + gnome-base/librsvg
83 + || (
84 + >=x11-themes/adwaita-icon-theme-2.17.1
85 + >=x11-themes/hicolor-icon-theme-0.10 )
86 +"
87 +DEPEND="${COMMON_DEPEND}
88 + app-text/docbook-xml-dtd:4.3
89 + dev-libs/appstream-glib
90 + dev-util/gdbus-codegen
91 + dev-util/glib-utils
92 + >=dev-util/gtk-doc-am-1.13
93 + dev-util/itstool
94 + >=sys-devel/gettext-0.19.8
95 + virtual/pkgconfig
96 + app-text/yelp-tools
97 +"
98 +# eautoreconf needs:
99 +# app-text/yelp-tools
100 +
101 +PATCHES=(
102 + "${FILESDIR}"/3.30.2-internal-synctex.patch # don't automagically link to synctex from texlive-core - always use internal copy of this small parser for now; requires eautoreconf
103 +)
104 +
105 +src_prepare() {
106 + gnome2_src_prepare
107 +
108 + # Do not depend on adwaita-icon-theme, bug #326855, #391859
109 + # https://gitlab.freedesktop.org/xdg/default-icon-theme/issues/7
110 + sed -e 's/adwaita-icon-theme >= $ADWAITA_ICON_THEME_REQUIRED//g' \
111 + -i configure || die "sed failed"
112 +}
113 +
114 +src_configure() {
115 + gnome2_src_configure \
116 + --disable-static \
117 + --enable-pdf \
118 + --enable-comics \
119 + --enable-thumbnailer \
120 + --with-platform=gnome \
121 + --enable-dbus \
122 + $(use_enable djvu) \
123 + $(use_enable dvi) \
124 + $(use_enable gstreamer multimedia) \
125 + $(use_enable gnome libgnome-desktop) \
126 + $(use_with gnome-keyring keyring) \
127 + $(use_enable introspection) \
128 + $(use_enable nautilus) \
129 + $(use_enable nsplugin browser-plugin) \
130 + $(use_enable postscript ps) \
131 + $(use_with spell gspell) \
132 + $(use_enable t1lib) \
133 + $(use_enable tiff) \
134 + $(use_enable xps) \
135 + BROWSER_PLUGIN_DIR="${EPREFIX}"/usr/$(get_libdir)/nsbrowser/plugins \
136 + --with-systemduserunitdir="$(systemd_get_userunitdir)"
137 +}