summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Ruppert <idl0r@gentoo.org>2010-08-01 21:28:27 +0000
committerChristian Ruppert <idl0r@gentoo.org>2010-08-01 21:28:27 +0000
commit8e73c931a09918d404e430aae61ce5c9bf2d9482 (patch)
treec8c2dfe23909373dcc9fe8a8884110b9204bc0c0 /media-gfx
parentNew init script, with more thorough verification of the config, support for m... (diff)
downloadgentoo-2-8e73c931a09918d404e430aae61ce5c9bf2d9482.tar.gz
gentoo-2-8e73c931a09918d404e430aae61ce5c9bf2d9482.tar.bz2
gentoo-2-8e73c931a09918d404e430aae61ce5c9bf2d9482.zip
Revision bump. Fix dependencies, remove useless jpeg dependency and add media-libs/imlib2 use dependencies.
(Portage version: 2.2_rc67/cvs/Linux x86_64)
Diffstat (limited to 'media-gfx')
-rw-r--r--media-gfx/feh/ChangeLog8
-rw-r--r--media-gfx/feh/feh-1.8-r1.ebuild56
2 files changed, 63 insertions, 1 deletions
diff --git a/media-gfx/feh/ChangeLog b/media-gfx/feh/ChangeLog
index 424e316b1ad2..cf3a42d9953c 100644
--- a/media-gfx/feh/ChangeLog
+++ b/media-gfx/feh/ChangeLog
@@ -1,6 +1,12 @@
# 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.54 2010/07/23 20:25:10 ssuominen Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/feh/ChangeLog,v 1.55 2010/08/01 21:28:27 idl0r Exp $
+
+*feh-1.8-r1 (01 Aug 2010)
+
+ 01 Aug 2010; Christian Ruppert <idl0r@gentoo.org> +feh-1.8-r1.ebuild:
+ Revision bump. Fix dependencies, remove useless jpeg dependency and add
+ media-libs/imlib2 use dependencies.
23 Jul 2010; Samuli Suominen <ssuominen@gentoo.org> feh-1.8.ebuild:
Use virtual/jpeg.
diff --git a/media-gfx/feh/feh-1.8-r1.ebuild b/media-gfx/feh/feh-1.8-r1.ebuild
new file mode 100644
index 000000000000..b629be0fa417
--- /dev/null
+++ b/media-gfx/feh/feh-1.8-r1.ebuild
@@ -0,0 +1,56 @@
+# 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.8-r1.ebuild,v 1.1 2010/08/01 21:28:27 idl0r Exp $
+
+EAPI=2
+inherit toolchain-funcs
+
+DESCRIPTION="A fast, lightweight imageviewer using imlib2"
+HOMEPAGE="https://derf.homelinux.org/~derf/projects/feh/"
+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 gif jpeg png tiff xinerama"
+
+COMMON_DEPEND=">=media-libs/giblib-1.2.4
+ media-libs/imlib2[gif?,jpeg?,png?,tiff?]
+ >=media-libs/libpng-1.4
+ x11-libs/libX11
+ xinerama? ( x11-libs/libXinerama )"
+RDEPEND="${COMMON_DEPEND}"
+DEPEND="${COMMON_DEPEND}
+ x11-libs/libXt
+ x11-proto/xproto
+ test? ( dev-perl/Test-Command )"
+
+pkg_setup() {
+ fehopts=(
+ "DESTDIR=${D}"
+ "PREFIX=/usr"
+ "doc_dir=${D}/usr/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
+}