Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 297111 Details for
Bug 148644
ebuild request for games-emulation/qmc2
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
games-emulation/qmc2-0.34.ebuild
qmc2-0.34.ebuild (text/plain), 2.45 KB, created by
Jared B.
on 2011-12-27 20:31:44 UTC
(
hide
)
Description:
games-emulation/qmc2-0.34.ebuild
Filename:
MIME Type:
Creator:
Jared B.
Created:
2011-12-27 20:31:44 UTC
Size:
2.45 KB
patch
obsolete
># Copyright 1999-2011 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 ># $Header: $ > >EAPI=2 > >inherit eutils confutils games > >DESCRIPTION="An MAME frontend for SDLMAME/SDLMESS" >HOMEPAGE="http://qmc2.arcadehits.net/wordpress/" >SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2" > >LICENSE="GPL-2" >SLOT="0" >KEYWORDS="amd64 ~x86" >IUSE="debug joystick opengl phonon +sdlmame sdlmess youtube" > >DEPEND=">=x11-libs/qt-gui-4.5:4[accessibility] > >=x11-libs/qt-webkit-4.5:4 > phonon? ( || ( media-libs/phonon >=x11-libs/qt-phonon-4.5 ) ) > joystick? ( media-libs/libsdl[joystick] ) > opengl? ( >=x11-libs/qt-opengl-4.5:4 )" > #sqlite? ( >=x11-libs/qt-sql-4.5:4[sqlite] )" > >RDEPEND="${DEPEND} > sdlmame? ( =games-emulation/sdlmame-0.144 ) > sdlmess? ( =games-emulation/sdlmess-0.144 ) > x11-apps/xwininfo" > >S="${WORKDIR}/${PN}" > >pkg_setup() { > # Make sure at least one is selected > confutils_require_any sdlmame sdlmess > > # Validate USE flags > if use youtube && ! use phonon; then > die "You must set USE=phonon for youtube support." > fi > > # Set proper parameters for make > FLAGS="DESTDIR=${D} PREFIX=\"${GAMES_PREFIX}\" DATADIR=\"${GAMES_DATADIR}\" CTIME=0" > > use debug || FLAGS="${FLAGS} DEBUG=0" > use joystick || FLAGS="${FLAGS} JOYSTICK=0" > use opengl && FLAGS="${FLAGS} OPENGL=1" || FLAGS="${FLAGS} ARCADE_OPENGL=0" > use phonon || FLAGS="${FLAGS} PHONON=0" > #use sqlite && FLAGS="${FLAGS} DATABASE=1" > use youtube || FLAGS="${FLAGS} YOUTUBE=0" >} > >src_prepare() { > epatch "${FILESDIR}/${PN}-0.2_beta20-makefile.patch" > > ## This is not as it appears, ARCH means something different to qmc2's Makefile > ## then it means to the portage/portage-compatible package manager > sed -e 's%ifndef ARCH%ifdef ARCH%' -i Makefile > > use sdlmess && cp -r "${S}" "${WORKDIR}/${PN}-sdlmess" >} > >src_compile() { > if use sdlmame > then > emake ${FLAGS} EMULATOR=SDLMAME || die "make failed" > fi > > if use sdlmess > then > cd "${WORKDIR}/${PN}-sdlmess" > emake ${FLAGS} EMULATOR=SDLMESS || die "make failed" > fi >} > >src_install() { > if use sdlmame > then > emake ${FLAGS} EMULATOR=SDLMAME install || die "make install failed" > fi > > if use sdlmess > then > cd "${WORKDIR}/${PN}-sdlmess" > emake ${FLAGS} EMULATOR=SDLMESS install || die "make install failed" > fi > > ## Not a big fan of doing this, but it's necessary due to build system > sed -ie "s%${D}%/%g" "${D}etc/${PN}/${PN}.ini" > rm "${D}etc/${PN}/${PN}.inie" > > # Remove symlink to avoid confusion > rm "${D}/${GAMES_BINDIR}/qmc2" > > 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 148644
:
119859
|
124194
|
124221
|
126093
|
180310
|
180311
|
180312
|
185426
|
241459
|
297111
|
341582
|
350588
|
350590
|
409708
|
411016
|
517632
|
546670