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.10.ebuild |
Date: | Sat, 01 Mar 2014 07:25:03 |
Message-Id: | 20140301072456.C1E072004C@flycatcher.gentoo.org |
1 | radhermit 14/03/01 07:24:56 |
2 | |
3 | Modified: ChangeLog |
4 | Added: feh-2.10.ebuild |
5 | Log: |
6 | Version bump. |
7 | |
8 | (Portage version: 2.2.8-r1/cvs/Linux x86_64, signed Manifest commit with key 4AB3E85B4F064CA3) |
9 | |
10 | Revision Changes Path |
11 | 1.140 media-gfx/feh/ChangeLog |
12 | |
13 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/feh/ChangeLog?rev=1.140&view=markup |
14 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/feh/ChangeLog?rev=1.140&content-type=text/plain |
15 | diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/feh/ChangeLog?r1=1.139&r2=1.140 |
16 | |
17 | Index: ChangeLog |
18 | =================================================================== |
19 | RCS file: /var/cvsroot/gentoo-x86/media-gfx/feh/ChangeLog,v |
20 | retrieving revision 1.139 |
21 | retrieving revision 1.140 |
22 | diff -u -r1.139 -r1.140 |
23 | --- ChangeLog 26 Jan 2014 10:58:50 -0000 1.139 |
24 | +++ ChangeLog 1 Mar 2014 07:24:56 -0000 1.140 |
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.139 2014/01/26 10:58:50 ago Exp $ |
29 | +# $Header: /var/cvsroot/gentoo-x86/media-gfx/feh/ChangeLog,v 1.140 2014/03/01 07:24:56 radhermit Exp $ |
30 | + |
31 | +*feh-2.10 (01 Mar 2014) |
32 | + |
33 | + 01 Mar 2014; Tim Harder <radhermit@g.o> +feh-2.10.ebuild: |
34 | + Version bump. |
35 | |
36 | 26 Jan 2014; Agostino Sarubbo <ago@g.o> feh-2.9.3.ebuild: |
37 | Stable for x86, wrt bug #496132 |
38 | |
39 | |
40 | |
41 | 1.1 media-gfx/feh/feh-2.10.ebuild |
42 | |
43 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/feh/feh-2.10.ebuild?rev=1.1&view=markup |
44 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/feh/feh-2.10.ebuild?rev=1.1&content-type=text/plain |
45 | |
46 | Index: feh-2.10.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.10.ebuild,v 1.1 2014/03/01 07:24:56 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 ~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 | } |