summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNP-Hardass <NP-Hardass@gentoo.org>2016-08-11 23:39:31 -0400
committerNP-Hardass <NP-Hardass@gentoo.org>2016-08-12 01:12:30 -0400
commit8ac8861f98c51c83973560e3b0465dc13081d073 (patch)
treee3ad1600dcea2c21b7190b368323a5635922e776 /app-text/atril
parentmate-extra/mate-system-monitor: 1.12.x vbump, add gtk3, import from project repo (diff)
downloadgentoo-8ac8861f98c51c83973560e3b0465dc13081d073.tar.gz
gentoo-8ac8861f98c51c83973560e3b0465dc13081d073.tar.bz2
gentoo-8ac8861f98c51c83973560e3b0465dc13081d073.zip
app-text/atril: 1.12.x vbump, add gtk3 support, import from project repo
Package-Manager: portage-2.3.0
Diffstat (limited to 'app-text/atril')
-rw-r--r--app-text/atril/Manifest1
-rw-r--r--app-text/atril/atril-1.12.2-r3.ebuild95
-rw-r--r--app-text/atril/metadata.xml3
3 files changed, 98 insertions, 1 deletions
diff --git a/app-text/atril/Manifest b/app-text/atril/Manifest
index 10a06fe90b54..a40a15c9997c 100644
--- a/app-text/atril/Manifest
+++ b/app-text/atril/Manifest
@@ -1 +1,2 @@
DIST atril-1.10.3.tar.xz 2106560 SHA256 2680279137307fe68500ed5006f70bf73a2dd15536dee0592cb77d031d6e3a90 SHA512 8b083aaced82a10cfd7b0d0e5342b23c99ef868da3b2376b547a252659cbe9e3669344515b98ecee046e3011ee7cd5028154a87bd198c92ba577953483107002 WHIRLPOOL 94b3679cedc9b57e35be963458c0f0d8c0c1865a4021c403cf03943824a278013f1b4feaf14d9cc2903768fc6247bea84e1e028be05c46c53047df37899246da
+DIST atril-1.12.2.tar.xz 1663920 SHA256 47cd22969d4ff6ef860a310a57f77f1fcc0c5674113a72ee507d2b1b5c780226 SHA512 2ceeda42adeb284a25caff3a69d15a231129988fb410e4d502a281ccf5819307b9963722a2e330307a1c3b15d3c82405b708d983ed1c266e091a35264766e6ec WHIRLPOOL 8eb8a0cd40c0c3d21141493a09b3dc8f2c4d902fff1ed80fe5468b1ac342c81312518c015cbd288372f228bc4bb91bb1555af8f8b5842e72e4eb895fc787988c
diff --git a/app-text/atril/atril-1.12.2-r3.ebuild b/app-text/atril/atril-1.12.2-r3.ebuild
new file mode 100644
index 000000000000..f059797637b5
--- /dev/null
+++ b/app-text/atril/atril-1.12.2-r3.ebuild
@@ -0,0 +1,95 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+MATE_LA_PUNT="yes"
+
+inherit mate
+
+if [[ ${PV} != 9999 ]]; then
+ KEYWORDS="~amd64 ~arm ~x86"
+fi
+
+DESCRIPTION="Atril document viewer for MATE"
+LICENSE="GPL-2"
+SLOT="0"
+
+IUSE="caja dbus debug djvu dvi epub +introspection gnome-keyring gtk3 +postscript t1lib tiff xps"
+
+REQUIRED_USE="t1lib? ( dvi )"
+
+RDEPEND=">=app-text/poppler-0.16:0=[cairo]
+ app-text/rarian:0
+ dev-libs/atk:0
+ >=dev-libs/glib-2.36:2
+ >=dev-libs/libxml2-2.5:2
+ >=mate-base/mate-desktop-1.9[gtk3(-)=]
+ sys-libs/zlib:0
+ x11-libs/gdk-pixbuf:2
+ x11-libs/libICE:0
+ >=x11-libs/libSM-1:0
+ x11-libs/libX11:0
+ >=x11-libs/cairo-1.9.10:0
+ x11-libs/pango:0
+ caja? ( >=mate-base/caja-1.8[gtk3(-)=,introspection?] )
+ djvu? ( >=app-text/djvu-3.5.17:0 )
+ dvi? (
+ virtual/tex-base:0
+ t1lib? ( >=media-libs/t1lib-5:5 )
+ )
+ epub? ( dev-libs/mathjax )
+ gnome-keyring? ( >=app-crypt/libsecret-0.5:0 )
+ !gtk3? (
+ >=x11-libs/gtk+-2.24.0:2[introspection?]
+ epub? ( >=net-libs/webkit-gtk-2.4.3:2 )
+ )
+ gtk3? (
+ >=x11-libs/gtk+-3.0:3[introspection?]
+ epub? ( >=net-libs/webkit-gtk-2.4.3:4 )
+ )
+ introspection? ( >=dev-libs/gobject-introspection-0.6:= )
+ postscript? ( >=app-text/libspectre-0.2:0 )
+ tiff? ( >=media-libs/tiff-3.6:0 )
+ xps? ( >=app-text/libgxps-0.2.0:0 )
+ !!app-text/mate-document-viewer"
+
+DEPEND="${RDEPEND}
+ app-text/docbook-xml-dtd:4.1.2
+ app-text/yelp-tools:0
+ >=app-text/scrollkeeper-dtd-1:1.0
+ dev-util/gtk-doc
+ dev-util/gtk-doc-am
+ >=dev-util/intltool-0.50.1:*
+ virtual/pkgconfig:*
+ sys-devel/gettext:*"
+
+# Tests use dogtail which is not available on Gentoo.
+RESTRICT="test"
+
+src_configure() {
+ # Passing --disable-help would drop offline help, that would be inconsistent
+ # with helps of the most of GNOME apps that doesn't require network for that.
+ mate_src_configure \
+ --disable-tests \
+ --enable-comics \
+ --enable-pdf \
+ --enable-pixbuf \
+ --enable-previewer \
+ --enable-thumbnailer \
+ --with-matedesktop \
+ --with-gtk=$(usex gtk3 3.0 2.0) \
+ $(use_with gnome-keyring keyring) \
+ $(use_enable caja) \
+ $(use_enable dbus) \
+ $(use_enable debug) \
+ $(use_enable djvu) \
+ $(use_enable dvi) \
+ $(use_enable epub) \
+ $(use_enable introspection) \
+ $(use_enable postscript ps) \
+ $(use_enable t1lib) \
+ $(use_enable tiff) \
+ $(use_enable xps)
+}
diff --git a/app-text/atril/metadata.xml b/app-text/atril/metadata.xml
index 82071efb6221..f3cdcccad804 100644
--- a/app-text/atril/metadata.xml
+++ b/app-text/atril/metadata.xml
@@ -11,10 +11,11 @@
<flag name="dvi">Enable build-in DVI viewer</flag>
<flag name="epub">Enable build-in DVI viewer using
<pkg>net-libs/webkit-gtk</pkg></flag>
+ <flag name="gtk3">Build with GTK+3 instead of GTK+2</flag>
<flag name="t1lib">Enable the Type-1 fonts for the build-in DVI viewer
(<pkg>media-libs/t1lib</pkg>)</flag>
<flag name="xps">Enable XPS viewer using
- <pkg>app-text/libgxps</pkg></flag>
+ <pkg>app-text/libxps</pkg></flag>
</use>
<upstream>
<remote-id type="github">mate-desktop/atril</remote-id>