Gentoo Archives: gentoo-commits

From: "Samuli Suominen (ssuominen)" <ssuominen@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in media-gfx/feh: ChangeLog feh-2.2.ebuild
Date: Mon, 02 Jan 2012 14:44:53
Message-Id: 20120102144443.8AEFF2004B@flycatcher.gentoo.org
1 ssuominen 12/01/02 14:44:43
2
3 Modified: ChangeLog
4 Added: feh-2.2.ebuild
5 Log:
6 Version bump.
7
8 (Portage version: 2.2.0_alpha84/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.95 media-gfx/feh/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/feh/ChangeLog?rev=1.95&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/feh/ChangeLog?rev=1.95&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/feh/ChangeLog?r1=1.94&r2=1.95
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/media-gfx/feh/ChangeLog,v
20 retrieving revision 1.94
21 retrieving revision 1.95
22 diff -u -r1.94 -r1.95
23 --- ChangeLog 18 Dec 2011 18:02:17 -0000 1.94
24 +++ ChangeLog 2 Jan 2012 14:44:43 -0000 1.95
25 @@ -1,6 +1,11 @@
26 # ChangeLog for media-gfx/feh
27 -# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/media-gfx/feh/ChangeLog,v 1.94 2011/12/18 18:02:17 armin76 Exp $
29 +# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
30 +# $Header: /var/cvsroot/gentoo-x86/media-gfx/feh/ChangeLog,v 1.95 2012/01/02 14:44:43 ssuominen Exp $
31 +
32 +*feh-2.2 (02 Jan 2012)
33 +
34 + 02 Jan 2012; Samuli Suominen <ssuominen@g.o> +feh-2.2.ebuild:
35 + Version bump.
36
37 18 Dec 2011; Raúl Porcel <armin76@g.o> feh-1.16.2.ebuild:
38 alpha/sparc stable wrt #388471
39
40
41
42 1.1 media-gfx/feh/feh-2.2.ebuild
43
44 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/feh/feh-2.2.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/feh/feh-2.2.ebuild?rev=1.1&content-type=text/plain
46
47 Index: feh-2.2.ebuild
48 ===================================================================
49 # Copyright 1999-2012 Gentoo Foundation
50 # Distributed under the terms of the GNU General Public License v2
51 # $Header: /var/cvsroot/gentoo-x86/media-gfx/feh/feh-2.2.ebuild,v 1.1 2012/01/02 14:44:43 ssuominen Exp $
52
53 EAPI=4
54 inherit eutils toolchain-funcs
55
56 DESCRIPTION="A fast, lightweight imageviewer using imlib2"
57 HOMEPAGE="http://feh.finalrewind.org/"
58 SRC_URI="http://feh.finalrewind.org/${P}.tar.bz2"
59
60 LICENSE="as-is"
61 SLOT="0"
62 KEYWORDS="~alpha ~amd64 ~arm ~ppc ~ppc64 ~sparc ~x86"
63 IUSE="debug curl test xinerama"
64
65 COMMON_DEPEND=">=media-libs/giblib-1.2.4
66 media-libs/imlib2
67 >=media-libs/libpng-1.2:0
68 x11-libs/libX11
69 curl? ( net-misc/curl )
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? ( >=dev-lang/perl-5.10
77 dev-perl/Test-Command )"
78
79 pkg_setup() {
80 use_feh() { usex $1 1 0; }
81
82 fehopts=(
83 DESTDIR="${D}"
84 PREFIX=/usr
85 doc_dir='${main_dir}'/share/doc/${PF}
86 example_dir='${main_dir}'/share/doc/${PF}/examples
87 debug=$(use_feh debug)
88 curl=$(use_feh curl)
89 xinerama=$(use_feh xinerama)
90 )
91 }
92
93 src_compile() {
94 tc-export CC
95 emake "${fehopts[@]}"
96 }
97
98 src_install() {
99 emake "${fehopts[@]}" install
100 }