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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.7 - (show annotations) (download)
Sun May 19 05:54:43 2013 UTC (4 years, 8 months ago) by radhermit
Branch: MAIN
CVS Tags: HEAD
Changes since 1.6: +1 -1 lines
FILE REMOVED
Remove old.

(Portage version: 2.2.0_alpha175/cvs/Linux x86_64, signed Manifest commit with key 4AB3E85B4F064CA3)

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.5.ebuild,v 1.6 2012/12/23 11:03:19 ulm 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="feh"
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