Skip to content

Commit

Permalink
Fixored scratch. It has to be 32 bits so made a binary install of the
Browse files Browse the repository at this point in the history
squeak vm too
  • Loading branch information
gbin committed Mar 11, 2013
1 parent ac985d6 commit 7848993
Show file tree
Hide file tree
Showing 4 changed files with 39 additions and 7 deletions.
2 changes: 2 additions & 0 deletions app-emulation/emul-linux-x86-squeak/Manifest
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
DIST Squeak-4.10.2.2614-linux_i386.tar.gz 1374775 SHA256 f82e1054d47057712f3108fff19f6bfe3c440525ea6d7af11432417aa8739977 SHA512 c42928033e1b3f7ed6c019cf0f3a96bbe18c5e2486c9a567cb5e364b3b6d1149ee980fc78d1dbbdd6b0061c6d20166e5dbb72934e95587f850e3b05bf46fc8ca WHIRLPOOL f496338b9497355de93af1adbe9ce2758d9d7b21257948af6b1f3a2c6a2b19789a1b32f2bc326bebdd040128dc928c0250dc29c30e4cd463f7d62b023a16b20d
EBUILD emul-linux-x86-squeak-4.10.2.2614.ebuild 811 SHA256 e9bff7b37f70192004cff93a48bc2e4239a718c9b34a1b2b11359a9025b843a6 SHA512 5406a0878375b6d5fda333b8227ad3babaaa530b95705ba3f55dbfde32e8f79290362313602deaac273d40fc5b2a74ee8d9da3adbc1d5c714bd6089f239bcf67 WHIRLPOOL e9d778643341892cf36066e3606902383f6fb5902b403fc21767f923f0a3198ab90a3a5b7f06e244fb76296d243ce95ba81f8651a84321a21fb101bf6c8a1511
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-emulation/emul-linux-x86-medialibs/emul-linux-x86-medialibs-20130224.ebuild,v 1.1 2013/02/25 18:44:44 pacho Exp $

EAPI=5
SLOT="0"

S="${WORKDIR}/Squeak-4.10.2.2614-linux_i386"
EXE="${S}/lib/squeak/4.10.2-2614/squeakvm"

LICENSE="APL-1.0 GPL-2 BSD BSD-2 public-domain LGPL-2 MPL-1.1 LGPL-2.1 MPEG-4"
KEYWORDS="-* ~amd64"
SRC_URI="http://www.squeakvm.org/unix/release/Squeak-4.10.2.2614-linux_i386.tar.gz"
DEPEND=""
RDEPEND="app-emulation/emul-linux-x86-baselibs"
PDEPEND=""

src_install() {
exeinto /usr/local/bin
doexe ${EXE}
rm ${EXE}
insinto /usr/lib32/squeak
insopts -m755
doins "${S}/lib/squeak/4.10.2-2614/"*
doman "share/man/man1/"*
dodoc
}

4 changes: 2 additions & 2 deletions games-kids/scratch/Manifest
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
DIST scratch-1.4.0.1.tar.gz 34411650 SHA256 db6aaa885e4d8518544eb4f064039560e47090bef9e172e01dbda9a307cc0241 SHA512 11e99860679506d76d252b438b3162750a9d2140cd11443364e79b8f3b2f781645770bebdb00eff3e9d558e17d4f59f0d32ece34cd07aa14ea0d0193e01dc71d WHIRLPOOL c4edb67c25ece3fa5fbdf11907c9ed749a822596c03fab8be21f667186da5fd3667de6aa940d713fcc3435f8998a36a00efa9e606b40fd6e7f76068f806dc63e
EBUILD scratch-1.4.0.1.ebuild 2390 SHA256 637ecaa83c23a4165aecae7be35996efe7d48c5996fe89bbc4c2c711a8a700b9 SHA512 3e069656d8c52c4c56dadc4a859bc9d7474b0ec347c9a67d0d8aaca85be1ac6389f185b56de631164b6ea6c88f3730ed1f1652bd747de6c15c3b1c139ba03c22 WHIRLPOOL 1f91378da8dd01aa461cdbee8859c704641139147cdcf69fa558a0f5f0af624fca9f4df54541d4934dc345dbedcfc65b7e7b3446a596340344675bf770d0816a
DIST scratch-1.4.0.7.src.tar.gz 47617852 SHA256 b94d89278ecef2ba2d1147eec23936dd99697293ffa2c216c0a375ba98226a3e SHA512 a5dba21855ad2d087e0d76066ee70c6f36c67c66deccb6eb001249bc25391b0f9036d9fd2ab8383ef54c414e743dff23e9e52ab1c73dd7200f36d7d47c62f562 WHIRLPOOL 4b199541a252b51cded9e41f7e511d2d0cbae77161c8d234b277ecc204fe6d36663367934e7200eb179229ca4b0f6b45d060a7fc51044f20f8aa0944a7ec2ac8
EBUILD scratch-1.4.0.7.ebuild 2390 SHA256 70d3f177705feceb9ec2b727abf42a8b1c6be6329da93a2bf415d342c3e6d588 SHA512 8fc281cd24c2dd0c511eb7d4d0fcce27ab6d9935d3dd2ccc1786cb63e51c3a4f4ecf629bcafe0cbfc87aad33d5cd15b1f98796f2b7672a4d7ba24dafeaab09e0 WHIRLPOOL b495eeed0ad4e07e4e70cc96356bb5f875bf05b48455f83861c885fe3af466188470b5e4ec9b65c2c07ef8c288724292a2664b961156261a62cd21955fe28184
Original file line number Diff line number Diff line change
Expand Up @@ -8,22 +8,24 @@ inherit games confutils

DESCRIPTION="A programming environment for creating and sharing interactive stories, animations, games, music, and art."
HOMEPAGE="http://scratch.mit.edu/"
SRC_URI="http://info.scratch.mit.edu/sites/infoscratch.media.mit.edu/files/file/source-package/${P}.tar.gz"
SRC_URI="http://download.scratch.mit.edu/${P}.src.tar.gz"

LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="alsa oss pulseaudio v4l"

DEPEND="
>=x11-libs/cairo-1.8.6
app-emulation/emul-linux-x86-squeak
>=x11-libs/cairo-1.8.6
>=x11-libs/pango-1.20.5
>=dev-libs/glib-2.20.1:2
v4l? ( >=media-libs/libv4l-0.5.8 )
"
RDEPEND="${DEPEND}"

S="${WORKDIR}/${PN}"
S="${WORKDIR}/${P}.src"
echo $S
ABI="x86"

if use alsa; then squeak_sound_plugin="ALSA"
Expand Down Expand Up @@ -78,8 +80,8 @@ install_runner() {
#!/bin/sh
cd
exec \
"$(games_get_libdir)/${PN}/scratch_squeak_vm" \\
-plugins "$(games_get_libdir)/${PN}/Plugins" \\
"/usr/local/bin/squeakvm" \\
-plugins "/usr/lib32/squeak/:$(games_get_libdir)/${PN}/Plugins" \\
-vm-sound-${squeak_sound_plugin} \\
"$(games_get_libdir)/${PN}/Scratch.image" \\
"${@}"
Expand Down

0 comments on commit 7848993

Please sign in to comment.