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.3.ebuild
Date: Sat, 29 Nov 2008 22:50:47
Message-Id: E1L6YeC-0004rS-Pb@stork.gentoo.org
1 eva 08/11/29 22:50:44
2
3 Modified: ChangeLog
4 Added: gphoto2-2.4.3.ebuild
5 Log:
6 Bump to 2.4.3. Enhancement for command line, updated translations.
7 (Portage version: 2.2_rc16/cvs/Linux 2.6.24-gentoo-r8-mactel x86_64)
8
9 Revision Changes Path
10 1.70 media-gfx/gphoto2/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-gfx/gphoto2/ChangeLog?rev=1.70&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-gfx/gphoto2/ChangeLog?rev=1.70&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-gfx/gphoto2/ChangeLog?r1=1.69&r2=1.70
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/media-gfx/gphoto2/ChangeLog,v
19 retrieving revision 1.69
20 retrieving revision 1.70
21 diff -u -r1.69 -r1.70
22 --- ChangeLog 4 Aug 2008 22:07:54 -0000 1.69
23 +++ ChangeLog 29 Nov 2008 22:50:44 -0000 1.70
24 @@ -1,6 +1,11 @@
25 # ChangeLog for media-gfx/gphoto2
26 # Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/media-gfx/gphoto2/ChangeLog,v 1.69 2008/08/04 22:07:54 eva Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/media-gfx/gphoto2/ChangeLog,v 1.70 2008/11/29 22:50:44 eva Exp $
29 +
30 +*gphoto2-2.4.3 (29 Nov 2008)
31 +
32 + 29 Nov 2008; Gilles Dartiguelongue <eva@g.o> +gphoto2-2.4.3.ebuild:
33 + Bump to 2.4.3. Enhancement for command line, updated translations.
34
35 *gphoto2-2.4.2 (04 Aug 2008)
36
37
38
39
40 1.1 media-gfx/gphoto2/gphoto2-2.4.3.ebuild
41
42 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-gfx/gphoto2/gphoto2-2.4.3.ebuild?rev=1.1&view=markup
43 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-gfx/gphoto2/gphoto2-2.4.3.ebuild?rev=1.1&content-type=text/plain
44
45 Index: gphoto2-2.4.3.ebuild
46 ===================================================================
47 # Copyright 1999-2008 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.3.ebuild,v 1.1 2008/11/29 22:50:44 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.1
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) || die "econf failed"
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
102 rm -rf "${D}"/usr/share/doc/${PF}/sgml/gphoto2
103 }