Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 324276 Details for
Bug 214479
ebuild request for Gambatte GB/GBC emulator
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
games-emulation/gambatte-0.5.0_alpha2.ebuild
gambatte-0.5.0_alpha2.ebuild (text/plain), 1.92 KB, created by
Jared B.
on 2012-09-19 06:16:13 UTC
(
hide
)
Description:
games-emulation/gambatte-0.5.0_alpha2.ebuild
Filename:
MIME Type:
Creator:
Jared B.
Created:
2012-09-19 06:16:13 UTC
Size:
1.92 KB
patch
obsolete
># Copyright 1999-2008 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 ># $Header: > >EAPI=2 > >inherit games qt4 > >MY_PV=${PV/_alpha/-wip} >MY_REV=v2 > >DESCRIPTION="An accuracy-focused Gameboy / Gameboy Color emulator" >HOMEPAGE="http://sourceforge.net/projects/gambatte" >SRC_URI="mirror://sourceforge/${PN}/${PN}_src-${MY_PV}${MY_REV}.tar.gz" > >LICENSE="GPL-2" >SLOT="0" >KEYWORDS="amd64 ~x86" >IUSE="alsa sdl qt4" > ># builds SDL version only if qt4 isn't USEd >RDEPEND="sdl? ( media-libs/libsdl ) > qt4? ( > x11-libs/qt-gui:4 > x11-libs/qt-opengl:4 > x11-libs/libX11 > x11-libs/libXv > x11-libs/libXrandr > x11-libs/libXext > media-libs/alsa-lib > sys-devel/make > ) > alsa? ( media-libs/alsa-lib )" >DEPEND="${RDEPEND} > dev-util/scons" > >S=${WORKDIR}/${PN}_src-${MY_PV}${MY_REV} > >pkg_setup() { > # Validate USE flags > if ! use sdl && ! use qt4; then > die "You must enable at least one frontend using the 'sdl' and 'qt4' USE flags." > fi; >} > >src_prepare() { > # Fix zlib/minizip build error > sed -e '1i#define OF(x) x' \ > -i "${S}/libgambatte/src/file/unzip/ioapi.h" "${S}/libgambatte/src/file/unzip/unzip.h" \ > || die "sed iompi.h failed" >} > >src_compile() { > # Set options for parallel build > local sconsopts=$(echo "${MAKEOPTS}" | sed -ne "/-j/ { s/.*\(-j[[:space:]]*[0-9]\+\).*/\1/; p }") > > # build core library > cd "${S}/libgambatte" > scons ${sconsopts} || die "library build failed" > > # build sdl frontend > if use sdl; then > cd "${S}/gambatte_sdl" > scons ${sconsopts} || die "sdl build failed" > fi > > # build qt frontend > if use qt4; then > cd "${S}/gambatte_qt" > eqmake4 ${PN}_qt.pro > emake || die "qt build failed" > fi >} > >src_install() { > if use sdl; then > dogamesbin gambatte_sdl/gambatte_sdl || die "sdl install failed" > doman gambatte_sdl/man/gambatte_sdl.6 > fi > if use qt4; then > dogamesbin gambatte_qt/bin/gambatte_qt || die "qt install failed" > doman gambatte_qt/man/gambatte_qt.6 > fi > > dodoc README changelog > > prepgamesdirs >}
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 214479
:
148925
|
195859
|
289419
|
290019
|
324276
|
341578