Gentoo Archives: gentoo-commits

From: "Justin Lecher (jlec)" <jlec@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in media-gfx/flphoto: ChangeLog flphoto-1.3.1-r2.ebuild
Date: Thu, 06 Jan 2011 12:41:37
Message-Id: 20110106124128.1820020057@flycatcher.gentoo.org
1 jlec 11/01/06 12:41:28
2
3 Modified: ChangeLog
4 Added: flphoto-1.3.1-r2.ebuild
5 Log:
6 Respecting user *FLAGS$; #341665, compiling in parallel, installation of .desktop files, added support for debug and nls
7
8 (Portage version: 2.2.0_alpha13/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.20 media-gfx/flphoto/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/flphoto/ChangeLog?rev=1.20&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/flphoto/ChangeLog?rev=1.20&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/flphoto/ChangeLog?r1=1.19&r2=1.20
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/media-gfx/flphoto/ChangeLog,v
20 retrieving revision 1.19
21 retrieving revision 1.20
22 diff -u -r1.19 -r1.20
23 --- ChangeLog 1 Jun 2010 14:18:04 -0000 1.19
24 +++ ChangeLog 6 Jan 2011 12:41:27 -0000 1.20
25 @@ -1,6 +1,13 @@
26 # ChangeLog for media-gfx/flphoto
27 -# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/media-gfx/flphoto/ChangeLog,v 1.19 2010/06/01 14:18:04 josejx Exp $
29 +# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
30 +# $Header: /var/cvsroot/gentoo-x86/media-gfx/flphoto/ChangeLog,v 1.20 2011/01/06 12:41:27 jlec Exp $
31 +
32 +*flphoto-1.3.1-r2 (06 Jan 2011)
33 +
34 + 06 Jan 2011; Justin Lecher <jlec@g.o> +flphoto-1.3.1-r2.ebuild,
35 + +files/flphoto-1.3.1-linking.patch:
36 + Respecting user *FLAGS$; #341665, compiling in parallel, installation of
37 + .desktop files, added support for debug and nls
38
39 01 Jun 2010; Joseph Jezak <josejx@g.o> -flphoto-1.2.ebuild,
40 -flphoto-1.3.1.ebuild, flphoto-1.3.1-r1.ebuild, +files/espmsg.patch:
41
42
43
44 1.1 media-gfx/flphoto/flphoto-1.3.1-r2.ebuild
45
46 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/flphoto/flphoto-1.3.1-r2.ebuild?rev=1.1&view=markup
47 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/flphoto/flphoto-1.3.1-r2.ebuild?rev=1.1&content-type=text/plain
48
49 Index: flphoto-1.3.1-r2.ebuild
50 ===================================================================
51 # Copyright 1999-2011 Gentoo Foundation
52 # Distributed under the terms of the GNU General Public License v2
53 # $Header: /var/cvsroot/gentoo-x86/media-gfx/flphoto/flphoto-1.3.1-r2.ebuild,v 1.1 2011/01/06 12:41:27 jlec Exp $
54
55 EAPI=3
56
57 inherit autotools eutils fdo-mime
58
59 DESCRIPTION="Basic image management and display program based on the FLTK toolkit"
60 HOMEPAGE="http://www.easysw.com/~mike/flphoto/"
61 SRC_URI="mirror://sourceforge/fltk/${P}-source.tar.gz"
62
63 LICENSE="GPL-2"
64 SLOT="0"
65 KEYWORDS="~amd64 ~ppc ~x86"
66 IUSE="cups debug gphoto2 nls"
67
68 DEPEND="
69 dev-libs/openssl
70 media-libs/jpeg
71 media-libs/libpng
72 sys-libs/zlib
73 x11-libs/fltk:1.1
74 x11-libs/libX11
75 x11-misc/shared-mime-info
76 cups? ( net-print/cups )
77 gphoto2? ( media-gfx/gphoto2 )"
78 RDEPEND="${DEPEND}"
79
80 src_prepare() {
81 epatch \
82 "${FILESDIR}"/flphoto-1.3.1-glibc28.patch \
83 "${FILESDIR}"/flphoto-1.3.1-linking.patch \
84 "${FILESDIR}"/espmsg.patch
85 eautoreconf
86 }
87
88 src_configure() {
89 econf \
90 --with-docdir=/usr/share/doc/${PF} \
91 $(use_enable debug)
92 }
93
94 src_compile() {
95 emake || die
96 if use nls; then
97 emake translations || die
98 fi
99 }
100
101 src_install() {
102 emake DESTDIR="${D}" install || die
103 if use nls; then
104 emake DESTDIR="${D}" install-translations || die
105 fi
106 insinto /usr/share/mime/packages
107 doins "${FILESDIR}"/album.xml || die
108 }
109
110 pkg_postinst() {
111 fdo-mime_desktop_database_update
112 fdo-mime_mime_database_update
113 }
114
115 pkg_postrm() {
116 fdo-mime_desktop_database_update
117 fdo-mime_mime_database_update
118 }