diff options
author | Quentin Glidic <sardemff7+git@sardemff7.net> | 2017-03-18 12:12:13 +0100 |
---|---|---|
committer | Quentin Glidic <sardemff7+git@sardemff7.net> | 2017-03-18 12:12:13 +0100 |
commit | eef5308e185f488733c6616f84ba37964317b126 (patch) | |
tree | 14322ff213bff547a987d7c8754bae4b9beb215b /games-emulation/sdlmess/sdlmess-9999.ebuild | |
parent | gursormake: Drop (diff) | |
download | sardemff7-master.tar.gz sardemff7-master.tar.bz2 sardemff7-master.zip |
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
Diffstat (limited to 'games-emulation/sdlmess/sdlmess-9999.ebuild')
-rw-r--r-- | games-emulation/sdlmess/sdlmess-9999.ebuild | 106 |
1 files changed, 0 insertions, 106 deletions
diff --git a/games-emulation/sdlmess/sdlmess-9999.ebuild b/games-emulation/sdlmess/sdlmess-9999.ebuild deleted file mode 100644 index d13dbfa..0000000 --- a/games-emulation/sdlmess/sdlmess-9999.ebuild +++ /dev/null @@ -1,106 +0,0 @@ -# Copyright 1999-2011 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: $ - -EAPI="3" - -inherit subversion eutils flag-o-matic games - -ESVN_REPO_URI="svn://messdev.no-ip.org/mess/" - -DESCRIPTION="Multi Emulator Super System" -HOMEPAGE="http://www.mess.org" -SRC_URI="" - -LICENSE="MAME" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="debug +opengl" - -RDEPEND=">=media-libs/libsdl-1.2.10[opengl?] - sys-libs/zlib - dev-libs/expat - x11-libs/libXinerama - debug? ( - >gnome-base/gconf-2 - >=x11-libs/gtk+-2 )" -DEPEND="${RDEPEND} - app-arch/unzip - x11-proto/xineramaproto" - -src_unpack() { - subversion_src_unpack -} - -src_prepare() { - sed -i \ - -e '/^CCOMFLAGS += -O$(OPTIMIZE)=/s:^:# :' \ - -e '/\CCOMFLAGS += -pipe$/s:^:# :' \ - -e '/\LDFLAGS += -s/s:^:# :' \ - -e '/^BUILD_EXPAT/s:^:# :' \ - -e '/^BUILD_ZLIB/s:^:# :' \ - -e '/^SUFFIX/s:^:# :' \ - -e '/^SUFFIX64/s:^:# :' \ - -e '/^CCOMFLAGS =$/s:$:'"${CFLAGS}:" \ - makefile \ - || die "sed failed" -} - -src_compile() { - local make_opts opts_flags - use opengl || make_opts+=" NO_OPENGL=1" - - - if use debug ; then - ewarn "Building with DEBUG support is not recommended for normal use" - make_opts+="DEBUG=1" - make_opts+="PROFILE=1" - make_opts+="SYMBOL=1" - make_opts+="DEBUGGER=1" - fi - - - emake OSD=sdl TARGET=mess NAME="${PN}" \ - OPT_FLAGS='-DINI_PATH=\"'"${GAMES_SYSCONFDIR}/${PN}"'\"' \ - ${make_opts} \ - all \ - || die "emake failed" -} - -src_install() { # Thanks to Sabayon ebuild - dogamesbin "${PN}" || die "dogamesbin ${PN} failed" - - # Follows xmame ebuild, avoiding collision on /usr/games/bin/jedutil - exeinto "$(games_get_libdir)/${PN}" - local f - for f in chdman ldverify imgtool jedutil romcmp testkeys; do - doexe "${f}" || die "doexe ${f} failed" - done - - insinto "${GAMES_DATADIR}/${PN}" - doins -r artwork || die "doins -r keymaps failed" - doins -r hash || die "doins -r keymaps failed" - doins -r keymaps || die "doins -r keymaps failed" - - insinto "${GAMES_SYSCONFDIR}/${PN}" - local video="soft" - use opengl && video="opengl" - sed \ - -e "s:@VIDEO@:${video}:" \ - "${FILESDIR}"/vector.ini.in > "${ED}/${GAMES_SYSCONFDIR}/${PN}/"vector.ini \ - || die "sed vector.ini.in failed" - - sed \ - -e "s:@GAMES_SYSCONFDIR@:${GAMES_SYSCONFDIR}:" \ - -e "s:@GAMES_DATADIR@:${GAMES_DATADIR}:" \ - -e "s:@VIDEO@:${video}:" \ - "${FILESDIR}"/mess.ini.in > "${ED}/${GAMES_SYSCONFDIR}/${PN}/"mess.ini \ - || die "sed mess.ini.in failed" - - dodoc docs/{config,mame,newvideo}.txt *.txt - - keepdir "${GAMES_DATADIR}/${PN}"/{roms,sample,cheat,crosshair} - keepdir "${GAMES_SYSCONFDIR}/${PN}"/ctrlr - - prepgamesdirs -} |