Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 447010 Details for
Bug 594448
games-simulation/powdertoy - Ebuilds for the Powder Toy, a physics sandbox game
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
powdertoy-91.5.330.ebuild: Ebuild for stable version of the Powder Toy
powdertoy-91.5.330.ebuild (text/plain), 3.11 KB, created by
DurianCakes
on 2016-09-21 05:05:05 UTC
(
hide
)
Description:
powdertoy-91.5.330.ebuild: Ebuild for stable version of the Powder Toy
Filename:
MIME Type:
Creator:
DurianCakes
Created:
2016-09-21 05:05:05 UTC
Size:
3.11 KB
patch
obsolete
># Copyright 1999-2016 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 ># $Id$ > >EAPI=6 > >inherit eutils fdo-mime scons-utils > >S="${WORKDIR}/The-Powder-Toy-${PV}" > >DESCRIPTION="Desktop version of the classic 'falling sand' physics sandbox" >HOMEPAGE="http://powdertoy.co.uk/" >SRC_URI="https://github.com/simtr/The-Powder-Toy/archive/v${PV}.tar.gz" > >LICENSE="GPL-3" >SLOT="0" >KEYWORDS="~amd64" >IUSE="cpu_flags_x86_sse cpu_flags_x86_sse2 cpu_flags_x86_sse3 +fftw +lua" > >DEPEND="app-arch/bzip2 > lua? ( dev-lang/lua ) > dev-util/scons > media-libs/libsdl > fftw? ( sci-libs/fftw:3.0/3 ) > sys-libs/zlib" >RDEPEND="${DEPEND}" > >PATCHES=( > ${FILESDIR}/${PN}-disable-sse-config-automagic.patch >) > >src_compile() { > # If cpu_flags_x86_sse is disabled, build the Powder Toy without any SSE support, > # even if the cpu_flags_x86_sse2 or cpu_flags_x86_sse3 use flags are enabled > > # Also pass the project-specific debugging and symbols flags so that the > # Powder Toy binary isn't automatically stripped by the project's SConscript. > # This lets portage decide whether or not to strip the binary. > > scons_args="--debugging --symbols" > > if ! use cpu_flags_x86_sse ; then > if use cpu_flags_x86_sse2 || use cpu_flags_x86_sse3 ; then > ewarn "cpu_flags_x86_sse2 and/or cpu_flags_x86_sse3 is enabled, but cpu_flags_x86_sse is disabled" > ewarn "This software will be built without any SSE optimizations." > fi > scons_args+=" --no-sse" > elif use cpu_flags_x86_sse ; then > scons_args+=" --sse" > fi > > if use cpu_flags_x86_sse && use cpu_flags_x86_sse2 ; then > scons_args+=" --sse2" > fi > > if use cpu_flags_x86_sse && use cpu_flags_x86_sse3 ; then > scons_args+=" --sse3" > fi > > if ! use lua ; then > scons_args+=" --nolua" > fi > > if ! use fftw ; then > scons_args+=" --nofft" > fi > > escons ${scons_args} >} > >src_install() { > MY_D="${D}/usr/bin" > symlink="${MY_D}/powder" > dodir "/usr/bin/" > > # Copy the binary over to the specified path. The name of the binary will differ > # depending on the architecture the powder toy is built on, as well as whether or > # not it was built with sse support. > # See http://powdertoy.co.uk/Wiki/W/Compiling_TPT%2B%2B_on_debian/ubuntu.html > if ! use cpu_flags_x86_sse && use amd64 ; then > cp -R "${S}/build/powder64-legacy" "${MY_D}" || die "Install failed!" > ln -s "${MY_D}/powder64-legacy" "${symlink}" || die "Install failed!" > elif ! use cpu_flags_x86_sse && ! use amd64 ; then > cp -R "${S}/build/powder-legacy" "${MY_D}" || die "Install failed!" > ln -s "${MY_D}/powder-legacy" "${symlink}" || die "Install failed!" > elif use cpu_flags_x86_sse && use amd64 ; then > cp -R "${S}/build/powder64" "${MY_D}" || die "Install failed!" > ln -s "${MY_D}/powder64" "${symlink}" || die "Install failed!" > else > cp -R "${S}/build/powder" "${MY_D}" || die "Install failed!" > fi > > # Install icon, .desktop file, and docs > doicon "${FILESDIR}/powder-48.png" > domenu "${FILESDIR}/powder.desktop" > dodoc README TODO >} > >pkg_postinst() { > # Tell the user how to launch the Powder Toy after it's installed. > elog "To launch the Powder Toy, just type: \"powder\"." > fdo-mime_desktop_database_update >} > >pkg_postrm() { > fdo-mime_desktop_database_update >}
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 594448
:
446770
|
446772
|
446774
|
447008
|
447010
|
447012
|
459584
|
459586
|
459588
|
469014