blob: 71b02019d27f107aa328e03f3c0450dd77464073 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
|
# 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.4.1.ebuild,v 1.7 2010/04/05 18:17:16 armin76 Exp $
EAPI=2
inherit autotools
DESCRIPTION="A fast, lightweight imageviewer using imlib2"
HOMEPAGE="https://derf.homelinux.org/~derf/projects/feh/"
SRC_URI="mirror://gentoo/${P}.tar.bz2"
LICENSE="as-is"
SLOT="0"
KEYWORDS="alpha amd64 ppc ppc64 sparc x86"
IUSE="xinerama"
COMMON_DEPEND="x11-libs/libX11
media-libs/libpng
media-libs/imlib2
>=media-libs/giblib-1.2.4
xinerama? ( x11-libs/libXinerama
x11-libs/libXext )"
RDEPEND="${COMMON_DEPEND}
media-libs/jpeg:0"
DEPEND="${COMMON_DEPEND}
x11-libs/libXt
x11-proto/xproto"
src_prepare() {
mv -vf configure.in configure.ac
sed -i -e "/^docsdir =/s:doc/feh:share/doc/${PF}:" Makefile.am || die
eautoreconf
}
src_configure() {
econf \
$(use_enable xinerama)
}
src_install() {
emake DESTDIR="${D}" install || die
dodoc AUTHORS ChangeLog README TODO
}
|