From 147b147aad85b9bbf666b29fa82050cbd3080448 Mon Sep 17 00:00:00 2001 From: Peter Alfredsen Date: Thu, 19 Mar 2009 22:37:29 +0000 Subject: Bump, bug 261123. Fix icons, bug 253993. Bump also presumably fixes bug 188980, since it was fixed in SVN at the time. (Portage version: 2.2_rc25/cvs/Linux x86_64) --- app-text/epdfview/ChangeLog | 8 +++++- app-text/epdfview/epdfview-0.1.7.ebuild | 46 +++++++++++++++++++++++++++++++++ 2 files changed, 53 insertions(+), 1 deletion(-) create mode 100644 app-text/epdfview/epdfview-0.1.7.ebuild (limited to 'app-text/epdfview') diff --git a/app-text/epdfview/ChangeLog b/app-text/epdfview/ChangeLog index 261acee5a466..8686e0ac13cb 100644 --- a/app-text/epdfview/ChangeLog +++ b/app-text/epdfview/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for app-text/epdfview # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-text/epdfview/ChangeLog,v 1.31 2009/03/07 14:17:18 gentoofan23 Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-text/epdfview/ChangeLog,v 1.32 2009/03/19 22:37:29 loki_val Exp $ + +*epdfview-0.1.7 (19 Mar 2009) + + 19 Mar 2009; Peter Alfredsen +epdfview-0.1.7.ebuild: + Bump, bug 261123. Fix icons, bug 253993. Bump also presumably fixes bug + 188980, since it was fixed in SVN at the time. 07 Mar 2009; Thomas Anderson epdfview-0.1.6-r1.ebuild: diff --git a/app-text/epdfview/epdfview-0.1.7.ebuild b/app-text/epdfview/epdfview-0.1.7.ebuild new file mode 100644 index 000000000000..5764b51cef98 --- /dev/null +++ b/app-text/epdfview/epdfview-0.1.7.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-text/epdfview/epdfview-0.1.7.ebuild,v 1.1 2009/03/19 22:37:29 loki_val Exp $ + +EAPI="2" + +inherit gnome2 + +DESCRIPTION="Lightweight PDF viewer using Poppler and GTK+ libraries." +HOMEPAGE="http://trac.emma-soft.com/epdfview/" +SRC_URI="http://trac.emma-soft.com/epdfview/chrome/site/releases/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~hppa ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd" +IUSE="cups nls test" + +RDEPEND=">=app-text/poppler-bindings-0.5.0[gtk] + >=x11-libs/gtk+-2.6 + cups? ( >=net-print/cups-1.1 )" +DEPEND="${RDEPEND} + >=dev-util/pkgconfig-0.9 + nls? ( sys-devel/gettext ) + test? ( dev-util/cppunit ) + userland_GNU? ( >=sys-apps/findutils-4.4.0 )" + +pkg_setup() { + G2CONF=$(use_with cups) + DOCS="AUTHORS NEWS README THANKS" +} + +src_prepare() { + gnome2_src_prepare + sed -i -e 's:Icon=icon_epdfview-48:Icon=epdfview:' data/epdfview.desktop || die "desktop sed failed" +} + +src_install() { + gnome2_src_install + find "${D}" -name 'icon_epdfview-*.png' -delete + for size in 24 32 48 + do + icnsdir="/usr/share/icons/hicolor/${size}x${size}/apps/" + insinto "${icnsdir}" || die "insinto failed" + newins data/icon_epdfview-${size}.png epdfview.png || die "newins failed" + done +} -- cgit v1.2.3-65-gdbad