Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 199337 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]
Cleanup, use bundled .desktop
mupen64plus-1.5-r3.ebuild (text/plain), 3.08 KB, created by
Michał Górny
on 2009-07-27 13:30:09 UTC
(
hide
)
Description:
Cleanup, use bundled .desktop
Filename:
MIME Type:
Creator:
Michał Górny
Created:
2009-07-27 13:30:09 UTC
Size:
3.08 KB
patch
obsolete
># Copyright 1999-2009 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 ># $Header: $ > >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() { > # XXX: try to get rid of bundled libs > > # first prepare to replace plugin path > epatch "${FILESDIR}"/${P}-plugindir.patch > > # and then do real path replace > 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" > > # set right CFLAGS and disable stripping > local march > march="$(get-flag "-march")" > sed -i \ > -e "s:STRIP.*= .*$:STRIP = true:" \ > -e "s:CFLAGS += -march=.*$:CFLAGS += ${march}:" \ > pre.mk glide64/Makefile || die "sed failed" > > if use custom-cflags; then > sed -i -e "s:CFLAGS += -pipe .*$:CFLAGS += ${CFLAGS}:" \ > pre.mk || die "sed failed" > fi >} > >get_opts() { > use lirc > echo -n "LIRC=$(( ! $? )) " > > use vcr > echo -n "VCR=$(( ! $? )) " > > use sse > echo -n "NO_ASM=$(( $? )) " > > echo -n GUI= > if use gtk; then > echo -n GTK2 > elif use qt4; then > echo -n QT4 > else > echo -n NONE > fi >} > >src_compile() { > make $(get_opts) ${MAKEOPTS} all || die "make failed" > > # replace absolute icon path with relative one > sed -i -e "s:^Icon=.*$:Icon=${PN}:" \ > ${PN}.desktop || die "sed failed" >} > >src_install() { > # These are: > # 1) prefix - not used really, printed only > # 2) SHAREDIR > # 3) BINDIR > # 4) 'LIBDIR' - where to put plugins in > # 5) 'MANDIR' - exact directory to put man file in > # 6) APPLICATIONSDIR - where to put .desktop in > > ./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" > > # Copy icon into system-wide location > newicon icons/mupen64plus-large.png ${PN}.png || die "newicon failed" > > # 'Move' docs into correct dir > rm -r "${D}${GAMES_DATADIR}/${PN}/doc" > dodoc README RELEASE TODO doc/*.txt || die "dodoc failed" > > 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