Gentoo Archives: gentoo-commits

From: Ole Reifschneider <tranquility@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/gnome:master commit in: app-text/evince/
Date: Sun, 11 Oct 2015 20:47:05
Message-Id: 1444596373.fc8f729923553c02469bbe03fc730b58a425c5f8.tranquility@gentoo
1 commit: fc8f729923553c02469bbe03fc730b58a425c5f8
2 Author: Ole Reifschneider <tranquility <AT> gentoo <DOT> org>
3 AuthorDate: Sun Oct 4 10:58:08 2015 +0000
4 Commit: Ole Reifschneider <tranquility <AT> gentoo <DOT> org>
5 CommitDate: Sun Oct 11 20:46:13 2015 +0000
6 URL: https://gitweb.gentoo.org/proj/gnome.git/commit/?id=fc8f7299
7
8 app-text/evince: Bump version to 3.18.0
9
10 Package-Manager: portage-2.2.22
11 Manifest-Sign-Key: 7E8B4D42
12
13 app-text/evince/evince-3.18.0.ebuild | 101 +++++++++++++++++++++++++++++++++++
14 app-text/evince/metadata.xml | 1 +
15 2 files changed, 102 insertions(+)
16
17 diff --git a/app-text/evince/evince-3.18.0.ebuild b/app-text/evince/evince-3.18.0.ebuild
18 new file mode 100644
19 index 0000000..63418d6
20 --- /dev/null
21 +++ b/app-text/evince/evince-3.18.0.ebuild
22 @@ -0,0 +1,101 @@
23 +# Copyright 1999-2015 Gentoo Foundation
24 +# Distributed under the terms of the GNU General Public License v2
25 +# $Id$
26 +
27 +EAPI="5"
28 +GCONF_DEBUG="yes"
29 +GNOME2_LA_PUNT="yes"
30 +
31 +inherit gnome2
32 +
33 +DESCRIPTION="Simple document viewer for GNOME"
34 +HOMEPAGE="https://wiki.gnome.org/Apps/Evince"
35 +
36 +LICENSE="GPL-2+ CC-BY-SA-3.0"
37 +# subslot = evd3.(suffix of libevdocument3)-evv3.(suffix of libevview3)
38 +SLOT="0/evd3.4-evv3.3"
39 +IUSE="djvu dvi gnome +introspection libsecret multimedia nautilus nsplugin +postscript t1lib tiff xps"
40 +KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~x86-freebsd ~x86-interix ~amd64-linux ~x86-linux ~x64-solaris"
41 +
42 +# Since 2.26.2, can handle poppler without cairo support. Make it optional ?
43 +# not mature enough
44 +# atk used in libview
45 +# gdk-pixbuf used all over the place
46 +# libX11 used for totem-screensaver
47 +COMMON_DEPEND="
48 + dev-libs/atk
49 + >=dev-libs/glib-2.36:2[dbus]
50 + >=dev-libs/libxml2-2.5:2
51 + sys-libs/zlib:=
52 + x11-libs/gdk-pixbuf:2
53 + >=x11-libs/gtk+-3.16.0:3[introspection?]
54 + gnome-base/gsettings-desktop-schemas
55 + >=x11-libs/cairo-1.10:=
56 + >=app-text/poppler-0.24:=[cairo]
57 + djvu? ( >=app-text/djvu-3.5.17:= )
58 + dvi? (
59 + virtual/tex-base
60 + dev-libs/kpathsea:=
61 + t1lib? ( >=media-libs/t1lib-5:= ) )
62 + gnome? ( gnome-base/gnome-desktop:3 )
63 + introspection? ( >=dev-libs/gobject-introspection-1 )
64 + libsecret? ( >=app-crypt/libsecret-0.5 )
65 + multimedia? ( media-libs/gstreamer:1.0= )
66 + nautilus? ( >=gnome-base/nautilus-2.91.4[introspection?] )
67 + postscript? ( >=app-text/libspectre-0.2:= )
68 + tiff? ( >=media-libs/tiff-3.6:0= )
69 + xps? ( >=app-text/libgxps-0.2.1:= )
70 +"
71 +RDEPEND="${COMMON_DEPEND}
72 + gnome-base/gvfs
73 + gnome-base/librsvg
74 + || (
75 + >=x11-themes/adwaita-icon-theme-2.17.1
76 + >=x11-themes/gnome-icon-theme-2.17.1
77 + >=x11-themes/hicolor-icon-theme-0.10 )
78 + x11-themes/gnome-icon-theme-symbolic
79 +"
80 +DEPEND="${COMMON_DEPEND}
81 + app-text/docbook-xml-dtd:4.3
82 + app-text/yelp-tools
83 + dev-util/gdbus-codegen
84 + >=dev-util/gtk-doc-am-1.13
85 + >=dev-util/intltool-0.35
86 + sys-devel/gettext
87 + virtual/pkgconfig
88 +"
89 +# eautoreconf needs:
90 +# app-text/yelp-tools
91 +
92 +src_prepare() {
93 + gnome2_src_prepare
94 +
95 + # Do not depend on adwaita-icon-theme, bug #326855, #391859
96 + # https://bugs.freedesktop.org/show_bug.cgi?id=29942
97 + sed -e 's/adwaita-icon-theme >= $ADWAITA_ICON_THEME_REQUIRED//g' \
98 + -i configure || die "sed failed"
99 +}
100 +
101 +src_configure() {
102 + gnome2_src_configure \
103 + --disable-static \
104 + --enable-pdf \
105 + --enable-comics \
106 + --enable-thumbnailer \
107 + --with-platform=gnome \
108 + --enable-dbus \
109 + $(use_enable djvu) \
110 + $(use_enable dvi) \
111 + $(use_with libsecret keyring) \
112 + $(use_enable gnome libgnome-desktop) \
113 + $(use_enable introspection) \
114 + $(use_enable multimedia) \
115 + $(use_enable nautilus) \
116 + $(use_enable nsplugin browser-plugin) \
117 + $(use_enable postscript ps) \
118 + $(use_enable t1lib) \
119 + $(use_enable tiff) \
120 + $(use_enable xps) \
121 + BROWSER_PLUGIN_DIR="${EPREFIX}"/usr/$(get_libdir)/nsbrowser/plugins \
122 + ITSTOOL=$(type -P true)
123 +}
124
125 diff --git a/app-text/evince/metadata.xml b/app-text/evince/metadata.xml
126 index db576ea..d0f2b2e 100644
127 --- a/app-text/evince/metadata.xml
128 +++ b/app-text/evince/metadata.xml
129 @@ -4,6 +4,7 @@
130 <herd>gnome</herd>
131 <use>
132 <flag name="dvi">Enable the built-in DVI viewer</flag>
133 + <flag name="multimedia">Enable multimedia support</flag>
134 <flag name="nautilus">Enable property page extension in <pkg>gnome-base/nautilus</pkg></flag>
135 <flag name="libsecret">Enable support for credentials store</flag>
136 <flag name="t1lib">Enable the Type-1 fonts for the built-in DVI viewer