diff options
author | NP-Hardass <NP-Hardass@gentoo.org> | 2016-04-12 15:14:53 -0400 |
---|---|---|
committer | NP-Hardass <NP-Hardass@gentoo.org> | 2016-06-17 13:34:46 -0400 |
commit | a7324d0c4dceae01f6dbeeef64553bdfa3c2412d (patch) | |
tree | 6fce9bcc3f3cee92df3a8c8f2b2ee354483429d8 /app-text | |
parent | profiles/package.use.force: Force gtk3 (diff) | |
download | gentoo-mate-a7324d0c4dceae01f6dbeeef64553bdfa3c2412d.tar.gz gentoo-mate-a7324d0c4dceae01f6dbeeef64553bdfa3c2412d.tar.bz2 gentoo-mate-a7324d0c4dceae01f6dbeeef64553bdfa3c2412d.zip |
app-text/atril: Version bump to 1.12.2, add 9999, add gtk3
Package-Manager: portage-2.2.26
Diffstat (limited to 'app-text')
-rw-r--r-- | app-text/atril/Manifest | 1 | ||||
-rw-r--r-- | app-text/atril/atril-1.12.2.ebuild | 94 | ||||
-rw-r--r-- | app-text/atril/atril-9999.ebuild | 94 | ||||
-rw-r--r-- | app-text/atril/metadata.xml | 1 |
4 files changed, 190 insertions, 0 deletions
diff --git a/app-text/atril/Manifest b/app-text/atril/Manifest index 10a06fe..a40a15c 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.ebuild b/app-text/atril/atril-1.12.2.ebuild new file mode 100644 index 0000000..64e1d6e --- /dev/null +++ b/app-text/atril/atril-1.12.2.ebuild @@ -0,0 +1,94 @@ +# 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:0 ) + 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-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/atril-9999.ebuild b/app-text/atril/atril-9999.ebuild new file mode 100644 index 0000000..64e1d6e --- /dev/null +++ b/app-text/atril/atril-9999.ebuild @@ -0,0 +1,94 @@ +# 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:0 ) + 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-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 b7518dd..f3cdccc 100644 --- a/app-text/atril/metadata.xml +++ b/app-text/atril/metadata.xml @@ -11,6 +11,7 @@ <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 |