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.2.ebuild
Date: Mon, 04 Aug 2008 22:07:58
Message-Id: E1KQ8Db-0008AX-7p@stork.gentoo.org
1 eva 08/08/04 22:07:55
2
3 Modified: ChangeLog
4 Added: gphoto2-2.4.2.ebuild
5 Log:
6 bump to 2.4.2.
7 (Portage version: 2.2_rc3/cvs/Linux 2.6.26-gentoo-mactel x86_64)
8
9 Revision Changes Path
10 1.69 media-gfx/gphoto2/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-gfx/gphoto2/ChangeLog?rev=1.69&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-gfx/gphoto2/ChangeLog?rev=1.69&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-gfx/gphoto2/ChangeLog?r1=1.68&r2=1.69
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/media-gfx/gphoto2/ChangeLog,v
19 retrieving revision 1.68
20 retrieving revision 1.69
21 diff -u -r1.68 -r1.69
22 --- ChangeLog 3 Aug 2008 22:15:03 -0000 1.68
23 +++ ChangeLog 4 Aug 2008 22:07:54 -0000 1.69
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.68 2008/08/03 22:15:03 eva Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/media-gfx/gphoto2/ChangeLog,v 1.69 2008/08/04 22:07:54 eva Exp $
29 +
30 +*gphoto2-2.4.2 (04 Aug 2008)
31 +
32 + 04 Aug 2008; Gilles Dartiguelongue <eva@g.o> +gphoto2-2.4.2.ebuild:
33 + bump to 2.4.2.
34
35 03 Aug 2008; Gilles Dartiguelongue <eva@g.o> -gphoto2-2.2.0.ebuild,
36 -gphoto2-2.3.1.ebuild, -gphoto2-2.4.0.ebuild:
37
38
39
40 1.1 media-gfx/gphoto2/gphoto2-2.4.2.ebuild
41
42 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-gfx/gphoto2/gphoto2-2.4.2.ebuild?rev=1.1&view=markup
43 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-gfx/gphoto2/gphoto2-2.4.2.ebuild?rev=1.1&content-type=text/plain
44
45 Index: gphoto2-2.4.2.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.2.ebuild,v 1.1 2008/08/04 22:07:54 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 }