diff options
author | Patrick McLean <chutzpah@gentoo.org> | 2006-11-14 22:01:31 +0000 |
---|---|---|
committer | Patrick McLean <chutzpah@gentoo.org> | 2006-11-14 22:01:31 +0000 |
commit | b608442cc6eb7c61cbb8fbb4d18c4ea1bf59071c (patch) | |
tree | fac7b1c6740d2fb2dd0708ff48206eafa4764916 | |
parent | Keywording ~amd64. (diff) | |
download | gentoo-2-b608442cc6eb7c61cbb8fbb4d18c4ea1bf59071c.tar.gz gentoo-2-b608442cc6eb7c61cbb8fbb4d18c4ea1bf59071c.tar.bz2 gentoo-2-b608442cc6eb7c61cbb8fbb4d18c4ea1bf59071c.zip |
New beta version, will keep these masked for now until 260 final comes out.
(Portage version: 2.1.2_rc1-r6)
-rw-r--r-- | dev-scheme/drscheme/ChangeLog | 8 | ||||
-rw-r--r-- | dev-scheme/drscheme/drscheme-359.200.ebuild | 85 | ||||
-rw-r--r-- | dev-scheme/drscheme/files/digest-drscheme-359.200 | 3 |
3 files changed, 95 insertions, 1 deletions
diff --git a/dev-scheme/drscheme/ChangeLog b/dev-scheme/drscheme/ChangeLog index 9e15fe9cdd1b..d419cb2d842b 100644 --- a/dev-scheme/drscheme/ChangeLog +++ b/dev-scheme/drscheme/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for dev-scheme/drscheme # Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-scheme/drscheme/ChangeLog,v 1.35 2006/10/23 18:14:07 chutzpah Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-scheme/drscheme/ChangeLog,v 1.36 2006/11/14 22:01:31 chutzpah Exp $ + +*drscheme-359.200 (14 Nov 2006) + + 14 Nov 2006; Patrick McLean <chutzpah@gentoo.org> + +drscheme-359.200.ebuild: + New beta version, will keep these masked for now until 260 final comes out. 23 Oct 2006; Patrick McLean <chutzpah@gentoo.org> drscheme-352-r2.ebuild: Drop monolithic X deps and update Xft dependency to >x11-libs/libXft-2.1.9 diff --git a/dev-scheme/drscheme/drscheme-359.200.ebuild b/dev-scheme/drscheme/drscheme-359.200.ebuild new file mode 100644 index 000000000000..efbbd725f58b --- /dev/null +++ b/dev-scheme/drscheme/drscheme-359.200.ebuild @@ -0,0 +1,85 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-scheme/drscheme/drscheme-359.200.ebuild,v 1.1 2006/11/14 22:01:31 chutzpah Exp $ + +inherit eutils multilib flag-o-matic + +DESCRIPTION="DrScheme programming environment. Includes mzscheme." +HOMEPAGE="http://www.plt-scheme.org/software/drscheme/" +#SRC_URI="http://download.plt-scheme.org/bundles/${PV}/plt/plt-${PV}-src-unix.tgz" +SRC_URI="http://pre.plt-scheme.org/installers/plt-${PV}-src-unix.tgz" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="backtrace cairo jpeg opengl perl png sgc" + +RDEPEND="x11-libs/libICE + x11-libs/libSM + x11-libs/libXaw + >x11-libs/libXft-2.1.9 + !dev-scheme/mzscheme + media-libs/freetype + media-libs/fontconfig + cairo? ( x11-libs/cairo ) + jpeg? ( media-libs/jpeg ) + opengl? ( virtual/opengl ) + png? ( media-libs/libpng )" + +DEPEND="${RDEPEND}" + +S="${WORKDIR}/plt-${PV}/src" +GL_COLLECTS="sgl games/gobblet games/checkers games/jewel games/gl-board-game" + +src_unpack() { + unpack ${A} + cd "${WORKDIR}/plt-${PV}" + + epatch "${FILESDIR}/${PN}-350-fPIC.patch" + + if ! use opengl ; then + # move aside the opengl-dependent stuff or install will fail + mkdir collects-disabled + + for dir in ${GL_COLLECTS}; do + mv -f collects/${dir} collects-disabled/$(basename ${dir}) + done + fi +} + +src_compile() { + # needed because drschme uses it's own linker that passes LDFLAGS directly + # to the linker, rather than passing it through gcc + LDFLAGS="${LDFLAGS//-Wl/}" + LDFLAGS="${LDFLAGS//,/ }" + + # -O3 seems to cause some miscompiles, this should fix #141925 and #133888 + replace-flags -O? -O2 + + econf --enable-mred \ + $(use_enable backtrace) \ + $(use_enable cairo) \ + $(use_enable jpeg libjpeg) \ + $(use_enable opengl gl) \ + $(use_enable perl) \ + $(use_enable png libpng) \ + $(use_enable sgc) \ + || die "econf failed" + + emake || die "emake failed" +} + +src_install() { + make DESTDIR="${D}" install || die "make install failed" + dodoc ${WORKDIR}/plt/{readme.txt,src/README} + + mv -f "${D}"/usr/share/plt/doc/* "${D}/usr/share/doc/${PF}/" + rm -rf "${D}/usr/share/plt/doc" + + # needed so online help works + keepdir /usr/share/plt + dosym "/usr/share/doc/${PF}" "/usr/share/plt/doc" + + newicon "${WORKDIR}/plt/collects/icons/PLT-206.png" drscheme.png + make_desktop_entry drscheme "DrScheme" drscheme.png "Development" +} diff --git a/dev-scheme/drscheme/files/digest-drscheme-359.200 b/dev-scheme/drscheme/files/digest-drscheme-359.200 new file mode 100644 index 000000000000..5e765d87cecf --- /dev/null +++ b/dev-scheme/drscheme/files/digest-drscheme-359.200 @@ -0,0 +1,3 @@ +MD5 683c6bb9ae798cb6fb79efee8cc6161f plt-359.200-src-unix.tgz 14166166 +RMD160 2574d49d1822b17b947c2739d3c43aebc5bd4165 plt-359.200-src-unix.tgz 14166166 +SHA256 327440b291e6545214db85a75bc64e264c0a7211c7c98dca8743c6efa6931694 plt-359.200-src-unix.tgz 14166166 |