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-libs/libgeda: ChangeLog libgeda-1.4.1.ebuild
Date: Mon, 01 Dec 2008 14:18:28
Message-Id: E1L79bW-0003jm-GB@stork.gentoo.org
1 calchan 08/12/01 14:18:26
2
3 Modified: ChangeLog
4 Added: libgeda-1.4.1.ebuild
5 Log:
6 Version bump, bug #249170.
7 (Portage version: 2.1.6_rc2/cvs/Linux 2.6.27-gentoo-r4 i686)
8
9 Revision Changes Path
10 1.46 sci-libs/libgeda/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-libs/libgeda/ChangeLog?rev=1.46&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-libs/libgeda/ChangeLog?rev=1.46&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-libs/libgeda/ChangeLog?r1=1.45&r2=1.46
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/sci-libs/libgeda/ChangeLog,v
19 retrieving revision 1.45
20 retrieving revision 1.46
21 diff -u -r1.45 -r1.46
22 --- ChangeLog 22 Mar 2008 19:05:16 -0000 1.45
23 +++ ChangeLog 1 Dec 2008 14:18:26 -0000 1.46
24 @@ -1,6 +1,11 @@
25 # ChangeLog for sci-libs/libgeda
26 # Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/sci-libs/libgeda/ChangeLog,v 1.45 2008/03/22 19:05:16 calchan Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/sci-libs/libgeda/ChangeLog,v 1.46 2008/12/01 14:18:26 calchan Exp $
29 +
30 +*libgeda-1.4.1 (30 Nov 2008)
31 +
32 + 30 Nov 2008; Denis Dupeyron <calchan@g.o> +libgeda-1.4.1.ebuild:
33 + Version bump, bug #249170.
34
35 22 Mar 2008; Denis Dupeyron <calchan@g.o> -libgeda-1.1.1.ebuild,
36 -libgeda-1.2.0.ebuild, -libgeda-20060123.ebuild, -libgeda-20061020.ebuild,
37
38
39
40 1.1 sci-libs/libgeda/libgeda-1.4.1.ebuild
41
42 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-libs/libgeda/libgeda-1.4.1.ebuild?rev=1.1&view=markup
43 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-libs/libgeda/libgeda-1.4.1.ebuild?rev=1.1&content-type=text/plain
44
45 Index: libgeda-1.4.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-libs/libgeda/libgeda-1.4.1.ebuild,v 1.1 2008/12/01 14:18:26 calchan Exp $
50
51 inherit eutils fdo-mime versionator
52
53 SUBDIR="v$(get_version_component_range 1-2)"
54
55 HOMEPAGE="http://www.geda.seul.org"
56 DESCRIPTION="libgeda - this library provides functions needed for the gEDA core suite"
57 SRC_URI="http://www.geda.seul.org/release/${SUBDIR}/${PV}/libgeda-${PV}.tar.gz"
58
59 IUSE="gd threads"
60 LICENSE="GPL-2"
61 KEYWORDS="~amd64 ~ppc ~sparc ~x86"
62 SLOT="0"
63
64 DEPEND=">=x11-libs/gtk+-2.4
65 >=dev-scheme/guile-1.6.3
66 >=dev-libs/libstroke-0.5.1
67 gd? ( >=media-libs/gd-2 )"
68
69 pkg_setup() {
70 if has_version ">=dev-scheme/guile-1.8" ; then
71 built_with_use "dev-scheme/guile" deprecated \
72 || die "You need either <dev-scheme/guile-1.8, or >=dev-scheme/guile-1.8 with USE=deprecated"
73 fi
74 if use gd ; then
75 built_with_use media-libs/gd png || die "media-libs/gd must be compiled with USE=png"
76 fi
77 }
78
79 src_unpack() {
80 unpack ${A}
81
82 # Skip the share sub-directory, we'll install prolog.ps manually
83 sed -i \
84 -e "s:SUBDIRS = src include scripts docs share:SUBDIRS = src include scripts docs:" \
85 "${S}"/Makefile.in \
86 || die "Patch failed"
87 }
88
89 src_compile() {
90 local myconf="--disable-threads"
91 use threads || myconf="--enable-threads=posix"
92 econf \
93 ${myconf} \
94 --disable-dependency-tracking \
95 --disable-rpath \
96 --disable-update-mime-database \
97 --with-x \
98 $(use_enable gd) \
99 || die "Configuration failed"
100 emake || die "Compilation failed"
101 }
102
103 src_install() {
104 emake DESTDIR="${D}" install || die "Installation failed"
105
106 insinto /usr/share/gEDA
107 doins share/prolog.ps
108
109 dodoc AUTHORS BUGS ChangeLog README
110 }
111
112 src_postinst() {
113 fdo-mime_mime_database_update
114 }
115
116 src_postrm() {
117 fdo-mime_mime_database_update
118 }