Gentoo Archives: gentoo-commits

From: "Markos Chandras (hwoarang)" <hwoarang@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in media-gfx/feh: feh-2.6.ebuild ChangeLog
Date: Fri, 31 Aug 2012 19:12:50
Message-Id: 20120831191221.2CBAC20DD8@flycatcher.gentoo.org
1 hwoarang 12/08/31 19:12:21
2
3 Modified: ChangeLog
4 Added: feh-2.6.ebuild
5 Log:
6 Version bump
7
8 (Portage version: 2.1.11.12/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.111 media-gfx/feh/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/feh/ChangeLog?rev=1.111&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/feh/ChangeLog?rev=1.111&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/feh/ChangeLog?r1=1.110&r2=1.111
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/media-gfx/feh/ChangeLog,v
20 retrieving revision 1.110
21 retrieving revision 1.111
22 diff -u -r1.110 -r1.111
23 --- ChangeLog 25 May 2012 01:30:27 -0000 1.110
24 +++ ChangeLog 31 Aug 2012 19:12:21 -0000 1.111
25 @@ -1,6 +1,11 @@
26 # ChangeLog for media-gfx/feh
27 # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/media-gfx/feh/ChangeLog,v 1.110 2012/05/25 01:30:27 radhermit Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/media-gfx/feh/ChangeLog,v 1.111 2012/08/31 19:12:21 hwoarang Exp $
30 +
31 +*feh-2.6 (31 Aug 2012)
32 +
33 + 31 Aug 2012; Markos Chandras <hwoarang@g.o> +feh-2.6.ebuild:
34 + Version bump
35
36 25 May 2012; Tim Harder <radhermit@g.o> -feh-2.3.ebuild,
37 -feh-2.4.ebuild:
38
39
40
41 1.1 media-gfx/feh/feh-2.6.ebuild
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/feh/feh-2.6.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/feh/feh-2.6.ebuild?rev=1.1&content-type=text/plain
45
46 Index: feh-2.6.ebuild
47 ===================================================================
48 # Copyright 1999-2012 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/media-gfx/feh/feh-2.6.ebuild,v 1.1 2012/08/31 19:12:21 hwoarang Exp $
51
52 EAPI=4
53 inherit eutils toolchain-funcs
54
55 DESCRIPTION="A fast, lightweight imageviewer using imlib2"
56 HOMEPAGE="http://feh.finalrewind.org/"
57 SRC_URI="http://feh.finalrewind.org/${P}.tar.bz2"
58
59 LICENSE="as-is"
60 SLOT="0"
61 KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86"
62 IUSE="debug curl exif test xinerama"
63
64 COMMON_DEPEND=">=media-libs/giblib-1.2.4
65 media-libs/imlib2
66 >=media-libs/libpng-1.2:0
67 x11-libs/libX11
68 curl? ( net-misc/curl )
69 exif? ( media-libs/libexif )
70 xinerama? ( x11-libs/libXinerama )"
71 RDEPEND="${COMMON_DEPEND}
72 virtual/jpeg"
73 DEPEND="${COMMON_DEPEND}
74 x11-libs/libXt
75 x11-proto/xproto
76 test? (
77 >=dev-lang/perl-5.10
78 dev-perl/Test-Command
79 )"
80
81 # requires the mandoc utility which we don't have at the moment
82 RESTRICT="test"
83
84 pkg_setup() {
85 use_feh() { usex $1 1 0; }
86
87 fehopts=(
88 DESTDIR="${D}"
89 PREFIX=/usr
90 doc_dir='${main_dir}'/share/doc/${PF}
91 example_dir='${main_dir}'/share/doc/${PF}/examples
92 curl=$(use_feh curl)
93 debug=$(use_feh debug)
94 xinerama=$(use_feh xinerama)
95 exif=$(use_feh exif)
96 )
97 }
98
99 src_compile() {
100 tc-export CC
101 emake "${fehopts[@]}"
102 }
103
104 src_install() {
105 emake "${fehopts[@]}" install
106 }