Gentoo Archives: gentoo-commits

From: "Gilles Dartiguelongue (eva)" <eva@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in media-gfx/gphoto2: ChangeLog gphoto2-2.4.4.ebuild
Date: Sat, 31 Jan 2009 16:51:46
Message-Id: E1LTJ4J-00069z-Iu@stork.gentoo.org
1 eva 09/01/31 16:51:43
2
3 Modified: ChangeLog
4 Added: gphoto2-2.4.4.ebuild
5 Log:
6 Bump to 2.4.4. Translation updates.
7 (Portage version: 2.2_rc23/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.74 media-gfx/gphoto2/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-gfx/gphoto2/ChangeLog?rev=1.74&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-gfx/gphoto2/ChangeLog?rev=1.74&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-gfx/gphoto2/ChangeLog?r1=1.73&r2=1.74
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/media-gfx/gphoto2/ChangeLog,v
19 retrieving revision 1.73
20 retrieving revision 1.74
21 diff -u -r1.73 -r1.74
22 --- ChangeLog 25 Jan 2009 17:18:32 -0000 1.73
23 +++ ChangeLog 31 Jan 2009 16:51:43 -0000 1.74
24 @@ -1,6 +1,11 @@
25 # ChangeLog for media-gfx/gphoto2
26 # Copyright 2002-2009 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/media-gfx/gphoto2/ChangeLog,v 1.73 2009/01/25 17:18:32 klausman Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/media-gfx/gphoto2/ChangeLog,v 1.74 2009/01/31 16:51:43 eva Exp $
29 +
30 +*gphoto2-2.4.4 (31 Jan 2009)
31 +
32 + 31 Jan 2009; Gilles Dartiguelongue <eva@g.o> +gphoto2-2.4.4.ebuild:
33 + Bump to 2.4.4. Translation updates.
34
35 25 Jan 2009; Tobias Klausmann <klausman@g.o> gphoto2-2.4.3.ebuild:
36 Stable on alpha, bug #255825
37
38
39
40 1.1 media-gfx/gphoto2/gphoto2-2.4.4.ebuild
41
42 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-gfx/gphoto2/gphoto2-2.4.4.ebuild?rev=1.1&view=markup
43 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-gfx/gphoto2/gphoto2-2.4.4.ebuild?rev=1.1&content-type=text/plain
44
45 Index: gphoto2-2.4.4.ebuild
46 ===================================================================
47 # Copyright 1999-2009 Gentoo Foundation
48 # Distributed under the terms of the GNU General Public License v2
49 # $Header: /var/cvsroot/gentoo-x86/media-gfx/gphoto2/gphoto2-2.4.4.ebuild,v 1.1 2009/01/31 16:51:43 eva Exp $
50
51 inherit eutils
52
53 DESCRIPTION="free, redistributable digital camera software application"
54 HOMEPAGE="http://www.gphoto.org/"
55 SRC_URI="mirror://sourceforge/gphoto/${P}.tar.gz"
56
57 LICENSE="GPL-2"
58 SLOT="0"
59 KEYWORDS="~alpha ~amd64 ~ppc ~ppc64 ~sparc ~x86"
60 IUSE="aalib exif ncurses nls readline"
61
62 # aalib -> needs libjpeg
63 # raise libgphoto to get a proper .pc
64 RDEPEND=">=dev-libs/libusb-0.1.8
65 dev-libs/popt
66 >=media-libs/libgphoto2-2.4.4
67 ncurses? ( dev-libs/cdk )
68 aalib? (
69 media-libs/aalib
70 media-libs/jpeg )
71 exif? ( media-libs/libexif )
72 readline? ( sys-libs/readline )"
73 DEPEND="${RDEPEND}
74 dev-util/pkgconfig
75 nls? ( >=sys-devel/gettext-0.14 )"
76
77 pkg_setup() {
78 if use exif && ! built_with_use media-libs/libgphoto2 exif; then
79 eerror "exif support required but libgphoto2 does not have it."
80 die "rebuild media-libs/libgphoto2 with USE=\"exif\"."
81 fi
82 }
83
84 src_compile() {
85 econf \
86 --docdir=/usr/share/doc/${PF} \
87 $(use_with aalib) \
88 $(use_with aalib jpeg) \
89 $(use_with exif) \
90 $(use_with ncurses cdk) \
91 $(use_enable nls) \
92 $(use_with readline)
93 emake || die "compilation failed"
94 }
95
96 src_install() {
97 emake DESTDIR="${D}" \
98 HTML_DIR="${D}"/usr/share/doc/${PF}/sgml \
99 install || die "installation failed"
100
101 dodoc ChangeLog NEWS* README AUTHORS || die "dodoc failed"
102 rm -rf "${D}"/usr/share/doc/${PF}/sgml/gphoto2
103 }