From 80f1dc4740de758646fa6fdbfa90624b2df43dbf Mon Sep 17 00:00:00 2001 From: Julian Ospald Date: Sat, 13 Apr 2013 21:21:52 +0000 Subject: version bump Package-Manager: portage-2.2.0_alpha173/cvs/Linux x86_64 Manifest-Sign-Key: 0xE73C35B3 --- games-emulation/gambatte/ChangeLog | 8 +- games-emulation/gambatte/Manifest | 18 ++-- .../gambatte/gambatte-0.5.0_p20130413.ebuild | 97 ++++++++++++++++++++++ 3 files changed, 114 insertions(+), 9 deletions(-) create mode 100644 games-emulation/gambatte/gambatte-0.5.0_p20130413.ebuild (limited to 'games-emulation') diff --git a/games-emulation/gambatte/ChangeLog b/games-emulation/gambatte/ChangeLog index d0a03464cb65..d3816ab790b9 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.1 2013/04/13 21:18:26 hasufell Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-emulation/gambatte/ChangeLog,v 1.2 2013/04/13 21:21:52 hasufell Exp $ + +*gambatte-0.5.0_p20130413 (13 Apr 2013) + + 13 Apr 2013; Julian Ospald + +gambatte-0.5.0_p20130413.ebuild: + version bump 13 Apr 2013; Julian Ospald +gambatte-0.5.0_p20130310.ebuild, +metadata.xml: diff --git a/games-emulation/gambatte/Manifest b/games-emulation/gambatte/Manifest index a84e5f5bcc34..c4fcaabaf3e9 100644 --- a/games-emulation/gambatte/Manifest +++ b/games-emulation/gambatte/Manifest @@ -2,17 +2,19 @@ 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 EBUILD gambatte-0.5.0_p20130310.ebuild 2201 SHA256 aad461646c389a420d115c50dd97ffda6231e4ba6e51c2cae8312a30db691db5 SHA512 4dcbe45eddbd053d719c0a86f0227a0099f05567c69096c1e0f4db615591b0bbe887c3bdb9d8c36f193f232c79a491457f7af0156892ded512507b6606fb241e WHIRLPOOL f4953fce0dd0421a367f1c319fee0585d27c93887627ce74a356cb95cd7d73f065425531aa1c5111da983f464b4c20c8d5aecf703b16af76cbf0a2a9ec048721 -MISC ChangeLog 573 SHA256 773924bffdb0d9896e1233dd3e432d27d77a592b731727b81ab9fab785ec3f30 SHA512 43e90d80e6010c26f661a8fd2462004255f7b122bb5b0102330e51731efc0c92b99bf1f85955c2653d327efe0d89761fd145d56a33f996325c2847c5388555d1 WHIRLPOOL b894e5b801246cdbae950f23f16b818ed96e3c955a3d926777b3b53b5b154a87171d960c520e291cd4ee55f7a053179daccd76a96e3a0ac02eee4c60a84045e2 +EBUILD gambatte-0.5.0_p20130413.ebuild 2201 SHA256 15c4aec939848adb9af894a5b615efeb5e9bcd836290a7e470d877b60d26ae3e SHA512 2a65eefb7feeea8378f960c6f09d6b1cc6fe402c8cbd90c5fe579d87a770415aacb68a91cd50ad3f92002dd56ed58e28fcaf370d62042013019f7888685017bd WHIRLPOOL 31b39f4af6908b294b457e8c1bc2ec70e819c8515f63da23f3918bc70eb2bc8ac56870eaed03dcb2fbaf5417be08fdb516ade4ed371f7ca2a11c8a0930bc65ea +MISC ChangeLog 717 SHA256 c48de33951ef5b2aa6f4d728d2a1d8b96b8431a4fbdc2369b62e46b10643c1bf SHA512 455f4146be8ca48a1f7bbfa6a12fb6d59fb6b8a483a36fd95065eb778c5b72fb2ccb0858a3809f1bdf5a76375385c7447865ba008563d0515dfb286360b3fe0e WHIRLPOOL 7aed189e87577da9c345bf48911ccd0cb11761735609456f75e4b20f662fbcd668d4a034bb34fcbface98291c02d20a143e98d7d7a9804944b692a05d458d9af MISC metadata.xml 255 SHA256 8ce125b1cb2a8da5fe808223ae6ed60fe03598c692e5020f0a8aaee09b5d6ca3 SHA512 29f4a4a15fc968a3151c449354cd2003831f4b66b57d72222c46d4e4f7ff0586ed3f0b76d09fadf0b43fbb3a46951b19207dd6d38b79fe394b61694cd272ad95 WHIRLPOOL 373afc42b6a5f9f473397b1b95b73377110a2d7cf3590bdb8e0ef4b58c9628a06b1af46db726416fbaad0c29b91ee1eb631eccac14a26be994b705a43f097db8 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (GNU/Linux) -iQEcBAEBCAAGBQJRacukAAoJEFpvPKfnPDWz+3AH/jSC1I6jnWKRSwntAzyHdpDV -zHnyUlwulvvgO/bYUY5PY++XkfFFPqZ4LRVOsKHzzjGtRHf/OP4jwd73U/KyZgPD -Y8mUYNs0otW/7YJvxCGJbu6KKxLEx5sJ5wCEoAJVvLC1pdCK2R0+HIZ4uaEDFKMu -SqBgpkPvLEyXYlAkpM3vhk2jVfsFUvZqNCBJP7fEC82mJnDqiUBJLTWsWVCDP1JR -3WYWs2xXG3mH7+2sh6fXlKravaW0sj1t+/nK1Q0oJkOCvJyaPcYMB1eknWHlZVV3 -PDqr7k26tSF5gm1tbQB2PKNne42KMMx8p8613cIZBfpial6IgxRZCPfarUpqDMg= -=SXfp +iQEcBAEBCAAGBQJRacxvAAoJEFpvPKfnPDWzevsH/3tvD+yjUDR6/elct6KBZ8I9 +FeBicgvUkM8tjqLa9cI7noYftmNI+azh8GKnpFHr5hFrcJjKrWO0IDVw/0XLtL1H +yKXK9iDf9r47UeXJaGtVvnHC4vPD3QKIC4mYZ/4/N73br+YKS0Kyo1XHeK90Q1xV +DMKKsoIbI491aAu/chQmDuxJLlI5ZdAW3qley6EDIvQjlnenF3ORqDp7Bc/9Jw5e +JgAPFgz5ByoYZigBGhpba5OuGRbJNXGKoW6LJVF9d3WfCOzZy9PzILrW2W4J0ccw +k10BcgIJYGB0guPDDifqdI5PoysYGBXATcWSvi0o+HYLADmEOeYi1lU5cMQI390= +=9xWs -----END PGP SIGNATURE----- diff --git a/games-emulation/gambatte/gambatte-0.5.0_p20130413.ebuild b/games-emulation/gambatte/gambatte-0.5.0_p20130413.ebuild new file mode 100644 index 000000000000..ebcaed7f9c03 --- /dev/null +++ b/games-emulation/gambatte/gambatte-0.5.0_p20130413.ebuild @@ -0,0 +1,97 @@ +# 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_p20130413.ebuild,v 1.1 2013/04/13 21:21:52 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="http://dev.gentoo.org/~hasufell/distfiles/${P}.tar.xz" + +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}" + +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 +} -- cgit v1.2.3-65-gdbad