summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarijn Schouten <hkbst@gentoo.org>2007-08-02 10:20:04 +0000
committerMarijn Schouten <hkbst@gentoo.org>2007-08-02 10:20:04 +0000
commit901dd70dcba48210e35c58df5514b5e329d13364 (patch)
tree1d1232c9d647c98073b44a9cd452c3c50607c58d /dev-scheme
parentprecisely target drscheme mask (diff)
downloadgentoo-2-901dd70dcba48210e35c58df5514b5e329d13364.tar.gz
gentoo-2-901dd70dcba48210e35c58df5514b5e329d13364.tar.bz2
gentoo-2-901dd70dcba48210e35c58df5514b5e329d13364.zip
add new revision which enables xft and xrender, such that it won't segfault or fail to compile
(Portage version: 2.1.3_rc9)
Diffstat (limited to 'dev-scheme')
-rw-r--r--dev-scheme/drscheme/ChangeLog9
-rw-r--r--dev-scheme/drscheme/drscheme-370.6_p20070725-r1.ebuild77
-rw-r--r--dev-scheme/drscheme/files/digest-drscheme-370.6_p20070725-r13
3 files changed, 88 insertions, 1 deletions
diff --git a/dev-scheme/drscheme/ChangeLog b/dev-scheme/drscheme/ChangeLog
index 8df045b1df6a..0856446d2600 100644
--- a/dev-scheme/drscheme/ChangeLog
+++ b/dev-scheme/drscheme/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for dev-scheme/drscheme
# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-scheme/drscheme/ChangeLog,v 1.53 2007/07/28 10:29:42 hkbst Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-scheme/drscheme/ChangeLog,v 1.54 2007/08/02 10:20:04 hkbst Exp $
+
+*drscheme-370.6_p20070725-r1 (02 Aug 2007)
+
+ 02 Aug 2007; Marijn Schouten <hkBst@gentoo.org>
+ +drscheme-370.6_p20070725-r1.ebuild:
+ add new revision which enables xft and xrender, such that it won't segfault
+ or fail to compile
28 Jul 2007; Marijn Schouten <hkBst@gentoo.org>
drscheme-370.6_p20070725.ebuild:
diff --git a/dev-scheme/drscheme/drscheme-370.6_p20070725-r1.ebuild b/dev-scheme/drscheme/drscheme-370.6_p20070725-r1.ebuild
new file mode 100644
index 000000000000..4e59a869e7a7
--- /dev/null
+++ b/dev-scheme/drscheme/drscheme-370.6_p20070725-r1.ebuild
@@ -0,0 +1,77 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-scheme/drscheme/drscheme-370.6_p20070725-r1.ebuild,v 1.1 2007/08/02 10:20:04 hkbst Exp $
+
+inherit eutils
+
+SRC_URI="mirror://gentoo/plt-${PV%%_p*}-src-unix.tgz"
+# http://pre.plt-scheme.org/installers/plt-${PV}-src-unix.tgz
+# http://download.plt-scheme.org/bundles/${PV}/plt/plt-${PV}-src-unix.tgz"
+
+DESCRIPTION="DrScheme programming environment. Includes mzscheme."
+HOMEPAGE="http://www.plt-scheme.org/software/drscheme/"
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE="backtrace cairo cgc llvm opengl profile X"
+
+RDEPEND="X? ( x11-libs/libICE
+ x11-libs/libSM
+ x11-libs/libXaw
+ >=x11-libs/libXft-2.1.12
+ x11-libs/libXrender
+ media-libs/freetype
+ media-libs/fontconfig
+ cairo? ( x11-libs/cairo )
+ media-libs/jpeg
+ opengl? ( virtual/opengl )
+ media-libs/libpng )"
+
+DEPEND="${RDEPEND}"
+
+S="${WORKDIR}/plt-${PV%%_p*}"
+
+src_unpack() {
+ unpack ${A}; cd "${S}"
+ sed "s,docdir=\"\${datadir}/plt/doc,docdir=\"\${datadir}/doc/${PF}," -i src/configure
+}
+
+src_compile() {
+ cd src
+
+# according to vapier, we should use the bundled libtool
+# such that we don't preclude cross-compile. Thus don't use
+# --enable-lt=/usr/bin/libtool
+ econf $(use_enable X mred) \
+ --enable-shared \
+ --disable-perl \
+ $(use_enable backtrace) \
+ $(use_enable cairo) \
+ $(use_enable llvm) \
+ $(use_enable opengl gl) \
+ $(use_enable profile gprof) \
+ --enable-xft \
+ --enable-xrender
+
+ if use cgc; then
+ emake -j1 both || die "emake both failed"
+ else
+ emake -j1 || die "emake failed"
+ fi
+}
+
+src_install() {
+ cd src
+ export MZSCHEME_DYNEXT_LINKER_FLAGS=$(raw-ldflags)
+
+ if use cgc; then
+ emake DESTDIR="${D}" install-both || die "emake install-both failed"
+ else
+ emake DESTDIR="${D}" install || die "emake install failed"
+ fi
+
+ if use X; then
+ newicon ../collects/icons/PLT-206.png drscheme.png
+ make_desktop_entry drscheme "DrScheme" drscheme.png "Development"
+ fi
+}
diff --git a/dev-scheme/drscheme/files/digest-drscheme-370.6_p20070725-r1 b/dev-scheme/drscheme/files/digest-drscheme-370.6_p20070725-r1
new file mode 100644
index 000000000000..1f65c41d2ea4
--- /dev/null
+++ b/dev-scheme/drscheme/files/digest-drscheme-370.6_p20070725-r1
@@ -0,0 +1,3 @@
+MD5 c879e5ed5febd78ee277081df8d6e347 plt-370.6-src-unix.tgz 14609493
+RMD160 88d901637187cd89ab54db905f48bef77da84d21 plt-370.6-src-unix.tgz 14609493
+SHA256 9679294c0cce4ae7b5ac9dfa60c383b9579d00370ab45be13d74202413f08ad5 plt-370.6-src-unix.tgz 14609493