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.0.1.ebuild |
Date: | Mon, 21 Apr 2008 22:30:52 |
Message-Id: | E1Jo4XB-0000fL-Jv@stork.gentoo.org |
1 | calchan 08/04/21 22:30:49 |
2 | |
3 | Modified: ChangeLog |
4 | Added: gerbv-2.0.1.ebuild |
5 | Log: |
6 | Major version bump. |
7 | (Portage version: 2.1.5_rc5) |
8 | |
9 | Revision Changes Path |
10 | 1.24 sci-electronics/gerbv/ChangeLog |
11 | |
12 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-electronics/gerbv/ChangeLog?rev=1.24&view=markup |
13 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-electronics/gerbv/ChangeLog?rev=1.24&content-type=text/plain |
14 | diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-electronics/gerbv/ChangeLog?r1=1.23&r2=1.24 |
15 | |
16 | Index: ChangeLog |
17 | =================================================================== |
18 | RCS file: /var/cvsroot/gentoo-x86/sci-electronics/gerbv/ChangeLog,v |
19 | retrieving revision 1.23 |
20 | retrieving revision 1.24 |
21 | diff -u -r1.23 -r1.24 |
22 | --- ChangeLog 10 Jan 2008 10:45:08 -0000 1.23 |
23 | +++ ChangeLog 21 Apr 2008 22:30:49 -0000 1.24 |
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.23 2008/01/10 10:45:08 calchan Exp $ |
28 | +# $Header: /var/cvsroot/gentoo-x86/sci-electronics/gerbv/ChangeLog,v 1.24 2008/04/21 22:30:49 calchan Exp $ |
29 | + |
30 | +*gerbv-2.0.1 (21 Apr 2008) |
31 | + |
32 | + 21 Apr 2008; Denis Dupeyron <calchan@g.o> +gerbv-2.0.1.ebuild: |
33 | + Major version bump. |
34 | |
35 | 10 Jan 2008; Denis Dupeyron <calchan@g.o> gerbv-1.0.1-r1.ebuild, |
36 | gerbv-1.0.2.ebuild, gerbv-1.0.3.ebuild: |
37 | |
38 | |
39 | |
40 | 1.1 sci-electronics/gerbv/gerbv-2.0.1.ebuild |
41 | |
42 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-electronics/gerbv/gerbv-2.0.1.ebuild?rev=1.1&view=markup |
43 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-electronics/gerbv/gerbv-2.0.1.ebuild?rev=1.1&content-type=text/plain |
44 | |
45 | Index: gerbv-2.0.1.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.0.1.ebuild,v 1.1 2008/04/21 22:30:49 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 | } |
113 | |
114 | |
115 | |
116 | |
117 | -- |
118 | gentoo-commits@l.g.o mailing list |