Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 194501 Details for
Bug 215426
games-emulation/mupen64plus (New Package)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
mupen64plus-1.5-r3.ebuild
mupen64plus-1.5-r3.ebuild (text/plain), 2.63 KB, created by
Rick Harris
on 2009-06-13 09:20:34 UTC
(
hide
)
Description:
mupen64plus-1.5-r3.ebuild
Filename:
MIME Type:
Creator:
Rick Harris
Created:
2009-06-13 09:20:34 UTC
Size:
2.63 KB
patch
obsolete
># Copyright 1999-2009 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 ># $Header: $ > ># based on previous ebuilds from http://bugs.gentoo.org/215426 > >EAPI="2" > >inherit eutils flag-o-matic games > >MY_P="Mupen64Plus-${PV/./-}-src" > >DESCRIPTION="A fork of Mupen64 Nintendo 64 emulator" >HOMEPAGE="http://code.google.com/p/mupen64plus/" >SRC_URI="http://mupen64plus.googlecode.com/files/${MY_P}.tar.gz" > >LICENSE="GPL-2" >SLOT="0" >KEYWORDS="~amd64 ~x86" >IUSE="gtk qt4 lirc samplerate vcr custom-cflags sse" > ># GTK+ is currently required by plugins even if no GUI support is enabled >RDEPEND="virtual/opengl > media-libs/libsdl > media-libs/sdl-ttf > media-libs/libpng > media-libs/freetype > sys-libs/zlib > >=x11-libs/gtk+-2 > qt4? ( x11-libs/qt-gui:4 > x11-libs/qt-core:4 ) > samplerate? ( media-libs/libsamplerate ) > lirc? ( app-misc/lirc )" >DEPEND="${RDEPEND} > dev-lang/yasm > dev-util/pkgconfig" > >S="${WORKDIR}/${MY_P}" > >pkg_setup() { > if ! use gtk && ! use qt4; then > ewarn "Building ${PN} without any GUI! To get one, enable USE=gtk or USE=qt4" > elif use gtk && use qt4; then > ewarn "Only one GUI can be built, using GTK+ one." > fi > > games_pkg_setup >} > >src_prepare() { > epatch "${FILESDIR}"/${P}-plugindir.patch > > sed -i \ > -e "s:/usr/local/share/mupen64plus:${GAMES_DATADIR}/mupen64plus:" \ > -e "s:%PUT_PLUGIN_PATH_HERE%:$(games_get_libdir)/${PN}/plugins/:" \ > main/main.c || die "sed failed" > > MARCH="$(get-flag "-march")" > sed -i -e "s:STRIP.*= .*$:STRIP = true:" pre.mk > sed -i -e "s:CFLAGS += -march=.*$:CFLAGS += ${MARCH}:" pre.mk glide64/Makefile > > sed -i -e "s:SHAREDIR \:= \$(PREFIX)/share/mupen64plus:SHAREDIR \:= \$(PREFIX)/mupen64plus:" \ > Makefile || die "Sed failed for Makefile" > > if use custom-cflags; then > sed -i -e "s:CFLAGS += -pipe .*$:CFLAGS += ${CFLAGS}:" pre.mk > fi >} > >src_configure() { > use lirc > LIRC="LIRC=$(( ! $? ))" > > use vcr > VCR="VCR=$(( ! $? ))" > > use sse > NO_ASM="NO_ASM=$(( $? ))" > > if use gtk; then > GUI="GUI=GTK2" > elif use qt4; then > GUI="GUI=QT4" > else > GUI="GUI=NONE" > fi >} > >src_compile() { > make ${MAKEOPTS} PREFIX=${GAMES_DATADIR} \ > ${LIRC} ${VCR} ${GUI} ${NO_ASM} all \ > || die "make failed" >} > >src_install() { > ./install.sh "${D}" \ > "${D}${GAMES_DATADIR}/${PN}" \ > "${D}${GAMES_BINDIR}" \ > "${D}$(games_get_libdir)/${PN}/plugins" \ > "${D}/usr/share/man/man1" \ > "${D}/usr/share/applications" \ > || or die "install.sh failed" > > rm -r "${D}${GAMES_DATADIR}/${PN}/doc" # those aren't really docs > dodoc README RELEASE TODO doc/*.txt > > prepgamesdirs >} > >pkg_postinst() { > games_pkg_postinst > if use lirc; then > elog "For lirc configuration see" > elog "http://code.google.com/p/mupen64plus/wiki/LIRC" > fi >} >
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 215426
:
147683
|
147684
|
147700
|
147748
|
148720
|
151855
|
157975
|
167224
|
169712
|
172453
|
177747
|
177879
|
179569
|
189779
|
189780
|
189782
|
190018
|
190020
| 194501 |
199337