1 |
hkbst 09/01/21 17:00:39 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: plt-scheme-4.1.4.ebuild |
5 |
Log: |
6 |
bump; fixes as-needed (bug 249163) |
7 |
(Portage version: 2.1.6.7/cvs/Linux x86_64) |
8 |
|
9 |
Revision Changes Path |
10 |
1.5 dev-scheme/plt-scheme/ChangeLog |
11 |
|
12 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-scheme/plt-scheme/ChangeLog?rev=1.5&view=markup |
13 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-scheme/plt-scheme/ChangeLog?rev=1.5&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-scheme/plt-scheme/ChangeLog?r1=1.4&r2=1.5 |
15 |
|
16 |
Index: ChangeLog |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/dev-scheme/plt-scheme/ChangeLog,v |
19 |
retrieving revision 1.4 |
20 |
retrieving revision 1.5 |
21 |
diff -u -r1.4 -r1.5 |
22 |
--- ChangeLog 27 Nov 2008 15:13:13 -0000 1.4 |
23 |
+++ ChangeLog 21 Jan 2009 17:00:39 -0000 1.5 |
24 |
@@ -1,6 +1,11 @@ |
25 |
# ChangeLog for dev-scheme/plt-scheme |
26 |
-# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/dev-scheme/plt-scheme/ChangeLog,v 1.4 2008/11/27 15:13:13 hkbst Exp $ |
28 |
+# Copyright 2002-2009 Gentoo Foundation; Distributed under the GPL v2 |
29 |
+# $Header: /var/cvsroot/gentoo-x86/dev-scheme/plt-scheme/ChangeLog,v 1.5 2009/01/21 17:00:39 hkbst Exp $ |
30 |
+ |
31 |
+*plt-scheme-4.1.4 (21 Jan 2009) |
32 |
+ |
33 |
+ 21 Jan 2009; Marijn Schouten <hkBst@g.o> +plt-scheme-4.1.4.ebuild: |
34 |
+ bump; fixes as-needed (bug 249163) |
35 |
|
36 |
*plt-scheme-4.1.3 (27 Nov 2008) |
37 |
|
38 |
|
39 |
|
40 |
|
41 |
1.1 dev-scheme/plt-scheme/plt-scheme-4.1.4.ebuild |
42 |
|
43 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-scheme/plt-scheme/plt-scheme-4.1.4.ebuild?rev=1.1&view=markup |
44 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-scheme/plt-scheme/plt-scheme-4.1.4.ebuild?rev=1.1&content-type=text/plain |
45 |
|
46 |
Index: plt-scheme-4.1.4.ebuild |
47 |
=================================================================== |
48 |
# Copyright 1999-2009 Gentoo Foundation |
49 |
# Distributed under the terms of the GNU General Public License v2 |
50 |
# $Header: /var/cvsroot/gentoo-x86/dev-scheme/plt-scheme/plt-scheme-4.1.4.ebuild,v 1.1 2009/01/21 17:00:39 hkbst Exp $ |
51 |
|
52 |
inherit eutils latex-package |
53 |
|
54 |
SRC_URI="http://download.plt-scheme.org/bundles/${PV}/plt/plt-${PV}-src-unix.tgz |
55 |
http://pre.plt-scheme.org/installers/plt-${PV}-src-unix.tgz" |
56 |
#"mirror://gentoo/plt-${PV%%_p*}-src-unix.tgz" |
57 |
|
58 |
DESCRIPTION="DrScheme programming environment. Includes mzscheme." |
59 |
HOMEPAGE="http://www.plt-scheme.org" |
60 |
LICENSE="LGPL-2.1" |
61 |
SLOT="0" |
62 |
KEYWORDS="~amd64 ~ppc ~x86" |
63 |
IUSE="backtrace cairo cgc llvm opengl profile X" |
64 |
|
65 |
RDEPEND="X? ( x11-libs/libICE |
66 |
x11-libs/libSM |
67 |
x11-libs/libXaw |
68 |
>=x11-libs/libXft-2.1.12 |
69 |
x11-libs/libXrender |
70 |
media-libs/freetype |
71 |
media-libs/fontconfig |
72 |
cairo? ( x11-libs/cairo ) |
73 |
media-libs/jpeg |
74 |
opengl? ( virtual/opengl ) |
75 |
media-libs/libpng )" |
76 |
|
77 |
DEPEND="${RDEPEND} !dev-tex/slatex" |
78 |
|
79 |
S="${WORKDIR}/plt-${PV%%_p*}" |
80 |
|
81 |
pkg_setup() { |
82 |
if use cairo && use X; then |
83 |
if ! built_with_use x11-libs/cairo X; then |
84 |
eerror "Cairo must be built with X use flag" |
85 |
die "Cairo must be built with X use flag" |
86 |
fi |
87 |
fi |
88 |
} |
89 |
|
90 |
src_unpack() { |
91 |
unpack ${A} |
92 |
cd "${S}" |
93 |
|
94 |
sed "s,docdir=\"\${datadir}/plt/doc,docdir=\"\${datadir}/doc/${PF}," -i src/configure |
95 |
} |
96 |
|
97 |
src_compile() { |
98 |
cd src |
99 |
|
100 |
# according to vapier, we should use the bundled libtool |
101 |
# such that we don't preclude cross-compile. Thus don't use |
102 |
# --enable-lt=/usr/bin/libtool |
103 |
econf $(use_enable X mred) \ |
104 |
--enable-shared \ |
105 |
--disable-perl \ |
106 |
$(use_enable backtrace) \ |
107 |
$(use_enable cairo) \ |
108 |
$(use_enable llvm) \ |
109 |
$(use_enable opengl gl) \ |
110 |
$(use_enable profile gprof) \ |
111 |
--enable-xft \ |
112 |
--enable-xrender |
113 |
|
114 |
if use cgc; then |
115 |
emake both || die "emake both failed" |
116 |
else |
117 |
emake || die "emake failed" |
118 |
fi |
119 |
} |
120 |
|
121 |
src_install() { |
122 |
# deal with slatex |
123 |
insinto /usr/share/texmf/tex/latex/slatex/ |
124 |
doins collects/slatex/slatex.sty |
125 |
|
126 |
cd src |
127 |
# export MZSCHEME_DYNEXT_LINKER_FLAGS=$(raw-ldflags) |
128 |
|
129 |
if use cgc; then |
130 |
emake DESTDIR="${D}" install-both || die "emake install-both failed" |
131 |
else |
132 |
emake DESTDIR="${D}" install || die "emake install failed" |
133 |
fi |
134 |
|
135 |
if use X; then |
136 |
newicon ../collects/icons/PLT-206.png drscheme.png |
137 |
make_desktop_entry drscheme "DrScheme" drscheme "Development" |
138 |
fi |
139 |
} |