summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2010-09-02 15:02:32 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2010-09-02 15:02:32 +0000
commit9a6e9c08fbcf974bd6b611389e097c9d9b0898ce (patch)
tree5055004b8bcbe118abcdcd6355352c7a47c70576 /media-gfx
parentAdd imagemagick USE flag, as reported in bug 335265 by Tassilo Horn (diff)
downloadgentoo-2-9a6e9c08fbcf974bd6b611389e097c9d9b0898ce.tar.gz
gentoo-2-9a6e9c08fbcf974bd6b611389e097c9d9b0898ce.tar.bz2
gentoo-2-9a6e9c08fbcf974bd6b611389e097c9d9b0898ce.zip
Version bump.
(Portage version: 2.2_rc69/cvs/Linux x86_64)
Diffstat (limited to 'media-gfx')
-rw-r--r--media-gfx/feh/ChangeLog7
-rw-r--r--media-gfx/feh/feh-1.9.ebuild58
2 files changed, 64 insertions, 1 deletions
diff --git a/media-gfx/feh/ChangeLog b/media-gfx/feh/ChangeLog
index d14bb719fa21..a6b18454ed23 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.56 2010/08/01 22:22:15 ssuominen Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/feh/ChangeLog,v 1.57 2010/09/02 15:02:32 ssuominen Exp $
+
+*feh-1.9 (02 Sep 2010)
+
+ 02 Sep 2010; Samuli Suominen <ssuominen@gentoo.org> +feh-1.9.ebuild:
+ Version bump.
23 Jul 2010; Samuli Suominen <ssuominen@gentoo.org> feh-1.8.ebuild:
Use virtual/jpeg.
diff --git a/media-gfx/feh/feh-1.9.ebuild b/media-gfx/feh/feh-1.9.ebuild
new file mode 100644
index 000000000000..4b4e1db62447
--- /dev/null
+++ b/media-gfx/feh/feh-1.9.ebuild
@@ -0,0 +1,58 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/feh/feh-1.9.ebuild,v 1.1 2010/09/02 15:02:32 ssuominen Exp $
+
+EAPI=2
+inherit toolchain-funcs
+
+DESCRIPTION="A fast, lightweight imageviewer using imlib2"
+HOMEPAGE="https://derf.homelinux.org/~derf/projects/feh/"
+SRC_URI="http://dev.gentoo.org/~ssuominen/${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-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_test() {
+ if has_version ">=dev-lang/perl-5.10"; then
+ emake test || die
+ fi
+}
+
+src_install() {
+ emake "${fehopts[@]}" install || die
+ prepalldocs
+}