Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 274851 Details for
Bug 368985
games-kids/scratch: New ebuild for MIT's "scratch" programming environment for young people
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
games-kids/scratch-1.4.0.1.ebuild
scratch-1.4.0.1.ebuild (text/plain), 2.33 KB, created by
Mike Nerone
on 2011-05-28 07:39:07 UTC
(
hide
)
Description:
games-kids/scratch-1.4.0.1.ebuild
Filename:
MIME Type:
Creator:
Mike Nerone
Created:
2011-05-28 07:39:07 UTC
Size:
2.33 KB
patch
obsolete
># Copyright 1999-2011 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 ># $Header: $ > >EAPI=3 > >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" > >LICENSE="MIT" >SLOT="0" >KEYWORDS="~amd64 ~x86" >IUSE="alsa oss pulseaudio v4l" > >DEPEND=" > >=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}" >ABI="x86" > >if use alsa; then squeak_sound_plugin="ALSA" >elif use oss; then squeak_sound_plugin="OSS" >elif use pulseaudio; then squeak_sound_plugin="pulse" >else squeak_sound_plugin="null" >fi > >pkg_setup() { > # Is the a convenience function for "zero or one"? > confutils_require_one alsa oss pulseaudio > > games_pkg_setup >} > >src_prepare() { > if ! use v4l; then > sed -i '/\/camera/d' "${S}/Makefile" > fi > use alsa || rm -f Plugins/vm-sound-ALSA > use oss || rm -f Plugins/vm-sound-OSS > use pulseaudio || rm -f Plugins/vm-sound-pulse >} > >src_install() { > local libdir="$(games_get_libdir)/${PN}" > local datadir="/usr/share/${PN}" > local icondir="/usr/share/icons/hicolor" > dodir "${libdir}" "${datadir}" > cp -r Scratch.* Plugins App/* "${D}${libdir}" > cp -r Help locale Media Projects "${D}${datadir}" > doman src/man/* > dodoc ACKNOWLEDGEMENTS KNOWN-BUGS README.txt > insinto /usr/share/mime/packages > doins src/scratch.xml > ( > cd src/icons > for res in *; do > insinto "${icondir}/${res}/apps" > doins "${res}"/scratch*.png > insinto "${icondir}/${res}/mimetypes" > newins "${res}/gnome-mime-application-x-scratch-project.png" mime-application-x-scratch-project.png > done > ) > install_runner > make_desktop_entry scratch Scratch scratch "Education;Development" "MimeType=application/x-scratch-project" >} > >install_runner() { > local tmpexe=$(emktemp) > cat << EOF > "${tmpexe}" >#!/bin/sh >cd >exec \ > "$(games_get_libdir)/${PN}/scratch_squeak_vm" \\ > -plugins "$(games_get_libdir)/${PN}/Plugins" \\ > -vm-sound-${squeak_sound_plugin} \\ > "$(games_get_libdir)/${PN}/Scratch.image" \\ > "${@}" >EOF > chmod go+rx "${tmpexe}" > newbin "${tmpexe}" "${PN}" || die >}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 368985
: 274851 |
467434