/[gentoo-x86]/media-gfx/feh/feh-2.4.ebuild
Gentoo

Contents of /media-gfx/feh/feh-2.4.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.4 - (show annotations) (download)
Fri May 25 01:30:28 2012 UTC (5 years, 4 months ago) by radhermit
Branch: MAIN
CVS Tags: HEAD
Changes since 1.3: +1 -1 lines
FILE REMOVED
Remove old.

(Portage version: 2.2.0_alpha107/cvs/Linux x86_64)

1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/media-gfx/feh/feh-2.4.ebuild,v 1.3 2012/03/19 19:03:35 armin76 Exp $
4
5 EAPI=4
6 inherit eutils toolchain-funcs
7
8 DESCRIPTION="A fast, lightweight imageviewer using imlib2"
9 HOMEPAGE="http://feh.finalrewind.org/"
10 SRC_URI="http://feh.finalrewind.org/${P}.tar.bz2"
11
12 LICENSE="as-is"
13 SLOT="0"
14 KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86"
15 IUSE="debug curl exif test xinerama"
16
17 COMMON_DEPEND=">=media-libs/giblib-1.2.4
18 media-libs/imlib2
19 >=media-libs/libpng-1.2:0
20 x11-libs/libX11
21 curl? ( net-misc/curl )
22 exif? ( media-libs/libexif )
23 xinerama? ( x11-libs/libXinerama )"
24 RDEPEND="${COMMON_DEPEND}
25 virtual/jpeg"
26 DEPEND="${COMMON_DEPEND}
27 x11-libs/libXt
28 x11-proto/xproto
29 test? (
30 >=dev-lang/perl-5.10
31 dev-perl/Test-Command
32 )"
33
34 pkg_setup() {
35 use_feh() { usex $1 1 0; }
36
37 fehopts=(
38 DESTDIR="${D}"
39 PREFIX=/usr
40 doc_dir='${main_dir}'/share/doc/${PF}
41 example_dir='${main_dir}'/share/doc/${PF}/examples
42 curl=$(use_feh curl)
43 debug=$(use_feh debug)
44 xinerama=$(use_feh xinerama)
45 exif=$(use_feh exif)
46 )
47 }
48
49 src_compile() {
50 tc-export CC
51 emake "${fehopts[@]}"
52 }
53
54 src_install() {
55 emake "${fehopts[@]}" install
56 }

  ViewVC Help
Powered by ViewVC 1.1.20