summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Harder <radhermit@gentoo.org>2011-01-14 09:17:07 +0000
committerTim Harder <radhermit@gentoo.org>2011-01-14 09:17:07 +0000
commitffb181ffb6592c956a61eb4d880aebbf1788410e (patch)
tree8f686c8777af4927cce916c7eebeebf7ba8f897f /media-gfx
parentVersion Bump, 262395; Thanks Grygoriy I. Fuchedzhy for prelimary ebuild (diff)
downloadgentoo-2-ffb181ffb6592c956a61eb4d880aebbf1788410e.tar.gz
gentoo-2-ffb181ffb6592c956a61eb4d880aebbf1788410e.tar.bz2
gentoo-2-ffb181ffb6592c956a61eb4d880aebbf1788410e.zip
Version bump
(Portage version: 2.2.0_alpha15/cvs/Linux x86_64)
Diffstat (limited to 'media-gfx')
-rw-r--r--media-gfx/feh/ChangeLog9
-rw-r--r--media-gfx/feh/feh-1.10.1.ebuild53
2 files changed, 60 insertions, 2 deletions
diff --git a/media-gfx/feh/ChangeLog b/media-gfx/feh/ChangeLog
index 09482b010809..13821f5e199c 100644
--- a/media-gfx/feh/ChangeLog
+++ b/media-gfx/feh/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for media-gfx/feh
-# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-gfx/feh/ChangeLog,v 1.62 2010/12/05 18:38:33 armin76 Exp $
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/feh/ChangeLog,v 1.63 2011/01/14 09:17:07 radhermit Exp $
+
+*feh-1.10.1 (14 Jan 2011)
+
+ 14 Jan 2011; Tim Harder <radhermit@gentoo.org> +feh-1.10.1.ebuild:
+ Version bump
05 Dec 2010; Raúl Porcel <armin76@gentoo.org> feh-1.9.ebuild:
alpha/sparc stable wrt #343149
diff --git a/media-gfx/feh/feh-1.10.1.ebuild b/media-gfx/feh/feh-1.10.1.ebuild
new file mode 100644
index 000000000000..32fc2558a02f
--- /dev/null
+++ b/media-gfx/feh/feh-1.10.1.ebuild
@@ -0,0 +1,53 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/feh/feh-1.10.1.ebuild,v 1.1 2011/01/14 09:17:07 radhermit Exp $
+
+EAPI=2
+inherit toolchain-funcs
+
+DESCRIPTION="A fast, lightweight imageviewer using imlib2"
+HOMEPAGE="https://derf.homelinux.org/~derf/projects/feh/"
+SRC_URI="mirror://gentoo/${P}.tar.bz2"
+#SRC_URI="http://www.chaosdorf.de/~derf/feh/${P}.tar.bz2"
+
+LICENSE="as-is"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~ppc ~ppc64 ~sparc ~x86"
+IUSE="test xinerama"
+
+COMMON_DEPEND=">=media-libs/giblib-1.2.4
+ media-libs/imlib2
+ >=media-libs/libpng-1.4
+ x11-libs/libX11
+ xinerama? ( x11-libs/libXinerama )"
+RDEPEND="${COMMON_DEPEND}
+ virtual/jpeg"
+DEPEND="${COMMON_DEPEND}
+ x11-libs/libXt
+ x11-proto/xproto
+ test? ( >=dev-lang/perl-5.10
+ dev-perl/Test-Command )"
+
+pkg_setup() {
+ fehopts=(
+ DESTDIR="${D}"
+ PREFIX=/usr
+ doc_dir='${main_dir}'/share/doc/${PF}
+ )
+}
+
+src_prepare() {
+ if ! use xinerama; then
+ sed -i -e '/^xinerama/d' config.mk || die
+ fi
+}
+
+src_compile() {
+ tc-export CC
+ emake "${fehopts[@]}" || die
+}
+
+src_install() {
+ emake "${fehopts[@]}" install || die
+ prepalldocs
+}