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/geda: ChangeLog geda-1.2.0.ebuild
Date: Tue, 18 Sep 2007 10:07:27
Message-Id: E1IXZrp-0008UI-41@stork.gentoo.org
1 calchan 07/09/18 09:59:41
2
3 Modified: ChangeLog
4 Added: geda-1.2.0.ebuild
5 Log:
6 Version bump, thanks to Stefan Salewski (bug #192367).
7 (Portage version: 2.1.3.9)
8
9 Revision Changes Path
10 1.37 sci-electronics/geda/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-electronics/geda/ChangeLog?rev=1.37&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-electronics/geda/ChangeLog?rev=1.37&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-electronics/geda/ChangeLog?r1=1.36&r2=1.37
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/sci-electronics/geda/ChangeLog,v
19 retrieving revision 1.36
20 retrieving revision 1.37
21 diff -u -r1.36 -r1.37
22 --- ChangeLog 19 Jul 2007 09:35:13 -0000 1.36
23 +++ ChangeLog 18 Sep 2007 09:59:40 -0000 1.37
24 @@ -1,6 +1,11 @@
25 # ChangeLog for sci-electronics/geda
26 # Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/sci-electronics/geda/ChangeLog,v 1.36 2007/07/19 09:35:13 calchan Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/sci-electronics/geda/ChangeLog,v 1.37 2007/09/18 09:59:40 calchan Exp $
29 +
30 +*geda-1.2.0 (18 Sep 2007)
31 +
32 + 18 Sep 2007; Denis Dupeyron <calchan@g.o> +geda-1.2.0.ebuild:
33 + Version bump, thanks to Stefan Salewski (bug #192367).
34
35 *geda-1.1.1 (19 Jul 2007)
36
37
38
39
40 1.1 sci-electronics/geda/geda-1.2.0.ebuild
41
42 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-electronics/geda/geda-1.2.0.ebuild?rev=1.1&view=markup
43 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-electronics/geda/geda-1.2.0.ebuild?rev=1.1&content-type=text/plain
44
45 Index: geda-1.2.0.ebuild
46 ===================================================================
47 # Copyright 1999-2007 Gentoo Foundation
48 # Distributed under the terms of the GNU General Public License v2
49 # $Header: /var/cvsroot/gentoo-x86/sci-electronics/geda/geda-1.2.0.ebuild,v 1.1 2007/09/18 09:59:40 calchan Exp $
50
51 inherit eutils
52
53 SUBDIR="v1.2"
54 S="${WORKDIR}"
55
56 HOMEPAGE="http://www.geda.seul.org"
57 DESCRIPTION="geda is a core metapackage which compiles all the necessary components you would need for a minimal gEDA/gaf system"
58 SRC_URI="http://www.geda.seul.org/release/${SUBDIR}/${PV}/geda-gattrib-${PV}.tar.gz
59 http://www.geda.seul.org/release/${SUBDIR}/${PV}/geda-gnetlist-${PV}.tar.gz
60 http://www.geda.seul.org/release/${SUBDIR}/${PV}/geda-gschem-${PV}.tar.gz
61 http://www.geda.seul.org/release/${SUBDIR}/${PV}/geda-gsymcheck-${PV}.tar.gz
62 http://www.geda.seul.org/release/${SUBDIR}/${PV}/geda-symbols-${PV}.tar.gz
63 http://www.geda.seul.org/release/${SUBDIR}/${PV}/geda-utils-${PV}.tar.gz
64 doc? ( http://www.geda.seul.org/release/${SUBDIR}/${PV}/geda-docs-${PV}.tar.gz )
65 examples? ( http://www.geda.seul.org/release/${SUBDIR}/${PV}/geda-examples-${PV}.tar.gz )"
66
67 IUSE="doc examples gd"
68 LICENSE="GPL-2"
69 KEYWORDS="~amd64 ~ppc ~sparc ~x86"
70 SLOT="0"
71
72 DEPEND=">=x11-libs/gtk+-2.4
73 >=dev-scheme/guile-1.6.3
74 =sci-libs/libgeda-${PV}"
75
76 pkg_setup() {
77 if has_version ">=dev-scheme/guile-1.8" ; then
78 built_with_use "dev-scheme/guile" deprecated \
79 || die "You need either <dev-scheme/guile-1.8, or >=dev-scheme/guile-1.8 with USE=deprecated"
80 fi
81 if use gd ; then
82 built_with_use sci-libs/libgeda gd || die "sci-libs/libgeda must be compiled with USE=gd"
83 else
84 ! built_with_use sci-libs/libgeda gd || die "sci-libs/libgeda must be compiled with USE=-gd"
85 fi
86 }
87
88 src_compile() {
89 for subdir in geda-{gattrib,gnetlist,gschem,gsymcheck,symbols,utils}-${PV}; do
90 cd ${S}/${subdir}
91 econf \
92 --disable-dependency-tracking \
93 --with-docdir=/usr/share/doc/${PF} \
94 --with-pcbconfdir=/usr/share/pcb \
95 --with-pcbm4dir=/usr/share/pcb/m4 \
96 || die "Configuration failed in ${subdir}"
97 emake || die "Compilation failed in ${subdir}"
98 done
99
100 if use doc ; then
101 cd ${S}/geda-docs-${PV}
102 econf --with-docdir=/usr/share/doc/${PF} || die "Configuration failed in geda-docs-${PV}"
103 emake || die "Compilation failed in geda-docs-${PV}"
104 fi
105 }
106
107 src_install () {
108 for subdir in {gattrib,gnetlist,gschem,gsymcheck,symbols,utils}; do
109 cd ${S}/geda-${subdir}-${PV}
110 emake DESTDIR=${D} install || die "Installation failed in geda-${subdir}-${PV}"
111 newdoc AUTHORS AUTHORS.${subdir}
112 newdoc BUGS BUGS.${subdir}
113 for READMEx in $(ls README*); do
114 newdoc ${READMEx} ${READMEx}.${subdir}
115 done
116 done
117
118 rm ${D}/usr/share/gEDA/sym/gnetman -Rf # Fix collision with gnetman; bug #77361.
119
120 if use doc ; then
121 cd ${S}/geda-docs-${PV}
122 emake DESTDIR=${D} install || die "Installation failed in geda-docs-${PV}"
123 fi
124
125 if use examples ; then
126 cd ${S}
127 mv geda-examples-${PV} examples
128 insinto /usr/share/gEDA
129 doins -r examples
130 fi
131 }
132
133
134
135 --
136 gentoo-commits@g.o mailing list