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, 05 Aug 2018 09:59:22
Message-Id: 1533462202.65855f8e16947111973613123c0fcb826c244738.leio@gentoo
1 commit: 65855f8e16947111973613123c0fcb826c244738
2 Author: Mart Raudsepp <leio <AT> gentoo <DOT> org>
3 AuthorDate: Sun Aug 5 09:25:07 2018 +0000
4 Commit: Mart Raudsepp <leio <AT> gentoo <DOT> org>
5 CommitDate: Sun Aug 5 09:43:22 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=65855f8e
7
8 app-text/evince: bump to 3.28.2
9
10 Package-Manager: Portage-2.3.43, Repoman-2.3.10
11
12 app-text/evince/Manifest | 1 +
13 app-text/evince/evince-3.28.2.ebuild | 99 ++++++++++++++++++++++++++++++++++++
14 app-text/evince/metadata.xml | 1 +
15 3 files changed, 101 insertions(+)
16
17 diff --git a/app-text/evince/Manifest b/app-text/evince/Manifest
18 index 4fda50ef273..39c9e0eb224 100644
19 --- a/app-text/evince/Manifest
20 +++ b/app-text/evince/Manifest
21 @@ -1 +1,2 @@
22 DIST evince-3.24.2.tar.xz 3509216 BLAKE2B 3bcb9e15a6576650d17d6ea1df638c4b16759ddd2353ca47b425c1fec04f90b85ff7f338472e5e18defc01ab066ef241eff40e8f493fa2238814933703636e7b SHA512 77e099ff60188f982a49f5c8287eb2ed8d42402a15a54ccf8367b3814e7e16ba31354363d3f101117153792daa96f653f24bb06193b5e749d0ebfaac7d7c1e0f
23 +DIST evince-3.28.2.tar.xz 3379552 BLAKE2B 64f77f2c19649f74291d34f6a0dfc49348d2a8e80cf2b37ef40b2c3bbfbd1198c40a47dd56ca6b04166e9981ebade3b8f74eeefa9234246968fd1e7fb4babcdd SHA512 6deeefc5ed52d79627ae892b227bcf023c6ea45ac02c6a3a7c9fa1004f5da2e36051bfea73f6838cb8f9aed8cadfd145173a5d3b2be405f1d1f06bd4fdadae23
24
25 diff --git a/app-text/evince/evince-3.28.2.ebuild b/app-text/evince/evince-3.28.2.ebuild
26 new file mode 100644
27 index 00000000000..38a32708ad4
28 --- /dev/null
29 +++ b/app-text/evince/evince-3.28.2.ebuild
30 @@ -0,0 +1,99 @@
31 +# Copyright 1999-2018 Gentoo Foundation
32 +# Distributed under the terms of the GNU General Public License v2
33 +
34 +EAPI=6
35 +GNOME2_LA_PUNT="yes"
36 +
37 +inherit gnome2 systemd
38 +
39 +DESCRIPTION="Simple document viewer for GNOME"
40 +HOMEPAGE="https://wiki.gnome.org/Apps/Evince"
41 +
42 +LICENSE="GPL-2+ CC-BY-SA-3.0"
43 +# subslot = evd3.(suffix of libevdocument3)-evv3.(suffix of libevview3)
44 +SLOT="0/evd3.4-evv3.3"
45 +IUSE="djvu dvi gstreamer gnome gnome-keyring +introspection nautilus nsplugin +postscript t1lib tiff xps"
46 +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~x64-solaris"
47 +
48 +# atk used in libview
49 +# bundles unarr
50 +COMMON_DEPEND="
51 + dev-libs/atk
52 + >=dev-libs/glib-2.36:2[dbus]
53 + >=dev-libs/libxml2-2.5:2
54 + sys-libs/zlib:=
55 + >=x11-libs/gdk-pixbuf-2.36.5:2
56 + >=x11-libs/gtk+-3.16.0:3[introspection?]
57 + gnome-base/gsettings-desktop-schemas
58 + >=x11-libs/cairo-1.10:=
59 + >=app-text/poppler-0.33[cairo]
60 + >=app-arch/libarchive-3.2.0
61 + djvu? ( >=app-text/djvu-3.5.22:= )
62 + dvi? (
63 + virtual/tex-base
64 + dev-libs/kpathsea:=
65 + t1lib? ( >=media-libs/t1lib-5:= ) )
66 + gstreamer? (
67 + media-libs/gstreamer:1.0
68 + media-libs/gst-plugins-base:1.0
69 + media-libs/gst-plugins-good:1.0 )
70 + gnome? ( gnome-base/gnome-desktop:3= )
71 + gnome-keyring? ( >=app-crypt/libsecret-0.5 )
72 + introspection? ( >=dev-libs/gobject-introspection-1:= )
73 + nautilus? ( >=gnome-base/nautilus-2.91.4[introspection?] )
74 + postscript? ( >=app-text/libspectre-0.2:= )
75 + tiff? ( >=media-libs/tiff-3.6:0= )
76 + xps? ( >=app-text/libgxps-0.2.1:= )
77 +"
78 +RDEPEND="${COMMON_DEPEND}
79 + gnome-base/gvfs
80 + gnome-base/librsvg
81 + || (
82 + >=x11-themes/adwaita-icon-theme-2.17.1
83 + >=x11-themes/hicolor-icon-theme-0.10 )
84 +"
85 +DEPEND="${COMMON_DEPEND}
86 + app-text/docbook-xml-dtd:4.3
87 + app-text/yelp-tools
88 + dev-util/gdbus-codegen
89 + >=dev-util/gtk-doc-am-1.13
90 + >=dev-util/intltool-0.35
91 + dev-util/itstool
92 + sys-devel/gettext
93 + virtual/pkgconfig
94 +"
95 +# eautoreconf needs:
96 +# app-text/yelp-tools
97 +
98 +src_prepare() {
99 + gnome2_src_prepare
100 +
101 + # Do not depend on adwaita-icon-theme, bug #326855, #391859
102 + # https://bugs.freedesktop.org/show_bug.cgi?id=29942
103 + sed -e 's/adwaita-icon-theme >= $ADWAITA_ICON_THEME_REQUIRED//g' \
104 + -i configure || die "sed failed"
105 +}
106 +
107 +src_configure() {
108 + gnome2_src_configure \
109 + --disable-static \
110 + --enable-pdf \
111 + --enable-comics \
112 + --enable-thumbnailer \
113 + --with-platform=gnome \
114 + --enable-dbus \
115 + $(use_enable djvu) \
116 + $(use_enable dvi) \
117 + $(use_enable gstreamer multimedia) \
118 + $(use_enable gnome libgnome-desktop) \
119 + $(use_with gnome-keyring keyring) \
120 + $(use_enable introspection) \
121 + $(use_enable nautilus) \
122 + $(use_enable nsplugin browser-plugin) \
123 + $(use_enable postscript ps) \
124 + $(use_enable t1lib) \
125 + $(use_enable tiff) \
126 + $(use_enable xps) \
127 + BROWSER_PLUGIN_DIR="${EPREFIX}"/usr/$(get_libdir)/nsbrowser/plugins \
128 + --with-systemduserunitdir="$(systemd_get_userunitdir)"
129 +}
130
131 diff --git a/app-text/evince/metadata.xml b/app-text/evince/metadata.xml
132 index 7601c5d749e..464a1318167 100644
133 --- a/app-text/evince/metadata.xml
134 +++ b/app-text/evince/metadata.xml
135 @@ -8,6 +8,7 @@
136 <use>
137 <flag name="dvi">Enable the built-in DVI viewer</flag>
138 <flag name="nautilus">Enable property page extension in <pkg>gnome-base/nautilus</pkg></flag>
139 + <flag name="postscript" restrict="&gt;=app-text/evince-3.26">Enable support for PostScript and Adobe Illustrator documents with <pkg>app-text/libspectre</pkg></flag>
140 <flag name="t1lib">Enable the Type-1 fonts for the built-in DVI viewer
141 (<pkg>media-libs/t1lib</pkg>)</flag>
142 <flag name="xps">Enable XPS viewer using <pkg>app-text/libgxps</pkg></flag>