diff options
author | Julian Ospald <hasufell@gentoo.org> | 2013-06-06 09:49:37 +0000 |
---|---|---|
committer | Julian Ospald <hasufell@gentoo.org> | 2013-06-06 09:49:37 +0000 |
commit | 7bcae676f010e0ac566aa126a2f1f6d0a1e0b358 (patch) | |
tree | 785db7ab4f102985d9ddbcb786d50866fb3ba77c /games-emulation | |
parent | Make build verbose, wrt bug #456146. Thanks to Agostino Sarubbo for discoveri... (diff) | |
download | historical-7bcae676f010e0ac566aa126a2f1f6d0a1e0b358.tar.gz historical-7bcae676f010e0ac566aa126a2f1f6d0a1e0b358.tar.bz2 historical-7bcae676f010e0ac566aa126a2f1f6d0a1e0b358.zip |
version bump
Package-Manager: portage-2.2.0_alpha177/cvs/Linux x86_64
Manifest-Sign-Key: 0xE73C35B3
Diffstat (limited to 'games-emulation')
-rw-r--r-- | games-emulation/gambatte/ChangeLog | 8 | ||||
-rw-r--r-- | games-emulation/gambatte/Manifest | 20 | ||||
-rw-r--r-- | games-emulation/gambatte/gambatte-0.5.0_p20130601.ebuild | 100 |
3 files changed, 118 insertions, 10 deletions
diff --git a/games-emulation/gambatte/ChangeLog b/games-emulation/gambatte/ChangeLog index d3816ab790b9..537df7bb08d0 100644 --- a/games-emulation/gambatte/ChangeLog +++ b/games-emulation/gambatte/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for games-emulation/gambatte # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/games-emulation/gambatte/ChangeLog,v 1.2 2013/04/13 21:21:52 hasufell Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-emulation/gambatte/ChangeLog,v 1.3 2013/06/06 09:49:34 hasufell Exp $ + +*gambatte-0.5.0_p20130601 (06 Jun 2013) + + 06 Jun 2013; Julian Ospald <hasufell@gentoo.org> + +gambatte-0.5.0_p20130601.ebuild: + version bump *gambatte-0.5.0_p20130413 (13 Apr 2013) diff --git a/games-emulation/gambatte/Manifest b/games-emulation/gambatte/Manifest index c4fcaabaf3e9..1756c68ce1bb 100644 --- a/games-emulation/gambatte/Manifest +++ b/games-emulation/gambatte/Manifest @@ -3,18 +3,20 @@ Hash: SHA256 DIST gambatte-0.5.0_p20130310.tar.xz 352624 SHA256 7826eccf91d1203a1db56df13ca5becbcf434e5fc9f59c12ade3bffff58fab4c SHA512 cd8a7a0bdb554fddb829e90f83541bf4e2c061e3cd92f6b9ad7ab73fdb1bdbd276d1697c3b51e66eb3f518fd5c11db6e5ca01f1acb3ecbee48e41cff039839bc WHIRLPOOL 0335185155a8d4280de930f5ca0fa8e57b97ba00984ff524e0b187300f2239625896e1ebf5bf87edd2eb023665f8c66ca1e05a2e6aed01473c184bae83a7a396 DIST gambatte-0.5.0_p20130413.tar.xz 353680 SHA256 bb7ff269a355b18c4e283aaf10f068d7df65c34405063ee67f5900cd84ceee5a SHA512 2ce8d24127ce5a4f9544b058c75cf1edceca5feb6c48479f76ba7fda89ae7e8b550a10a11df0ba4dabcf76431bf106796380d54cd1536dab8337ef5a473436e3 WHIRLPOOL b38d1407426b706dc0d25f180a2bc3d81fa7354c1143935b4d83f95e4164ea468481e1ad5c28c8ed1a0b1f885bfe2c002f7c5b7fae08cfaa192721ced5d1bee3 +DIST gambatte_src-r537.tar.gz 520699 SHA256 3975b14327cc6885ccd949eed9d76cf5bdf4a5a0c1318e620c07db49b6940b16 SHA512 d18b077b54f885c0c889d24ddbf7b998a6ec97f630f24e5cc089736e325a830aa621754819f734ac580dc7e324a54b1047664216fab46ef7a706eeaf6b3c1dd1 WHIRLPOOL 52e14f9cdaf634292fc5fa1972cac324b5f80706cda0e54ee0a647edd5353034af48d8c49d5feafe69cdb04a9ed438767b34cb1b5d6be90a34b25a45f39dd754 EBUILD gambatte-0.5.0_p20130310.ebuild 2201 SHA256 aad461646c389a420d115c50dd97ffda6231e4ba6e51c2cae8312a30db691db5 SHA512 4dcbe45eddbd053d719c0a86f0227a0099f05567c69096c1e0f4db615591b0bbe887c3bdb9d8c36f193f232c79a491457f7af0156892ded512507b6606fb241e WHIRLPOOL f4953fce0dd0421a367f1c319fee0585d27c93887627ce74a356cb95cd7d73f065425531aa1c5111da983f464b4c20c8d5aecf703b16af76cbf0a2a9ec048721 EBUILD gambatte-0.5.0_p20130413.ebuild 2201 SHA256 15c4aec939848adb9af894a5b615efeb5e9bcd836290a7e470d877b60d26ae3e SHA512 2a65eefb7feeea8378f960c6f09d6b1cc6fe402c8cbd90c5fe579d87a770415aacb68a91cd50ad3f92002dd56ed58e28fcaf370d62042013019f7888685017bd WHIRLPOOL 31b39f4af6908b294b457e8c1bc2ec70e819c8515f63da23f3918bc70eb2bc8ac56870eaed03dcb2fbaf5417be08fdb516ade4ed371f7ca2a11c8a0930bc65ea -MISC ChangeLog 717 SHA256 c48de33951ef5b2aa6f4d728d2a1d8b96b8431a4fbdc2369b62e46b10643c1bf SHA512 455f4146be8ca48a1f7bbfa6a12fb6d59fb6b8a483a36fd95065eb778c5b72fb2ccb0858a3809f1bdf5a76375385c7447865ba008563d0515dfb286360b3fe0e WHIRLPOOL 7aed189e87577da9c345bf48911ccd0cb11761735609456f75e4b20f662fbcd668d4a034bb34fcbface98291c02d20a143e98d7d7a9804944b692a05d458d9af +EBUILD gambatte-0.5.0_p20130601.ebuild 2246 SHA256 55dcde4583a3710429ff4527df5d62526151289fe47666590320b71400a14cf2 SHA512 a3624a19f1ae52c834288f1dd250395306fa0f480085d64e926ec80660f27b8460601f403a8ba07dabdb6fe7d04e945b8bbb6ca7974167fbae15acf8b15354cb WHIRLPOOL 2e88cf27b148a737fc9bc83071126a253329a75c5ec8b51e1038988863f4aa8c73e385c3d6a679cf15ca22b3883ef93335b9183413c78db97ee39da68c143d2c +MISC ChangeLog 861 SHA256 d87b80f9da52948533ca2f84fbcab5ab49b889050ad88b8a850b6c148c8da48a SHA512 3d21d9b234f4f3255cc25d450936b5e28cd3a4e3005d249d27a092abb783e057bf3136c5aeecace6b217e227081897163e38b6ab071c69f6033fbb53a62bfbaf WHIRLPOOL abf5e184bf622b08f86935f544e21f5b229c2d86e7bf22bbaf6895a1041ac0c3d0da6d5f1b398744a48dd66e1cdd8c6acc21f01a5c79f76a283533e939304886 MISC metadata.xml 255 SHA256 8ce125b1cb2a8da5fe808223ae6ed60fe03598c692e5020f0a8aaee09b5d6ca3 SHA512 29f4a4a15fc968a3151c449354cd2003831f4b66b57d72222c46d4e4f7ff0586ed3f0b76d09fadf0b43fbb3a46951b19207dd6d38b79fe394b61694cd272ad95 WHIRLPOOL 373afc42b6a5f9f473397b1b95b73377110a2d7cf3590bdb8e0ef4b58c9628a06b1af46db726416fbaad0c29b91ee1eb631eccac14a26be994b705a43f097db8 -----BEGIN PGP SIGNATURE----- -Version: GnuPG v2.0.19 (GNU/Linux) +Version: GnuPG v2.0.20 (GNU/Linux) -iQEcBAEBCAAGBQJRacxvAAoJEFpvPKfnPDWzevsH/3tvD+yjUDR6/elct6KBZ8I9 -FeBicgvUkM8tjqLa9cI7noYftmNI+azh8GKnpFHr5hFrcJjKrWO0IDVw/0XLtL1H -yKXK9iDf9r47UeXJaGtVvnHC4vPD3QKIC4mYZ/4/N73br+YKS0Kyo1XHeK90Q1xV -DMKKsoIbI491aAu/chQmDuxJLlI5ZdAW3qley6EDIvQjlnenF3ORqDp7Bc/9Jw5e -JgAPFgz5ByoYZigBGhpba5OuGRbJNXGKoW6LJVF9d3WfCOzZy9PzILrW2W4J0ccw -k10BcgIJYGB0guPDDifqdI5PoysYGBXATcWSvi0o+HYLADmEOeYi1lU5cMQI390= -=9xWs +iQEcBAEBCAAGBQJRsFswAAoJEFpvPKfnPDWzfxMH/j18nNDRUxyG3dSZp+UJ0zON +Nd96F6H4cgDzZLkAEfEqh+o5O08cHA2V5JVl6jtzoBV5R+QJbGd05zV3ZSOOwZ/H +HuOqxhjDUNaXH/C06v+7Cb2g6nmjIaCLq0Vul3venSwJiEKHwcR3AhRnQm3LfSKV +vseV1GYmSMe4KiQT9FOrVucviTgMj3Q7x1vKZca5ZmJ/xREHNBK0WrnhkdYXUzjH +uP/Md7VnMRD9Rx919IEydiamEWCk1AeWYHASQQqoLbI99Nz+dO9Z+sVCQIN1cIlh +TNkIZome/ePGo/tYcAdN0doTCn9lb+pwDfiZi8AD+rGX9sk3cJjhu7CZHy2Q1SM= +=7lmq -----END PGP SIGNATURE----- diff --git a/games-emulation/gambatte/gambatte-0.5.0_p20130601.ebuild b/games-emulation/gambatte/gambatte-0.5.0_p20130601.ebuild new file mode 100644 index 000000000000..9052aef0f562 --- /dev/null +++ b/games-emulation/gambatte/gambatte-0.5.0_p20130601.ebuild @@ -0,0 +1,100 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/games-emulation/gambatte/gambatte-0.5.0_p20130601.ebuild,v 1.1 2013/06/06 09:49:34 hasufell Exp $ + +EAPI=5 + +inherit scons-utils qt4-r2 games + +DESCRIPTION="An accuracy-focused Gameboy / Gameboy Color emulator" +HOMEPAGE="http://sourceforge.net/projects/gambatte" +SRC_URI="mirror://sourceforge/gambatte/gambatte_src-r537.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="qt4 +sdl" +REQUIRED_USE="|| ( qt4 sdl )" + +RDEPEND=" + sys-libs/zlib + qt4? ( + dev-qt/qtcore:4 + dev-qt/qtgui:4 + dev-qt/qtopengl:4 + media-libs/alsa-lib + x11-libs/libX11 + x11-libs/libXext + x11-libs/libXrandr + x11-libs/libXv + ) + sdl? ( media-libs/libsdl[X,audio,joystick,video] )" +DEPEND="${RDEPEND} + app-arch/gzip" + +S=${WORKDIR}/${PN}_src-r537 + +fix_scons() { + local i + for i; do + cat >> $i << END +import os +import SCons.Util + +if os.environ.has_key('AR'): + env['AR'] = os.environ['AR'] +if os.environ.has_key('RANLIB'): + env['RANLIB'] = os.environ['RANLIB'] +if os.environ.has_key('CC'): + env['CC'] = os.environ['CC'] +if os.environ.has_key('CFLAGS'): + env['CCFLAGS'] += SCons.Util.CLVar(os.environ['CFLAGS']) +if os.environ.has_key('CXX'): + env['CXX'] = os.environ['CXX'] +if os.environ.has_key('CXXFLAGS'): + env['CXXFLAGS'] += SCons.Util.CLVar(os.environ['CXXFLAGS']) +if os.environ.has_key('CPPFLAGS'): + env['CCFLAGS'] += SCons.Util.CLVar(os.environ['CPPFLAGS']) +if os.environ.has_key('LDFLAGS'): + env['LINKFLAGS'] += SCons.Util.CLVar(os.environ['LDFLAGS']) +END + done +} + +src_prepare() { + # Fix zlib/minizip build error + sed -i \ + -e '1i#define OF(x) x' \ + libgambatte/src/file/unzip/{unzip,ioapi}.h \ + || die "sed iompi.h failed" + + fix_scons {gambatte_sdl,libgambatte}/SConstruct +} + +src_compile() { + # build core library + cd "${S}"/libgambatte || die + escons + + # build sdl frontend + if use sdl; then + cd "${S}"/gambatte_sdl || die + escons + fi + + # build qt frontend + if use qt4; then + cd "${S}"/gambatte_qt || die + eqmake4 ${PN}_qt.pro + emake + fi +} + +src_install() { + use sdl && dogamesbin gambatte_sdl/gambatte_sdl + use qt4 && dogamesbin gambatte_qt/bin/gambatte_qt + + nonfatal dodoc README changelog + + prepgamesdirs +} |