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-1.4.3.ebuild feh-1.4.2.ebuild
Date: Sun, 25 Apr 2010 12:58:20
Message-Id: 20100425125813.8AD012C04C@corvid.gentoo.org
1 ssuominen 10/04/25 12:58:13
2
3 Modified: ChangeLog
4 Added: feh-1.4.3.ebuild
5 Removed: feh-1.4.2.ebuild
6 Log:
7 Version bump.
8 (Portage version: 2.2_rc67/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.44 media-gfx/feh/ChangeLog
12
13 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-gfx/feh/ChangeLog?rev=1.44&view=markup
14 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-gfx/feh/ChangeLog?rev=1.44&content-type=text/plain
15 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-gfx/feh/ChangeLog?r1=1.43&r2=1.44
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/media-gfx/feh/ChangeLog,v
20 retrieving revision 1.43
21 retrieving revision 1.44
22 diff -u -r1.43 -r1.44
23 --- ChangeLog 5 Apr 2010 18:17:16 -0000 1.43
24 +++ ChangeLog 25 Apr 2010 12:58:13 -0000 1.44
25 @@ -1,6 +1,11 @@
26 # ChangeLog for media-gfx/feh
27 # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/media-gfx/feh/ChangeLog,v 1.43 2010/04/05 18:17:16 armin76 Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/media-gfx/feh/ChangeLog,v 1.44 2010/04/25 12:58:13 ssuominen Exp $
30 +
31 +*feh-1.4.3 (25 Apr 2010)
32 +
33 + 25 Apr 2010; Samuli Suominen <ssuominen@g.o> +feh-1.4.3.ebuild:
34 + Version bump.
35
36 05 Apr 2010; Raúl Porcel <armin76@g.o> feh-1.4.1.ebuild:
37 alpha/sparc/x86 stable wrt #310673
38
39
40
41 1.1 media-gfx/feh/feh-1.4.3.ebuild
42
43 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-gfx/feh/feh-1.4.3.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-gfx/feh/feh-1.4.3.ebuild?rev=1.1&content-type=text/plain
45
46 Index: feh-1.4.3.ebuild
47 ===================================================================
48 # Copyright 1999-2010 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/media-gfx/feh/feh-1.4.3.ebuild,v 1.1 2010/04/25 12:58:13 ssuominen Exp $
51
52 EAPI=2
53 inherit toolchain-funcs
54
55 DESCRIPTION="A fast, lightweight imageviewer using imlib2"
56 HOMEPAGE="https://derf.homelinux.org/~derf/projects/feh/"
57 SRC_URI="mirror://debian/pool/main/f/${PN}/${PN}_${PV}.orig.tar.bz2"
58
59 LICENSE="as-is"
60 SLOT="0"
61 KEYWORDS="~alpha ~amd64 ~ppc ~ppc64 ~sparc ~x86"
62 IUSE="xinerama"
63
64 COMMON_DEPEND=">=media-libs/giblib-1.2.4
65 media-libs/imlib2
66 media-libs/libpng
67 x11-libs/libXext
68 x11-libs/libX11
69 xinerama? ( x11-libs/libXinerama )"
70 RDEPEND="${COMMON_DEPEND}
71 >=media-libs/jpeg-8a"
72 DEPEND="${COMMON_DEPEND}
73 x11-libs/libXt
74 x11-proto/xproto"
75
76 pkg_setup() {
77 fehopts="DESTDIR=${D}
78 doc_dir=${D}/usr/share/doc/${PF}
79 PREFIX=/usr"
80 }
81
82 src_prepare() {
83 if ! use xinerama; then
84 sed -i -e '/^xinerama/d' config.mk || die
85 fi
86
87 sed -i -e 's:LDFLAGS +=:LDLIBS =:' config.mk || die
88
89 sed -i \
90 -e 's:${LDFLAGS}:${LDLIBS}:' \
91 -e 's:${CC} ${CFLAGS}:${CC} ${LDFLAGS} ${CFLAGS}:' \
92 src/Makefile || die
93
94 sed -i \
95 -e 's:${doc_dir}/feh:${doc_dir}:g' \
96 Makefile || die
97 }
98
99 src_compile() {
100 tc-export CC
101 emake ${fehopts} || die
102 }
103
104 src_install() {
105 emake ${fehopts} install || die
106 prepalldocs
107 }