added my ebuild for evince 2.22 (dep on virt/tex-base instead of virt/tetex)

This commit is contained in:
Manuel Friedli 2008-03-13 17:44:31 +00:00
parent a61faab9d1
commit abcb9c539b
2 changed files with 78 additions and 0 deletions

View file

@ -2,4 +2,6 @@ AUX evince-0.5.3-display-menu.patch 460 RMD160 8c72adb3a9a7105518eb9d1f686c4a96f
AUX evince-0.6.1-dbus-switch.patch 974 RMD160 85726bcd9000ebde631d8102a0f79aa6d6df8de1 SHA1 246f5c18ba30de97922af003757283179134c7bf SHA256 1fe375cf561b215a9d25482b7e74ee254cf3f052a7a77a7ac7b71fa0e872fd49
AUX evince-0.7.1-display-menu.patch 476 RMD160 a16a5e1f32490a7db219442b23cbcf77773e6bdd SHA1 73a97e83b12ad80f6645339978717bcf8c7da575 SHA256 1f450dfe57ef3325cb4642141d76fc8e7bf837c221d81a2593214913af058f4d
DIST evince-2.20.2.tar.bz2 1614179 RMD160 25daf214a29a2ead7161574852fd89c5bb6a848b SHA1 9d8d847314d728e579009eae76f2a84e17c9c893 SHA256 c6e9f2d8a90f95bc235b21ffb5be0d183ce2bfaaea84a4eafdb2449a2349129c
DIST evince-2.22.0.tar.bz2 1618429 RMD160 5f54c3e8f7a980f35af2d2480f2f56971ffd6c95 SHA1 7c9fcc1fde30e673f7f5c96502ddf4dad6635cf4 SHA256 293778da77d42d8474bb401dc1a50d8e7d67b40b84ddce5fd39f871fef06a7ca
EBUILD evince-2.20.2.ebuild 1979 RMD160 25814f14d24c2c2acff9e6c3d368e8542c2713f9 SHA1 caea820dd875a0cad7c8186372d603edd434dae7 SHA256 089013c8519c276ad40436248bfeb0967d7529902537681e34851a0479b42c48
EBUILD evince-2.22.0.ebuild 2021 RMD160 814ec3138cbc24716fc921a87562e197e8265715 SHA1 3c0a3473c38cf4df28f8b1708c4daaae49564364 SHA256 cdcb7b28bde5c2c0d3e6400712f4ecb64fa88313bc4c320a46e0c18fdd4c3ebd

View file

@ -0,0 +1,76 @@
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-text/evince/evince-2.20.2.ebuild,v 1.4 2008/02/01 18:47:28 ranger Exp $
inherit eutils gnome2 autotools
DESCRIPTION="Simple document viewer for GNOME"
HOMEPAGE="http://www.gnome.org/projects/evince/"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ppc ppc64 ~sh ~sparc x86 ~x86-fbsd"
IUSE="dbus djvu doc dvi gnome t1lib tiff"
RDEPEND="
dbus? ( >=dev-libs/dbus-glib-0.71 )
>=x11-libs/gtk+-2.10
>=dev-libs/glib-2.15.6
>=gnome-base/gnome-keyring-0.4
>=gnome-base/libgnomeui-2.14
>=gnome-base/libgnome-2.14
>=x11-themes/gnome-icon-theme-2.17.1
>=dev-libs/libxml2-2.5
>=gnome-base/libglade-2
>=gnome-base/gconf-2
gnome? ( >=gnome-base/nautilus-2.10 )
>=app-text/poppler-bindings-0.6
dvi? (
virtual/tex-base
t1lib? ( >=media-libs/t1lib-5.0.0 )
)
tiff? ( >=media-libs/tiff-3.6 )
djvu? ( >=app-text/djvu-3.5.17 )
>=app-text/libspectre-0.2.0"
DEPEND="${RDEPEND}
app-text/scrollkeeper
>=dev-util/pkgconfig-0.9
>=sys-devel/automake-1.9
>=dev-util/intltool-0.35
>=app-text/gnome-doc-utils-0.3.2
doc? ( dev-util/gtk-doc )"
DOCS="AUTHORS ChangeLog NEWS README TODO"
ELTCONF="--portage"
RESTRICT="test"
pkg_setup() {
G2CONF="--disable-scrollkeeper \
--enable-comics \
--enable-impress \
$(use_enable dbus) \
$(use_enable djvu) \
$(use_enable dvi) \
$(use_enable t1lib) \
$(use_enable tiff) \
$(use_enable gnome nautilus)"
if ! built_with_use app-text/poppler-bindings gtk; then
einfo "Please re-emerge app-text/poppler-bindings with the gtk USE flag set"
die "poppler-bindings needs gtk flag set"
fi
}
src_unpack() {
gnome2_src_unpack
# Fix .desktop file so menu item shows up
epatch "${FILESDIR}"/${PN}-0.7.1-display-menu.patch
# Make dbus actually switchable
epatch "${FILESDIR}"/${PN}-0.6.1-dbus-switch.patch
use doc || epatch "${FILESDIR}/${PN}-2.22.0-gtk-doc-die-die-die.patch"
eautoreconf
}