Gentoo Archives: gentoo-commits

From: "Tim Harder (radhermit)" <radhermit@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in media-gfx/feh: ChangeLog feh-2.11.ebuild
Date: Mon, 28 Apr 2014 02:28:25
Message-Id: 20140428022819.B82A12004C@flycatcher.gentoo.org
1 radhermit 14/04/28 02:28:19
2
3 Modified: ChangeLog
4 Added: feh-2.11.ebuild
5 Log:
6 Version bump.
7
8 (Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key 4AB3E85B4F064CA3)
9
10 Revision Changes Path
11 1.144 media-gfx/feh/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/feh/ChangeLog?rev=1.144&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/feh/ChangeLog?rev=1.144&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/feh/ChangeLog?r1=1.143&r2=1.144
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/media-gfx/feh/ChangeLog,v
20 retrieving revision 1.143
21 retrieving revision 1.144
22 diff -u -r1.143 -r1.144
23 --- ChangeLog 4 Mar 2014 19:29:52 -0000 1.143
24 +++ ChangeLog 28 Apr 2014 02:28:19 -0000 1.144
25 @@ -1,6 +1,11 @@
26 # ChangeLog for media-gfx/feh
27 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/media-gfx/feh/ChangeLog,v 1.143 2014/03/04 19:29:52 vincent Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/media-gfx/feh/ChangeLog,v 1.144 2014/04/28 02:28:19 radhermit Exp $
30 +
31 +*feh-2.11 (28 Apr 2014)
32 +
33 + 28 Apr 2014; Tim Harder <radhermit@g.o> +feh-2.11.ebuild:
34 + Version bump.
35
36 04 Mar 2014; Vicente Olivert Riera <vincent@g.o> feh-2.10.ebuild:
37 Add ~mips keyword.
38
39
40
41 1.1 media-gfx/feh/feh-2.11.ebuild
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/feh/feh-2.11.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/feh/feh-2.11.ebuild?rev=1.1&content-type=text/plain
45
46 Index: feh-2.11.ebuild
47 ===================================================================
48 # Copyright 1999-2014 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.11.ebuild,v 1.1 2014/04/28 02:28:19 radhermit Exp $
51
52 EAPI=5
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="feh"
60 SLOT="0"
61 KEYWORDS="~amd64 ~arm ~mips ~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:0"
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 pkg_setup() {
82 use_feh() { usex $1 1 0; }
83
84 fehopts=(
85 DESTDIR="${D}"
86 PREFIX=/usr
87 doc_dir='${main_dir}'/share/doc/${PF}
88 example_dir='${main_dir}'/share/doc/${PF}/examples
89 curl=$(use_feh curl)
90 debug=$(use_feh debug)
91 xinerama=$(use_feh xinerama)
92 exif=$(use_feh exif)
93 )
94 }
95
96 src_prepare() {
97 epatch "${FILESDIR}"/${PN}-2.6.2-debug-cflags.patch
98 # fix desktop file
99 sed -i -e "s:^Icon=.*:Icon=/usr/share/feh/images/logo.svg:" \
100 share/applications/${PN}.pre || die
101 }
102
103 src_compile() {
104 tc-export CC
105 emake "${fehopts[@]}"
106 }
107
108 src_install() {
109 emake "${fehopts[@]}" install
110 }