Gentoo Archives: gentoo-commits

From: "Denis Dupeyron (calchan)" <calchan@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sci-electronics/gerbv: ChangeLog gerbv-2.1.0.ebuild
Date: Sun, 30 Nov 2008 22:45:10
Message-Id: E1L6v2K-0002Th-M9@stork.gentoo.org
1 calchan 08/11/30 22:45:08
2
3 Modified: ChangeLog
4 Added: gerbv-2.1.0.ebuild
5 Log:
6 Version bump, bug #245962.
7 (Portage version: 2.1.6_rc2/cvs/Linux 2.6.27-gentoo-r2 i686)
8
9 Revision Changes Path
10 1.26 sci-electronics/gerbv/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-electronics/gerbv/ChangeLog?rev=1.26&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-electronics/gerbv/ChangeLog?rev=1.26&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-electronics/gerbv/ChangeLog?r1=1.25&r2=1.26
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/sci-electronics/gerbv/ChangeLog,v
19 retrieving revision 1.25
20 retrieving revision 1.26
21 diff -u -r1.25 -r1.26
22 --- ChangeLog 6 Aug 2008 15:42:26 -0000 1.25
23 +++ ChangeLog 30 Nov 2008 22:45:08 -0000 1.26
24 @@ -1,6 +1,11 @@
25 # ChangeLog for sci-electronics/gerbv
26 # Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/sci-electronics/gerbv/ChangeLog,v 1.25 2008/08/06 15:42:26 ulm Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/sci-electronics/gerbv/ChangeLog,v 1.26 2008/11/30 22:45:08 calchan Exp $
29 +
30 +*gerbv-2.1.0 (30 Nov 2008)
31 +
32 + 30 Nov 2008; Denis Dupeyron <calchan@g.o> +gerbv-2.1.0.ebuild:
33 + Version bump, bug #245962.
34
35 06 Aug 2008; Ulrich Mueller <ulm@g.o> metadata.xml:
36 Add USE flag description to metadata wrt GLEP 56.
37
38
39
40 1.1 sci-electronics/gerbv/gerbv-2.1.0.ebuild
41
42 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-electronics/gerbv/gerbv-2.1.0.ebuild?rev=1.1&view=markup
43 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-electronics/gerbv/gerbv-2.1.0.ebuild?rev=1.1&content-type=text/plain
44
45 Index: gerbv-2.1.0.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/sci-electronics/gerbv/gerbv-2.1.0.ebuild,v 1.1 2008/11/30 22:45:08 calchan Exp $
50
51 inherit fdo-mime
52
53 DESCRIPTION="A free Gerber viewer"
54 SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
55 HOMEPAGE="http://gerbv.sourceforge.net/"
56
57 IUSE="cairo doc examples png unit-mm"
58 SLOT="0"
59 LICENSE="GPL-2"
60 KEYWORDS="~amd64 ~ppc ~sparc ~x86"
61
62 RDEPEND="=x11-libs/gtk+-2*
63 cairo? ( x11-libs/cairo )
64 png? ( media-libs/libpng )"
65 DEPEND="${RDEPEND}
66 >=dev-util/pkgconfig-0.9"
67
68 src_unpack() {
69 unpack ${A}
70 sed -i -e 's/Education/Application/' "${S}"/desktop/gerbv.desktop || die "sed failed"
71 }
72
73 src_compile() {
74 econf \
75 --disable-dependency-tracking \
76 --disable-update-desktop-database \
77 $(use_enable cairo ) \
78 $(use_enable png exportpng ) \
79 $(use_enable unit-mm ) \
80 --with-maxfiles=50 \
81 || die "Configuration failed"
82 emake || die "Compilation failed"
83 }
84
85 src_install () {
86 emake DESTDIR="${D}" install || die "Installation failed"
87 dodoc AUTHORS ChangeLog CONTRIBUTORS HACKING NEWS README* TODO
88
89 if use doc
90 then
91 find doc -name "Makefile*" -exec rm -f '{}' \;
92 find doc -name "*.txt" -exec ecompress '{}' \;
93 insinto /usr/share/doc/${PF}
94 doins -r doc/*
95 fi
96
97 if use examples
98 then
99 find example -name "Makefile*" -exec rm -f '{}' \;
100 find example -name "*.txt" -exec ecompress '{}' \;
101 insinto /usr/share/doc/${PF}/examples
102 doins -r example/*
103 fi
104 }
105
106 pkg_postinst() {
107 fdo-mime_desktop_database_update
108 }
109
110 pkg_postrm() {
111 fdo-mime_desktop_database_update
112 }