diff options
author | Alfredo Tupone <tupone@gentoo.org> | 2006-04-26 22:42:07 +0000 |
---|---|---|
committer | Alfredo Tupone <tupone@gentoo.org> | 2006-04-26 22:42:07 +0000 |
commit | e0d35627611f65d8243e93097390e236ab6ece06 (patch) | |
tree | 48fda6d59164bc9e6ffeae8c57c9f140d64e7a6e /games-arcade | |
parent | Adding games-arcade/stepmania:force-oss (diff) | |
download | gentoo-2-e0d35627611f65d8243e93097390e236ab6ece06.tar.gz gentoo-2-e0d35627611f65d8243e93097390e236ab6ece06.tar.bz2 gentoo-2-e0d35627611f65d8243e93097390e236ab6ece06.zip |
Version bump. Closing bugs #109535 #94554 #127693
(Portage version: 2.1_pre7-r5)
Diffstat (limited to 'games-arcade')
-rw-r--r-- | games-arcade/stepmania/ChangeLog | 14 | ||||
-rw-r--r-- | games-arcade/stepmania/Manifest | 24 | ||||
-rw-r--r-- | games-arcade/stepmania/files/digest-stepmania-3.9 | 6 | ||||
-rw-r--r-- | games-arcade/stepmania/files/stepmania-3.9-alsa.patch | 15 | ||||
-rw-r--r-- | games-arcade/stepmania/files/stepmania-3.9-ffmpeg.patch | 146 | ||||
-rw-r--r-- | games-arcade/stepmania/files/stepmania-3.9-gcc41.patch | 49 | ||||
-rw-r--r-- | games-arcade/stepmania/files/stepmania-3.9-gentoo.patch | 21 | ||||
-rw-r--r-- | games-arcade/stepmania/stepmania-3.9.ebuild | 77 |
8 files changed, 348 insertions, 4 deletions
diff --git a/games-arcade/stepmania/ChangeLog b/games-arcade/stepmania/ChangeLog index 1496f4a041e3..e27769f3445d 100644 --- a/games-arcade/stepmania/ChangeLog +++ b/games-arcade/stepmania/ChangeLog @@ -1,6 +1,18 @@ # ChangeLog for games-arcade/stepmania # Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/games-arcade/stepmania/ChangeLog,v 1.7 2006/04/13 20:14:56 wolf31o2 Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-arcade/stepmania/ChangeLog,v 1.8 2006/04/26 22:42:05 tupone Exp $ + +*stepmania-3.9 (26 Apr 2006) + + 26 Apr 2006; <Tupone@gentoo.org> +files/stepmania-3.9-alsa.patch, + +files/stepmania-3.9-ffmpeg.patch, +files/stepmania-3.9-gcc41.patch, + +files/stepmania-3.9-gentoo.patch, +stepmania-3.9.ebuild: + Bumped version, bug #109535 by Robert Lundmark + Adding ffmpeg and alsa patch thanks to Damien THEBAULT + Adding menu icon thanks to Simon Ruggier + Adding USE flag force-oss, bug #94554 by Loïc Lacombe + Fixing compilation with gcc-4.1, bug #127693 by zyprexa, + thanks to Hanno Meyer-Thurow 13 Apr 2006; Chris Gianelloni <wolf31o2@gentoo.org> stepmania-3.9_rc2.ebuild, stepmania-3.9_rc3.ebuild: diff --git a/games-arcade/stepmania/Manifest b/games-arcade/stepmania/Manifest index 1098fb70b12c..b730bfbcd9a3 100644 --- a/games-arcade/stepmania/Manifest +++ b/games-arcade/stepmania/Manifest @@ -1,12 +1,27 @@ -MD5 5b585fa9a4e1cc02c6762c30ad9901d6 ChangeLog 1266 -RMD160 5c923e4b3feb3aaf0b16489669d3093127ce9348 ChangeLog 1266 -SHA256 3d5b83913976011f18a7b349047c62bad8541e1f7f45579b3660c2aef05700db ChangeLog 1266 +MD5 e5fc6c33ea66da4368916a24bf074882 ChangeLog 1792 +RMD160 032df2589283ea05d1873180fd99c9d5cf01e44d ChangeLog 1792 +SHA256 effe3fa88684dcaa89701efe7b95180ab41d08e740efa57fbdf4c47271b6b933 ChangeLog 1792 +MD5 c1e3bef52068916fd35ad333c8bc9729 files/digest-stepmania-3.9 521 +RMD160 8de9c7da4cd2c2689dc0da18f83213b514f507e1 files/digest-stepmania-3.9 521 +SHA256 d808db368491b77f5196ebef8f35817eead695add6514ed9337dbc24bc2a1f0c files/digest-stepmania-3.9 521 MD5 1f6776bc0e064c03ef664e7484d15f81 files/digest-stepmania-3.9_rc2 153 RMD160 a9465f3996b2b398f49b836c03b5dc463450cab4 files/digest-stepmania-3.9_rc2 153 SHA256 df4207e41d7e2dfcca6c97ac304cea11759c40a74397f1449617c11267d02ddd files/digest-stepmania-3.9_rc2 153 MD5 8ecd81c0e2caeeb512ce65e2c72279ba files/digest-stepmania-3.9_rc3 150 RMD160 0c8e76bb1d3a356630fbaf11360d0bbe6b94605c files/digest-stepmania-3.9_rc3 150 SHA256 d8300e5fb609f531890c86d2d4cd2b84665e639aff4c7ded037d41443942f3de files/digest-stepmania-3.9_rc3 150 +MD5 ce4eefeff7a193046f23b1090aff6107 files/stepmania-3.9-alsa.patch 356 +RMD160 e1c9b0abe3e8013fbe81f9c22f67bf9ec963e467 files/stepmania-3.9-alsa.patch 356 +SHA256 d08657046a074dde4206267e56fc54ae745bd3987278af55a41851373caf28eb files/stepmania-3.9-alsa.patch 356 +MD5 623c29b0a0dfa25000080f29fb3a91f6 files/stepmania-3.9-ffmpeg.patch 5075 +RMD160 9241708d300551dcfd08b3b7577b61431a075dc8 files/stepmania-3.9-ffmpeg.patch 5075 +SHA256 50ca9405bbb96c4b7279ac08fda9b7cfe2160151d8dae21aed7bd69ebd0b9355 files/stepmania-3.9-ffmpeg.patch 5075 +MD5 701473955ba80c360c12b17418b9748a files/stepmania-3.9-gcc41.patch 1920 +RMD160 25b559544b6efa9b52d15a439e8f6c3469b04b3c files/stepmania-3.9-gcc41.patch 1920 +SHA256 c684e69d0ea4e7e57e1d16f171f9a680e212d30fbd9723988f9a21a6ea5bbebf files/stepmania-3.9-gcc41.patch 1920 +MD5 4afa2bc19d2844b0744b4effbe9e8e4f files/stepmania-3.9-gentoo.patch 941 +RMD160 d352bf2106973e9a993293d3f1d6f14f7f125a60 files/stepmania-3.9-gentoo.patch 941 +SHA256 eb82b01bcb17d0f09024deb1624e63682a27f49086e43c42b45f85821ba03b2d files/stepmania-3.9-gentoo.patch 941 MD5 c677a89ef81e3059eb5cf189c563b5ac files/stepmania-3.9-rc2a-gentoo.patch 987 RMD160 b90f0f42f35262dfd8b919a81e33dec40143c9ad files/stepmania-3.9-rc2a-gentoo.patch 987 SHA256 b78acdf37a2539d3c8b4d608618027efd15c6dc042289dab73b32c66b310a67a files/stepmania-3.9-rc2a-gentoo.patch 987 @@ -16,6 +31,9 @@ SHA256 338e44319b2cb50884f85fb5a5b60acff4ff1213c97e7bb0f935b6062e8e4bd2 files/st MD5 f3ebb905cea252821e25daaddca4b456 metadata.xml 331 RMD160 06d475b3b15cef1f560145c87d1cbd54daa8425b metadata.xml 331 SHA256 53fdf182cfb643e42c21f525c7788272b93ca70492ddbd58c78402782f8a68a9 metadata.xml 331 +MD5 172595ed8a6b690820d09bc015dd4d95 stepmania-3.9.ebuild 1988 +RMD160 0c837e842b4cbe24fc12780455a53042f1977ca9 stepmania-3.9.ebuild 1988 +SHA256 c0ce4634f477003453bfe78e455576f8b0bad45eacfda5066e6397ae6ba71649 stepmania-3.9.ebuild 1988 MD5 e09ed95b0c39e0acca28b224b7db983f stepmania-3.9_rc2.ebuild 1864 RMD160 c2cc4725b255a47864f4f07aa9215c21816e3bc1 stepmania-3.9_rc2.ebuild 1864 SHA256 2351b3e68514e030e3d68a80497cb438347c29e97b5bbf6c517f4170fcdecd21 stepmania-3.9_rc2.ebuild 1864 diff --git a/games-arcade/stepmania/files/digest-stepmania-3.9 b/games-arcade/stepmania/files/digest-stepmania-3.9 new file mode 100644 index 000000000000..078b4653e004 --- /dev/null +++ b/games-arcade/stepmania/files/digest-stepmania-3.9 @@ -0,0 +1,6 @@ +MD5 c786dd30170e2770b6b1638f1115472b StepMania-3.9-linux.tar.gz 10174400 +RMD160 426b11d652669be85753161f2cd03f2fe81df860 StepMania-3.9-linux.tar.gz 10174400 +SHA256 ccb6e549e8d026e79de7d6bbfadc7f1ac7f7c05242a90edf56cf652f5ddeaae0 StepMania-3.9-linux.tar.gz 10174400 +MD5 28bbbc985788bc990fa7042e2d7320b8 StepMania-3.9-src.tar.gz 3090223 +RMD160 e7451192fe67f53a7a93baf99bf9a20bc3d1f7cf StepMania-3.9-src.tar.gz 3090223 +SHA256 31082d388fa64b9764aee4d7628f377bc0fe47b8f157b8bcc66d9e3678479c85 StepMania-3.9-src.tar.gz 3090223 diff --git a/games-arcade/stepmania/files/stepmania-3.9-alsa.patch b/games-arcade/stepmania/files/stepmania-3.9-alsa.patch new file mode 100644 index 000000000000..3fde6e6fe27b --- /dev/null +++ b/games-arcade/stepmania/files/stepmania-3.9-alsa.patch @@ -0,0 +1,15 @@ +--- src/arch/Sound/ALSA9Helpers.cpp.ori 2005-12-29 17:14:29.172002500 +0100 ++++ src/arch/Sound/ALSA9Helpers.cpp 2005-12-29 17:49:07.609896750 +0100 +@@ -257,10 +257,9 @@ + CHECKPOINT; + dsnd_pcm_close(pcm); + CHECKPOINT; +- RageException::ThrowNonfatal( "SetHWParams failed" ); + } +- +- SetSWParams(); ++ else ++ SetSWParams(); + } + + Alsa9Buf::~Alsa9Buf() diff --git a/games-arcade/stepmania/files/stepmania-3.9-ffmpeg.patch b/games-arcade/stepmania/files/stepmania-3.9-ffmpeg.patch new file mode 100644 index 000000000000..01c6eaad3f2f --- /dev/null +++ b/games-arcade/stepmania/files/stepmania-3.9-ffmpeg.patch @@ -0,0 +1,146 @@ +--- src/arch/MovieTexture/MovieTexture_FFMpeg.cpp.ori 2005-12-29 16:54:24.744730500 +0100 ++++ src/arch/MovieTexture/MovieTexture_FFMpeg.cpp 2005-12-29 16:56:23.100127250 +0100 +@@ -307,7 +307,11 @@ + if ( GetNextTimestamp ) + { + if (pkt.dts != int64_t(AV_NOPTS_VALUE)) ++#if (LIBAVCODEC_BUILD >= 4754) ++ pts = (float)pkt.dts * m_stream->time_base.num / m_stream->time_base.den; ++#else + pts = (float)pkt.dts / AV_TIME_BASE; ++#endif + else + pts = -1; + GetNextTimestamp = false; +@@ -326,7 +326,11 @@ + * to give it a buffer to read from since it tries to read anyway. */ + static uint8_t dummy[FF_INPUT_BUFFER_PADDING_SIZE] = { 0 }; + int len = avcodec::avcodec_decode_video( ++#if (LIBAVCODEC_BUILD >= 4754) ++ m_stream->codec, ++#else + &m_stream->codec, ++#endif + &frame, &got_frame, + pkt.size? pkt.data:dummy, pkt.size ); + CHECKPOINT; +@@ -360,7 +364,11 @@ + } + + /* Length of this frame: */ ++#if (LIBAVCODEC_BUILD >= 4754) ++ LastFrameDelay = (float)m_stream->codec->time_base.num / m_stream->codec->time_base.den; ++#else + LastFrameDelay = (float)m_stream->codec.frame_rate_base / m_stream->codec.frame_rate; ++#endif + LastFrameDelay += frame.repeat_pict * (LastFrameDelay * 0.5f); + + return 1; +@@ -377,9 +385,15 @@ + pict.data[0] = (unsigned char *)m_img->pixels; + pict.linesize[0] = m_img->pitch; + ++#if (LIBAVCODEC_BUILD >= 4754) ++ avcodec::img_convert(&pict, AVPixelFormats[m_AVTexfmt].pf, ++ (avcodec::AVPicture *) &decoder->frame, decoder->m_stream->codec->pix_fmt, ++ decoder->m_stream->codec->width, decoder->m_stream->codec->height); ++#else + avcodec::img_convert(&pict, AVPixelFormats[m_AVTexfmt].pf, + (avcodec::AVPicture *) &decoder->frame, decoder->m_stream->codec.pix_fmt, + decoder->m_stream->codec.width, decoder->m_stream->codec.height); ++#endif + + m_ImageWaiting = FRAME_WAITING; + } +@@ -389,8 +403,13 @@ + for( int stream = 0; stream < m_fctx->nb_streams; ++stream ) + { + avcodec::AVStream *enc = m_fctx->streams[stream]; ++#if (LIBAVCODEC_BUILD >= 4754) ++ if( enc->codec->codec_type == avcodec::CODEC_TYPE_VIDEO ) ++ return enc; ++#else + if( enc->codec.codec_type == avcodec::CODEC_TYPE_VIDEO ) + return enc; ++#endif + } + return NULL; + } +@@ -418,8 +437,13 @@ + m_bThreaded = PREFSMAN->m_bThreadedMovieDecode; + + CreateDecoder(); ++#if (LIBAVCODEC_BUILD >= 4754) ++ LOG->Trace("Bitrate: %i", decoder->m_stream->codec->bit_rate ); ++ LOG->Trace("Codec pixel format: %s", avcodec::avcodec_get_pix_fmt_name(decoder->m_stream->codec->pix_fmt) ); ++#else + LOG->Trace("Bitrate: %i", decoder->m_stream->codec.bit_rate ); + LOG->Trace("Codec pixel format: %s", avcodec::avcodec_get_pix_fmt_name(decoder->m_stream->codec.pix_fmt) ); ++#endif + + /* Decode one frame, to guarantee that the texture is drawn when this function returns. */ + int ret = decoder->GetFrame(); +@@ -573,6 +597,17 @@ + if ( stream == NULL ) + RageException::Throw( "AVCodec (%s): Couldn't find any video streams", GetID().filename.c_str() ); + ++#if (LIBAVCODEC_BUILD >= 4754) ++ if( stream->codec->codec_id == avcodec::CODEC_ID_NONE ) ++ RageException::ThrowNonfatal( "AVCodec (%s): Unsupported codec %08x", GetID().filename.c_str(), stream->codec->codec_tag ); ++ ++ avcodec::AVCodec *codec = avcodec::avcodec_find_decoder( stream->codec->codec_id ); ++ if( codec == NULL ) ++ RageException::Throw( "AVCodec (%s): Couldn't find decoder %i", GetID().filename.c_str(), stream->codec->codec_id ); ++ ++ LOG->Trace("Opening codec %s", codec->name ); ++ ret = avcodec::avcodec_open( stream->codec, codec ); ++#else + if( stream->codec.codec_id == avcodec::CODEC_ID_NONE ) + RageException::ThrowNonfatal( "AVCodec (%s): Unsupported codec %08x", GetID().filename.c_str(), stream->codec.codec_tag ); + +@@ -582,6 +617,7 @@ + + LOG->Trace("Opening codec %s", codec->name ); + ret = avcodec::avcodec_open( &stream->codec, codec ); ++#endif + if ( ret < 0 ) + RageException::Throw( averr_ssprintf(ret, "AVCodec (%s): Couldn't open codec \"%s\"", GetID().filename.c_str(), codec->name) ); + +@@ -596,7 +632,11 @@ + { + if( decoder->m_stream ) + { ++#if (LIBAVCODEC_BUILD >= 4754) ++ avcodec::avcodec_close( decoder->m_stream->codec ); ++#else + avcodec::avcodec_close( &decoder->m_stream->codec ); ++#endif + decoder->m_stream = NULL; + } + +@@ -637,8 +677,13 @@ + /* Cap the max texture size to the hardware max. */ + actualID.iMaxSize = min( actualID.iMaxSize, DISPLAY->GetMaxTextureSize() ); + ++#if (LIBAVCODEC_BUILD >= 4754) ++ m_iSourceWidth = decoder->m_stream->codec->width; ++ m_iSourceHeight = decoder->m_stream->codec->height; ++#else + m_iSourceWidth = decoder->m_stream->codec.width; + m_iSourceHeight = decoder->m_stream->codec.height; ++#endif + + /* image size cannot exceed max size */ + m_iImageWidth = min( m_iSourceWidth, actualID.iMaxSize ); +@@ -818,7 +863,11 @@ + m_FrameSkipMode = true; + } + ++#if (LIBAVCODEC_BUILD >= 4754) ++ if( m_FrameSkipMode && decoder->m_stream->codec->frame_number % 2 ) ++#else + if( m_FrameSkipMode && decoder->m_stream->codec.frame_number % 2 ) ++#endif + return -1; /* skip */ + + return 0; diff --git a/games-arcade/stepmania/files/stepmania-3.9-gcc41.patch b/games-arcade/stepmania/files/stepmania-3.9-gcc41.patch new file mode 100644 index 000000000000..2b00414834d8 --- /dev/null +++ b/games-arcade/stepmania/files/stepmania-3.9-gcc41.patch @@ -0,0 +1,49 @@ +--- src/GameState.h.orig 2006-04-23 18:31:04.000000000 +0200 ++++ src/GameState.h 2006-04-23 18:31:23.000000000 +0200 +@@ -85,8 +85,8 @@ + bool AnyPlayersAreCpu() const; + + void GetCharacters( vector<Character*> &apCharactersOut ); +- Character* GameState::GetRandomCharacter(); +- Character* GameState::GetDefaultCharacter(); ++ Character* GetRandomCharacter(); ++ Character* GetDefaultCharacter(); + + PlayerController m_PlayerController[NUM_PLAYERS]; + +--- src/StdString.h.orig 2006-04-23 18:40:14.000000000 +0200 ++++ src/StdString.h 2006-04-23 19:22:10.000000000 +0200 +@@ -1087,7 +1087,7 @@ + + while ( (nIdx=this->find(szOld, nIdx)) != MYBASE::npos ) + { +- replace(this->begin()+nIdx, this->begin()+nIdx+nOldLen, szRealNew); ++ MYBASE::replace(this->begin()+nIdx, this->begin()+nIdx+nOldLen, szRealNew); + nReplaced++; + nIdx += nNewLen; + } +--- src/NetworkSyncServer.h.orig 2006-04-23 19:28:07.000000000 +0200 ++++ src/NetworkSyncServer.h 2006-04-23 19:28:20.000000000 +0200 +@@ -117,7 +117,7 @@ + void GameOver(PacketFunctions& Packet, const unsigned int clientNum); + void ScreenNetMusicSelectStatus(PacketFunctions& Packet, const unsigned int clientNum); + void AnalizeChat(PacketFunctions &Packet, const unsigned int clientNum); +- CString StepManiaLanServer::ListPlayers(); ++ CString ListPlayers(); + void Kick(CString &name); + void Ban(CString &name); + bool IsBanned(CString &ip); +--- src/RageUtil_FileDB.h.orig 2006-04-23 19:35:11.000000000 +0200 ++++ src/RageUtil_FileDB.h 2006-04-23 19:35:34.000000000 +0200 +@@ -86,9 +86,9 @@ + virtual void PopulateFileSet( FileSet &fs, const CString &sPath ) { } + + public: +- FilenameDB::FilenameDB(): ++ FilenameDB(): + ExpireSeconds( -1 ) { } +- virtual FilenameDB::~FilenameDB() { FlushDirCache(); } ++ virtual ~FilenameDB() { FlushDirCache(); } + + void AddFile( const CString &sPath, int size, int hash, void *priv=NULL ); + void DelFile( const CString &sPath ); diff --git a/games-arcade/stepmania/files/stepmania-3.9-gentoo.patch b/games-arcade/stepmania/files/stepmania-3.9-gentoo.patch new file mode 100644 index 000000000000..49778f09872a --- /dev/null +++ b/games-arcade/stepmania/files/stepmania-3.9-gentoo.patch @@ -0,0 +1,21 @@ +--- src/RageFileManager.cpp 2004-09-06 03:36:12.000000000 -0600 ++++ src/RageFileManager.cpp 2005-05-15 00:22:41.000000000 -0600 +@@ -154,7 +154,7 @@ + * scores. It would need to handle permissions properly. */ + /* RageFileManager::Mount( "dir", "/var/lib/games/stepmania", "Data/Profiles" ); */ + +- // CString Home = getenv( "HOME" ) + "/" + PRODUCT_NAME; ++ CString Home = ssprintf( "%s/%s", getenv( "HOME" ), PACKAGE ); + + /* + * Next: path to write general mutable user data. If the above path fails (eg. +@@ -181,7 +181,8 @@ + if( Root == "" ) + RageException::Throw( "Couldn't find \"Songs\"" ); + +- RageFileManager::Mount( "dir", Root, "" ); ++ RageFileManager::Mount( "dir", Home, "" ); ++ RageFileManager::Mount( "dir", "/usr/share/games/stepmania", "" ); + #elif defined(_WINDOWS) + /* All Windows data goes in the directory one level above the executable. */ + CHECKPOINT_M( ssprintf( "DOE \"%s\"", DirOfExecutable.c_str()) ); diff --git a/games-arcade/stepmania/stepmania-3.9.ebuild b/games-arcade/stepmania/stepmania-3.9.ebuild new file mode 100644 index 000000000000..f846399b0e5f --- /dev/null +++ b/games-arcade/stepmania/stepmania-3.9.ebuild @@ -0,0 +1,77 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/games-arcade/stepmania/stepmania-3.9.ebuild,v 1.1 2006/04/26 22:42:07 tupone Exp $ + +inherit eutils games + +IUSE="debug gtk jpeg mp3 mpeg vorbis force-oss" + +MY_PV="${PV/_/-}" +S="${WORKDIR}/StepMania-${MY_PV}-src" +SMDATA="${WORKDIR}/StepMania-${MY_PV}" +DESCRIPTION="An advanced DDR simulator" +HOMEPAGE="http://www.stepmania.com/stepmania/" +SRC_URI="mirror://sourceforge/stepmania/StepMania-${MY_PV}-src.tar.gz + mirror://sourceforge/stepmania/StepMania-${MY_PV}-linux.tar.gz" + +SLOT="0" +LICENSE="MIT" +KEYWORDS="~amd64 ~ppc ~x86" + +DEPEND="gtk? ( >=x11-libs/gtk+-2.0 ) + mp3? ( media-libs/libmad ) + >=dev-lang/lua-5.0 + media-libs/libsdl + jpeg? ( media-libs/jpeg ) + media-libs/libpng + sys-libs/zlib + mpeg? ( media-video/ffmpeg ) + vorbis? ( media-libs/libvorbis ) + virtual/opengl" + +src_unpack() { + unpack ${A} + cd "${S}" + epatch "${FILESDIR}/${P}"-gentoo.patch \ + "${FILESDIR}/${P}"-gcc41.patch \ + "${FILESDIR}/${P}"-ffmpeg.patch \ + "${FILESDIR}/${P}"-alsa.patch +} + +src_compile() { + econf \ + $(use_with debug) \ + $(use_with jpeg) \ + $(use_with vorbis) \ + $(use_with mp3) \ + $(use_enable gtk gtk2) \ + $(use_enable force-oss) \ + || die "Configure failed" + + emake || die "Make failed" +} + +src_install() { + local dir=${GAMES_DATADIR}/${PN} + + dodir ${dir} + exeinto ${dir} + doexe src/stepmania || die "Install failed" + if use gtk; then + doexe src/GtkModule.so || die "Install failed" + fi + + insinto ${dir} + + cd ${SMDATA} + doins Copying.txt NEWS README-FIRST.html || die "Install failed" + cp -r Announcers BGAnimations CDTitles Characters Courses Data Docs \ + NoteSkins RandomMovies Songs Themes Visualizations ${D}/${dir} || die "Install failed" + + make_desktop_entry stepmania Stepmania stepmania.png + newicon Themes/default/Graphics/Common\ window\ icon.png stepmania.png + + games_make_wrapper stepmania ${dir}/stepmania ${dir} + + prepgamesdirs +} |