diff options
author | Marcel Unbehaun <marcel@frostworx.de> | 2011-10-29 10:19:41 +0200 |
---|---|---|
committer | Marcel Unbehaun <marcel@frostworx.de> | 2011-10-29 10:19:41 +0200 |
commit | 2ece297ec1e4fcff26686d287adf4215d9a7cdd0 (patch) | |
tree | 411ded2eb41faa49945312dd7d3c2f205be49c73 /games-emulation | |
parent | [games-emulation/pcsx2-meta] initial modular pcsx2-9999 - time was up - patch... (diff) | |
download | gamerlay-2ece297ec1e4fcff26686d287adf4215d9a7cdd0.tar.gz gamerlay-2ece297ec1e4fcff26686d287adf4215d9a7cdd0.tar.bz2 gamerlay-2ece297ec1e4fcff26686d287adf4215d9a7cdd0.zip |
[games-emulation/pcsx2] added ebuilds for pcsx2+plugins release
Diffstat (limited to 'games-emulation')
34 files changed, 1374 insertions, 2 deletions
diff --git a/games-emulation/pcsx2-meta/Manifest b/games-emulation/pcsx2-meta/Manifest index b7326aa..54c63fc 100644 --- a/games-emulation/pcsx2-meta/Manifest +++ b/games-emulation/pcsx2-meta/Manifest @@ -1 +1 @@ -EBUILD pcsx2-meta-9999.ebuild 788 RMD160 67a309399a92a295ead76673da8df787808a7485 SHA1 da027be87ddcea5fa7e368d9ba038539e76c7b4a SHA256 18c680f6ed069d67131ba234a3b9ea08fcbe5e9ea5a2b135fec24e9763e41096 +EBUILD pcsx2-meta-9999.ebuild 792 RMD160 5a0b209aa8b2d6996c46a4132ba499920dde66c2 SHA1 9f292be613f8869b1d4afe3d7554ce7d2280f0da SHA256 bd12385ebed67c68c7749f6efa75285a0720c365312026b1fb015f8fa047d7aa diff --git a/games-emulation/pcsx2-meta/pcsx2-meta-9999.ebuild b/games-emulation/pcsx2-meta/pcsx2-meta-9999.ebuild index 6ca31f5..81bde05 100644 --- a/games-emulation/pcsx2-meta/pcsx2-meta-9999.ebuild +++ b/games-emulation/pcsx2-meta/pcsx2-meta-9999.ebuild @@ -12,7 +12,7 @@ SRC_URI="" LICENSE="GPL-3" SLOT="0" -KEYWORDS="" +KEYWORDS="~x86" RDEPEND=" games-emulation/pcsx2 games-emulation/ps2emu-cdvdiso diff --git a/games-emulation/pcsx2/Manifest b/games-emulation/pcsx2/Manifest index 791d959..76501b1 100644 --- a/games-emulation/pcsx2/Manifest +++ b/games-emulation/pcsx2/Manifest @@ -1 +1,3 @@ +DIST pcsx2-0.9.8.7z 10488726 RMD160 92e5cd6ec958092fe1ba6cff79763dec99dac60a SHA1 80f23ad79892306de738cf4138edc6d9563eb9c4 SHA256 1037b2418e7523f565d86c3a4ec4a2b4f4664e8c84dee73d62289961c69ab814 +EBUILD pcsx2-0.9.8.ebuild 3672 RMD160 f63cb79fd80bc4aae9587c81110da56d11118794 SHA1 295ab8b58b965f10c794473689dd5422a7454a7a SHA256 7e47886f07eb03a663fb04c6bd6e59e1e931a23285f0503ce4c0fad6d8270e2f EBUILD pcsx2-9999.ebuild 3624 RMD160 a11012976f4cddbbeef2d9013ec9c186de6d75e1 SHA1 caccfc51d1ee3be24eed4d3d0144993835fbd509 SHA256 1db6b664cec134115b14ad4bc30780615a0c15b366b0b243b7cf73dd8c130203 diff --git a/games-emulation/pcsx2/pcsx2-0.9.8.ebuild b/games-emulation/pcsx2/pcsx2-0.9.8.ebuild new file mode 100644 index 0000000..45fda70 --- /dev/null +++ b/games-emulation/pcsx2/pcsx2-0.9.8.ebuild @@ -0,0 +1,124 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI=3 + +WX_GTK_VER="2.8" +MY_PV=${P}-r4600-sources + +# no need for amd64 as we will use precompiled wxGTK. +#if use x86; then +# inherit wxwidgets +#fi + +inherit games cmake-utils wxwidgets + +DESCRIPTION="A PlayStation 2 emulator" +HOMEPAGE="http://www.pcsx2.net" +SRC_URI="http://forums.pcsx2.net/attachment.php?aid=28280 -> ${P}.7z" +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~x86" +IUSE="debug" +if use amd64; then + ABI="x86" +fi +if use debug; then + CMAKE_BUILD_TYPE="Debug" +else + CMAKE_BUILD_TYPE="Release" +fi + +DEPEND="dev-cpp/sparsehash + x86? ( + app-arch/bzip2 + sys-libs/zlib + media-libs/alsa-lib + media-libs/glew + media-libs/libsdl + media-libs/portaudio + media-gfx/nvidia-cg-toolkit + virtual/jpeg + virtual/opengl + x11-libs/gtk+:2 + x11-libs/libICE + x11-libs/libX11 + x11-libs/libXext + x11-libs/wxGTK[X] + ) + amd64? ( media-gfx/nvidia-cg-toolkit[multilib] + app-emulation/emul-linux-x86-baselibs + app-emulation/emul-linux-x86-opengl + app-emulation/emul-linux-x86-xlibs + app-emulation/emul-linux-x86-gtklibs + app-emulation/emul-linux-x86-sdl + app-emulation/emul-linux-x86-soundlibs + app-emulation/emul-linux-x86-wxGTK + )" +RDEPEND="${DEPEND}" + +S=${WORKDIR}/${MY_PV} + +src_prepare() { + sed -i -e "s:CDVDnull TRUE:CDVDnull FALSE:g" -i cmake/SelectPcsx2Plugins.cmake + sed -i -e "s:CDVDiso TRUE:CDVDiso FALSE:g" -i cmake/SelectPcsx2Plugins.cmake + sed -i -e "s:CDVDlinuz TRUE:CDVDlinuz FALSE:g" -i cmake/SelectPcsx2Plugins.cmake + sed -i -e "s:dev9null TRUE:dev9null FALSE:g" -i cmake/SelectPcsx2Plugins.cmake + sed -i -e "s:FWnull TRUE:FWnull FALSE:g" -i cmake/SelectPcsx2Plugins.cmake + sed -i -e "s:GSnull TRUE:GSnull FALSE:g" -i cmake/SelectPcsx2Plugins.cmake + sed -i -e "s:GSdx TRUE:GSdx FALSE:g" -i cmake/SelectPcsx2Plugins.cmake + sed -i -e "s:zerogs TRUE:zerogs FALSE:g" -i cmake/SelectPcsx2Plugins.cmake + sed -i -e "s:zzogl TRUE:zzogl FALSE:g" -i cmake/SelectPcsx2Plugins.cmake + sed -i -e "s:PadNull TRUE:PadNull FALSE:g" -i cmake/SelectPcsx2Plugins.cmake + sed -i -e "s:onepad TRUE:onepad FALSE:g" -i cmake/SelectPcsx2Plugins.cmake + sed -i -e "s:zeropad TRUE:zeropad FALSE:g" -i cmake/SelectPcsx2Plugins.cmake + sed -i -e "s:SPU2null TRUE:SPU2null FALSE:g" -i cmake/SelectPcsx2Plugins.cmake + sed -i -e "s:spu2-x TRUE:spu2-x FALSE:g" -i cmake/SelectPcsx2Plugins.cmake + sed -i -e "s:zerospu2 TRUE:zerospu2 FALSE:g" -i cmake/SelectPcsx2Plugins.cmake + sed -i -e "s:USBnull TRUE:USBnull FALSE:g" -i cmake/SelectPcsx2Plugins.cmake +} + +src_configure() { + wxgtk_config="" + cg_config="" + if use amd64; then + # tell cmake to use 32 bit library + wxgtk_config="-DwxWidgets_CONFIG_EXECUTABLE=/usr/bin/wx-config-32" + cg_config="-DCG_LIBRARY=/opt/nvidia-cg-toolkit/lib32/libCg.so + -DCG_GL_LIBRARY=/opt/nvidia-cg-toolkit/lib32/libCgGL.so" + fi + + mycmakeargs=" + -DPACKAGE_MODE=1 + -DPLUGIN_DIR=$(games_get_libdir)/${PN} + -DPLUGIN_DIR_COMPILATION=$(games_get_libdir)/${PN} + -DCMAKE_INSTALL_PREFIX=/usr + -DCMAKE_LIBRARY_PATH=$(games_get_libdir)/${PN} + ${wxgtk_config} + ${cg_config} + " + cmake-utils_src_configure +} + +src_install() { + cmake-utils_src_install DESTDIR=${D} + + # move binary files to correct directory + mkdir -p ${D}/usr/games/bin + mv ${S}/bin/${PN} ${D}/usr/games/bin || die + + prepgamesdirs +} + +pkg_postinst() { + if use amd64; then + einfo "We currently use 64bit dev-cpp/sparsehash for compiling pcsx2" + einfo "since sparsehash installation contains only header files." + einfo "If you encounter any problems with that, try" + einfo "" + einfo " ABI=\"x86\" emerge sparsehash" + einfo "" + einfo "and remerge pcsx2 before reporting bugs." + fi +} diff --git a/games-emulation/ps2emu-cdvdiso/Manifest b/games-emulation/ps2emu-cdvdiso/Manifest index b1671a6..2077be3 100644 --- a/games-emulation/ps2emu-cdvdiso/Manifest +++ b/games-emulation/ps2emu-cdvdiso/Manifest @@ -1 +1,3 @@ +DIST pcsx2-0.9.8.7z 10488726 RMD160 92e5cd6ec958092fe1ba6cff79763dec99dac60a SHA1 80f23ad79892306de738cf4138edc6d9563eb9c4 SHA256 1037b2418e7523f565d86c3a4ec4a2b4f4664e8c84dee73d62289961c69ab814 +EBUILD ps2emu-cdvdiso-0.9.ebuild 2702 RMD160 7984ac463566e473b9f2209d0c68f6e2795c45a9 SHA1 435870d8c0309ddd0acb017fb56f608e11862a3f SHA256 c6ece857593d29087db6ecac7cf6d1495958b466d23db4dbdd2bd06a9b8d767e EBUILD ps2emu-cdvdiso-9999.ebuild 2613 RMD160 f4c0d49ef1d641c2d5ad7b9ca0d47b44cdf8d55b SHA1 f448d99d818351c779d063ea83203e2e83fe81da SHA256 9310f2b23407ff6d608cbd659550e01ddc365a779c54e0100458f24890d74d62 diff --git a/games-emulation/ps2emu-cdvdiso/ps2emu-cdvdiso-0.9.ebuild b/games-emulation/ps2emu-cdvdiso/ps2emu-cdvdiso-0.9.ebuild new file mode 100644 index 0000000..7e57255 --- /dev/null +++ b/games-emulation/ps2emu-cdvdiso/ps2emu-cdvdiso-0.9.ebuild @@ -0,0 +1,81 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI=3 + +WX_GTK_VER="2.8" +MY_PV=pcsx2-0.9.8-r4600-sources + +inherit games cmake-utils + +DESCRIPTION="cdvdiso plugin for pcsx2" +HOMEPAGE="http://www.pcsx2.net" +SRC_URI="http://forums.pcsx2.net/attachment.php?aid=28280 -> pcsx2-0.9.8.7z" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~x86" +IUSE="debug" +if use amd64; then + ABI="x86" +fi +if use debug; then + CMAKE_BUILD_TYPE="Debug" +else + CMAKE_BUILD_TYPE="Release" +fi + +DEPEND=" + x86? ( + app-arch/bzip2 + x11-libs/gtk+:2 + ) + amd64? ( app-emulation/emul-linux-x86-baselibs + app-emulation/emul-linux-x86-gtklibs + )" +RDEPEND="${DEPEND}" + +src_prepare() { + sed -i -e "s:add_subdirectory(3rdparty)::g" -i CMakeLists.txt + sed -i -e "s:INSTALL(FILES:#INSTALL(FILES:g" -i CMakeLists.txt + sed -i -e "s:add_subdirectory(locales)::g" -i CMakeLists.txt + sed -i -e "s:add_subdirectory(tools)::g" -i CMakeLists.txt + sed -i -e "s:add_subdirectory(common/src/Utilities)::g" -i CMakeLists.txt + sed -i -e "s:add_subdirectory(common/src/x86emitter)::g" -i CMakeLists.txt + sed -i -e "s:pcsx2_core TRUE:pcsx2_core FALSE:g" -i cmake/SelectPcsx2Plugins.cmake + sed -i -e "s:CDVDnull TRUE:CDVDnull FALSE:g" -i cmake/SelectPcsx2Plugins.cmake + sed -i -e "s:CDVDlinuz TRUE:CDVDlinuz FALSE:g" -i cmake/SelectPcsx2Plugins.cmake + sed -i -e "s:dev9null TRUE:dev9null FALSE:g" -i cmake/SelectPcsx2Plugins.cmake + sed -i -e "s:FWnull TRUE:FWnull FALSE:g" -i cmake/SelectPcsx2Plugins.cmake + sed -i -e "s:GSnull TRUE:GSnull FALSE:g" -i cmake/SelectPcsx2Plugins.cmake + sed -i -e "s:GSdx TRUE:GSdx FALSE:g" -i cmake/SelectPcsx2Plugins.cmake + sed -i -e "s:zerogs TRUE:zerogs FALSE:g" -i cmake/SelectPcsx2Plugins.cmake + sed -i -e "s:zzogl TRUE:zzogl FALSE:g" -i cmake/SelectPcsx2Plugins.cmake + sed -i -e "s:PadNull TRUE:PadNull FALSE:g" -i cmake/SelectPcsx2Plugins.cmake + sed -i -e "s:onepad TRUE:onepad FALSE:g" -i cmake/SelectPcsx2Plugins.cmake + sed -i -e "s:zeropad TRUE:zeropad FALSE:g" -i cmake/SelectPcsx2Plugins.cmake + sed -i -e "s:SPU2null TRUE:SPU2null FALSE:g" -i cmake/SelectPcsx2Plugins.cmake + sed -i -e "s:spu2-x TRUE:spu2-x FALSE:g" -i cmake/SelectPcsx2Plugins.cmake + sed -i -e "s:zerospu2 TRUE:zerospu2 FALSE:g" -i cmake/SelectPcsx2Plugins.cmake + sed -i -e "s:USBnull TRUE:USBnull FALSE:g" -i cmake/SelectPcsx2Plugins.cmake +} + +S=${WORKDIR}/${MY_PV} + +src_configure() { + mycmakeargs=" + -DPACKAGE_MODE=1 + -DPLUGIN_DIR=$(games_get_libdir)/pcsx2 + -DPLUGIN_DIR_COMPILATION=$(games_get_libdir)/pcsx2 + -DCMAKE_INSTALL_PREFIX=/usr + " + cmake-utils_src_configure +} + +src_install() { + insinto $(games_get_libdir)/pcsx2 + doins bin/plugins/libCDVDiso.so || die + prepgamesdirs +} + diff --git a/games-emulation/ps2emu-cdvdlinuz/Manifest b/games-emulation/ps2emu-cdvdlinuz/Manifest index 8e3ad9f..1ba922b 100644 --- a/games-emulation/ps2emu-cdvdlinuz/Manifest +++ b/games-emulation/ps2emu-cdvdlinuz/Manifest @@ -1 +1,3 @@ +DIST pcsx2-0.9.8.7z 10488726 RMD160 92e5cd6ec958092fe1ba6cff79763dec99dac60a SHA1 80f23ad79892306de738cf4138edc6d9563eb9c4 SHA256 1037b2418e7523f565d86c3a4ec4a2b4f4664e8c84dee73d62289961c69ab814 +EBUILD ps2emu-cdvdlinuz-0.4.ebuild 2565 RMD160 0f7a7615ff08581b406544307013fcc8cf01a5a4 SHA1 3e775053b6d7ae1186f41ece0e8cebeae7051433 SHA256 5f607fad0d72c29c5819caaecc7ca8963271a0d9f8a634113aef076122a12bba EBUILD ps2emu-cdvdlinuz-9999.ebuild 2475 RMD160 ea37acfd803aaa9333d9155178ada2f5331192f6 SHA1 2e837eacfbf60eadbc83626d1db1e8a4ea05a9f9 SHA256 dc862973ecd9aee9178ca50826ca79dfec27c5e04e6ae9ba2efc48799d973675 diff --git a/games-emulation/ps2emu-cdvdlinuz/ps2emu-cdvdlinuz-0.4.ebuild b/games-emulation/ps2emu-cdvdlinuz/ps2emu-cdvdlinuz-0.4.ebuild new file mode 100644 index 0000000..78116ba --- /dev/null +++ b/games-emulation/ps2emu-cdvdlinuz/ps2emu-cdvdlinuz-0.4.ebuild @@ -0,0 +1,73 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI=3 + +WX_GTK_VER="2.8" +MY_PV=pcsx2-0.9.8-r4600-sources + +inherit games cmake-utils + +DESCRIPTION="cdvdlinux plugin for pcsx2" +HOMEPAGE="http://www.pcsx2.net" +SRC_URI="http://forums.pcsx2.net/attachment.php?aid=28280 -> pcsx2-0.9.8.7z" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~x86" +IUSE="debug" +if use amd64; then + ABI="x86" +fi +if use debug; then + CMAKE_BUILD_TYPE="Debug" +else + CMAKE_BUILD_TYPE="Release" +fi + +DEPEND="" +RDEPEND="${DEPEND}" + +src_prepare() { + sed -i -e "s:add_subdirectory(3rdparty)::g" -i CMakeLists.txt + sed -i -e "s:INSTALL(FILES:#INSTALL(FILES:g" -i CMakeLists.txt + sed -i -e "s:add_subdirectory(locales)::g" -i CMakeLists.txt + sed -i -e "s:add_subdirectory(tools)::g" -i CMakeLists.txt + sed -i -e "s:add_subdirectory(common/src/Utilities)::g" -i CMakeLists.txt + sed -i -e "s:add_subdirectory(common/src/x86emitter)::g" -i CMakeLists.txt + sed -i -e "s:pcsx2_core TRUE:pcsx2_core FALSE:g" -i cmake/SelectPcsx2Plugins.cmake + sed -i -e "s:CDVDnull TRUE:CDVDnull FALSE:g" -i cmake/SelectPcsx2Plugins.cmake + sed -i -e "s:CDVDiso TRUE:CDVDiso FALSE:g" -i cmake/SelectPcsx2Plugins.cmake + sed -i -e "s:dev9null TRUE:dev9null FALSE:g" -i cmake/SelectPcsx2Plugins.cmake + sed -i -e "s:FWnull TRUE:FWnull FALSE:g" -i cmake/SelectPcsx2Plugins.cmake + sed -i -e "s:GSnull TRUE:GSnull FALSE:g" -i cmake/SelectPcsx2Plugins.cmake + sed -i -e "s:GSdx TRUE:GSdx FALSE:g" -i cmake/SelectPcsx2Plugins.cmake + sed -i -e "s:zerogs TRUE:zerogs FALSE:g" -i cmake/SelectPcsx2Plugins.cmake + sed -i -e "s:zzogl TRUE:zzogl FALSE:g" -i cmake/SelectPcsx2Plugins.cmake + sed -i -e "s:PadNull TRUE:PadNull FALSE:g" -i cmake/SelectPcsx2Plugins.cmake + sed -i -e "s:onepad TRUE:onepad FALSE:g" -i cmake/SelectPcsx2Plugins.cmake + sed -i -e "s:zeropad TRUE:zeropad FALSE:g" -i cmake/SelectPcsx2Plugins.cmake + sed -i -e "s:SPU2null TRUE:SPU2null FALSE:g" -i cmake/SelectPcsx2Plugins.cmake + sed -i -e "s:spu2-x TRUE:spu2-x FALSE:g" -i cmake/SelectPcsx2Plugins.cmake + sed -i -e "s:zerospu2 TRUE:zerospu2 FALSE:g" -i cmake/SelectPcsx2Plugins.cmake + sed -i -e "s:USBnull TRUE:USBnull FALSE:g" -i cmake/SelectPcsx2Plugins.cmake +} + +S=${WORKDIR}/${MY_PV} + +src_configure() { + mycmakeargs=" + -DPACKAGE_MODE=1 + -DPLUGIN_DIR=$(games_get_libdir)/pcsx2 + -DPLUGIN_DIR_COMPILATION=$(games_get_libdir)/pcsx2 + -DCMAKE_INSTALL_PREFIX=/usr + " + cmake-utils_src_configure +} + +src_install() { + insinto $(games_get_libdir)/pcsx2 + doins bin/plugins/libCDVDlinuz.so || die + prepgamesdirs +} diff --git a/games-emulation/ps2emu-cdvdnull/Manifest b/games-emulation/ps2emu-cdvdnull/Manifest index 6d623c3..6a6d8ac 100644 --- a/games-emulation/ps2emu-cdvdnull/Manifest +++ b/games-emulation/ps2emu-cdvdnull/Manifest @@ -1 +1,3 @@ +DIST pcsx2-0.9.8.7z 10488726 RMD160 92e5cd6ec958092fe1ba6cff79763dec99dac60a SHA1 80f23ad79892306de738cf4138edc6d9563eb9c4 SHA256 1037b2418e7523f565d86c3a4ec4a2b4f4664e8c84dee73d62289961c69ab814 +EBUILD ps2emu-cdvdnull-0.6.ebuild 2547 RMD160 dd8082cddd9966eff46b4cbceeb0b3ef6b68a082 SHA1 740f7ff08d9aba9c56c1d2761822ff30f7eee081 SHA256 9780c338876c32d7039e6572247567c4f3a21866479f4bd391185a335e1e01dd EBUILD ps2emu-cdvdnull-9999.ebuild 2458 RMD160 ffeff5452c0a74d97817130feb71667a97c89f31 SHA1 d31dc1635d6003524d84a99245764737c611a4b8 SHA256 9c928b84d3a89f447d6e1f0fb19dfd34e56f3b68bce306122401a777725b1ebc diff --git a/games-emulation/ps2emu-cdvdnull/ps2emu-cdvdnull-0.6.ebuild b/games-emulation/ps2emu-cdvdnull/ps2emu-cdvdnull-0.6.ebuild new file mode 100644 index 0000000..f5a40cf --- /dev/null +++ b/games-emulation/ps2emu-cdvdnull/ps2emu-cdvdnull-0.6.ebuild @@ -0,0 +1,71 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI=3 + +inherit games cmake-utils +MY_PV=pcsx2-0.9.8-r4600-sources + +DESCRIPTION="cddvd null plugin for pcsx2" +HOMEPAGE="http://www.pcsx2.net" +SRC_URI="http://forums.pcsx2.net/attachment.php?aid=28280 -> pcsx2-0.9.8.7z" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~x86" +IUSE="debug" +if use amd64; then + ABI="x86" +fi +if use debug; then + CMAKE_BUILD_TYPE="Debug" +else + CMAKE_BUILD_TYPE="Release" +fi + +DEPEND="" +RDEPEND="${DEPEND}" + +src_prepare() { + sed -i -e "s:add_subdirectory(3rdparty)::g" -i CMakeLists.txt + sed -i -e "s:INSTALL(FILES:#INSTALL(FILES:g" -i CMakeLists.txt + sed -i -e "s:add_subdirectory(locales)::g" -i CMakeLists.txt + sed -i -e "s:add_subdirectory(tools)::g" -i CMakeLists.txt + sed -i -e "s:add_subdirectory(common/src/Utilities)::g" -i CMakeLists.txt + sed -i -e "s:add_subdirectory(common/src/x86emitter)::g" -i CMakeLists.txt + sed -i -e "s:pcsx2_core TRUE:pcsx2_core FALSE:g" -i cmake/SelectPcsx2Plugins.cmake + sed -i -e "s:CDVDiso TRUE:CDVDiso FALSE:g" -i cmake/SelectPcsx2Plugins.cmake + sed -i -e "s:CDVDlinuz TRUE:CDVDlinuz FALSE:g" -i cmake/SelectPcsx2Plugins.cmake + sed -i -e "s:dev9null TRUE:dev9null FALSE:g" -i cmake/SelectPcsx2Plugins.cmake + sed -i -e "s:FWnull TRUE:FWnull FALSE:g" -i cmake/SelectPcsx2Plugins.cmake + sed -i -e "s:GSnull TRUE:GSnull FALSE:g" -i cmake/SelectPcsx2Plugins.cmake + sed -i -e "s:GSdx TRUE:GSdx FALSE:g" -i cmake/SelectPcsx2Plugins.cmake + sed -i -e "s:zerogs TRUE:zerogs FALSE:g" -i cmake/SelectPcsx2Plugins.cmake + sed -i -e "s:zzogl TRUE:zzogl FALSE:g" -i cmake/SelectPcsx2Plugins.cmake + sed -i -e "s:PadNull TRUE:PadNull FALSE:g" -i cmake/SelectPcsx2Plugins.cmake + sed -i -e "s:onepad TRUE:onepad FALSE:g" -i cmake/SelectPcsx2Plugins.cmake + sed -i -e "s:zeropad TRUE:zeropad FALSE:g" -i cmake/SelectPcsx2Plugins.cmake + sed -i -e "s:SPU2null TRUE:SPU2null FALSE:g" -i cmake/SelectPcsx2Plugins.cmake + sed -i -e "s:spu2-x TRUE:spu2-x FALSE:g" -i cmake/SelectPcsx2Plugins.cmake + sed -i -e "s:zerospu2 TRUE:zerospu2 FALSE:g" -i cmake/SelectPcsx2Plugins.cmake + sed -i -e "s:USBnull TRUE:USBnull FALSE:g" -i cmake/SelectPcsx2Plugins.cmake +} + +S=${WORKDIR}/${MY_PV} + +src_configure() { + mycmakeargs=" + -DPACKAGE_MODE=1 + -DPLUGIN_DIR=$(games_get_libdir)/pcsx2 + -DPLUGIN_DIR_COMPILATION=$(games_get_libdir)/pcsx2 + -DCMAKE_INSTALL_PREFIX=/usr + " + cmake-utils_src_configure +} + +src_install() { + insinto $(games_get_libdir)/pcsx2 + doins bin/plugins/libCDVDnull.so || die + prepgamesdirs +} diff --git a/games-emulation/ps2emu-dev9null/Manifest b/games-emulation/ps2emu-dev9null/Manifest index bf35238..699c560 100644 --- a/games-emulation/ps2emu-dev9null/Manifest +++ b/games-emulation/ps2emu-dev9null/Manifest @@ -1 +1,3 @@ +DIST pcsx2-0.9.8.7z 10488726 RMD160 92e5cd6ec958092fe1ba6cff79763dec99dac60a SHA1 80f23ad79892306de738cf4138edc6d9563eb9c4 SHA256 1037b2418e7523f565d86c3a4ec4a2b4f4664e8c84dee73d62289961c69ab814 +EBUILD ps2emu-dev9null-0.5.ebuild 2565 RMD160 2caf3007416b53b6a59b2ca0093fd271a838efea SHA1 5c609da70b825808a3a0e948371183699d5f1974 SHA256 456b34b096121ee0d6a6d4596e07df6f965e25a0247458a4da35b499b8e675aa EBUILD ps2emu-dev9null-9999.ebuild 2476 RMD160 6a58e8c8450a3b0b69d7ffcebdaf0b9ebc9d4780 SHA1 2daf6c756a0e03bec968c1128e5604ae9e6fd37f SHA256 bdf78b993896d717b23c959d7304576b7f806dc895d3e11c30f3b9caddf253a4 diff --git a/games-emulation/ps2emu-dev9null/ps2emu-dev9null-0.5.ebuild b/games-emulation/ps2emu-dev9null/ps2emu-dev9null-0.5.ebuild new file mode 100644 index 0000000..b470fb4 --- /dev/null +++ b/games-emulation/ps2emu-dev9null/ps2emu-dev9null-0.5.ebuild @@ -0,0 +1,73 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI=3 + +WX_GTK_VER="2.8" +MY_PV=pcsx2-0.9.8-r4600-sources + +inherit games cmake-utils + +DESCRIPTION="dev9null plugin for pcsx2" +HOMEPAGE="http://www.pcsx2.net" +SRC_URI="http://forums.pcsx2.net/attachment.php?aid=28280 -> pcsx2-0.9.8.7z" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~x86" +IUSE="debug" +if use amd64; then + ABI="x86" +fi +if use debug; then + CMAKE_BUILD_TYPE="Debug" +else + CMAKE_BUILD_TYPE="Release" +fi + +DEPEND="" +RDEPEND="${DEPEND}" + +src_prepare() { + sed -i -e "s:add_subdirectory(3rdparty)::g" -i CMakeLists.txt + sed -i -e "s:INSTALL(FILES:#INSTALL(FILES:g" -i CMakeLists.txt + sed -i -e "s:add_subdirectory(locales)::g" -i CMakeLists.txt + sed -i -e "s:add_subdirectory(tools)::g" -i CMakeLists.txt + sed -i -e "s:add_subdirectory(common/src/Utilities)::g" -i CMakeLists.txt + sed -i -e "s:add_subdirectory(common/src/x86emitter)::g" -i CMakeLists.txt + sed -i -e "s:pcsx2_core TRUE:pcsx2_core FALSE:g" -i cmake/SelectPcsx2Plugins.cmake + sed -i -e "s:CDVDiso TRUE:CDVDiso FALSE:g" -i cmake/SelectPcsx2Plugins.cmake + sed -i -e "s:CDVDlinuz TRUE:CDVDlinuz FALSE:g" -i cmake/SelectPcsx2Plugins.cmake + sed -i -e "s:CDVDnull TRUE:CDVDnull FALSE:g" -i cmake/SelectPcsx2Plugins.cmake + sed -i -e "s:FWnull TRUE:FWnull FALSE:g" -i cmake/SelectPcsx2Plugins.cmake + sed -i -e "s:GSnull TRUE:GSnull FALSE:g" -i cmake/SelectPcsx2Plugins.cmake + sed -i -e "s:GSdx TRUE:GSdx FALSE:g" -i cmake/SelectPcsx2Plugins.cmake + sed -i -e "s:zerogs TRUE:zerogs FALSE:g" -i cmake/SelectPcsx2Plugins.cmake + sed -i -e "s:zzogl TRUE:zzogl FALSE:g" -i cmake/SelectPcsx2Plugins.cmake + sed -i -e "s:PadNull TRUE:PadNull FALSE:g" -i cmake/SelectPcsx2Plugins.cmake + sed -i -e "s:onepad TRUE:onepad FALSE:g" -i cmake/SelectPcsx2Plugins.cmake + sed -i -e "s:zeropad TRUE:zeropad FALSE:g" -i cmake/SelectPcsx2Plugins.cmake + sed -i -e "s:SPU2null TRUE:SPU2null FALSE:g" -i cmake/SelectPcsx2Plugins.cmake + sed -i -e "s:spu2-x TRUE:spu2-x FALSE:g" -i cmake/SelectPcsx2Plugins.cmake + sed -i -e "s:zerospu2 TRUE:zerospu2 FALSE:g" -i cmake/SelectPcsx2Plugins.cmake + sed -i -e "s:USBnull TRUE:USBnull FALSE:g" -i cmake/SelectPcsx2Plugins.cmake +} + +S=${WORKDIR}/${MY_PV} + +src_configure() { + mycmakeargs=" + -DPACKAGE_MODE=1 + -DPLUGIN_DIR=$(games_get_libdir)/pcsx2 + -DPLUGIN_DIR_COMPILATION=$(games_get_libdir)/pcsx2 + -DCMAKE_INSTALL_PREFIX=/usr + " + cmake-utils_src_configure +} + +src_install() { + insinto $(games_get_libdir)/pcsx2 + doins bin/plugins/libdev9null.so || die + prepgamesdirs +} diff --git a/games-emulation/ps2emu-fwnull/Manifest b/games-emulation/ps2emu-fwnull/Manifest index 2a4a908..586731a 100644 --- a/games-emulation/ps2emu-fwnull/Manifest +++ b/games-emulation/ps2emu-fwnull/Manifest @@ -1 +1,3 @@ +DIST pcsx2-0.9.8.7z 10488726 RMD160 92e5cd6ec958092fe1ba6cff79763dec99dac60a SHA1 80f23ad79892306de738cf4138edc6d9563eb9c4 SHA256 1037b2418e7523f565d86c3a4ec4a2b4f4664e8c84dee73d62289961c69ab814 +EBUILD ps2emu-fwnull-0.7.ebuild 2563 RMD160 6e44b382235605875c4e769efcf8025cbd79f510 SHA1 e7aaea4bc54ec77476603b572c2f8a5963f230be SHA256 514aa971fd549f9fe5582a982ceea6f2047fab83d677b695bd54d7d30a2bb9b7 EBUILD ps2emu-fwnull-9999.ebuild 2476 RMD160 243752bc98d2a0e293d79ca2d5060f0c25763eed SHA1 e173ec8aa745cc0fb5f05ef17ba677b2a2ae936d SHA256 556a29f266f323e7e486521c0de33425d643cc50952aa101bb9edb6c389dc24c diff --git a/games-emulation/ps2emu-fwnull/ps2emu-fwnull-0.7.ebuild b/games-emulation/ps2emu-fwnull/ps2emu-fwnull-0.7.ebuild new file mode 100644 index 0000000..21dc268 --- /dev/null +++ b/games-emulation/ps2emu-fwnull/ps2emu-fwnull-0.7.ebuild @@ -0,0 +1,73 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI=3 + +WX_GTK_VER="2.8" +MY_PV=pcsx2-0.9.8-r4600-sources + +inherit games cmake-utils + +DESCRIPTION="fwnull plugin for pcsx2" +HOMEPAGE="http://www.pcsx2.net" +SRC_URI="http://forums.pcsx2.net/attachment.php?aid=28280 -> pcsx2-0.9.8.7z" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~x86" +IUSE="debug" +if use amd64; then + ABI="x86" +fi +if use debug; then + CMAKE_BUILD_TYPE="Debug" +else + CMAKE_BUILD_TYPE="Release" +fi + +DEPEND="" +RDEPEND="${DEPEND}" + +src_prepare() { + sed -i -e "s:add_subdirectory(3rdparty)::g" -i CMakeLists.txt + sed -i -e "s:INSTALL(FILES:#INSTALL(FILES:g" -i CMakeLists.txt + sed -i -e "s:add_subdirectory(locales)::g" -i CMakeLists.txt + sed -i -e "s:add_subdirectory(tools)::g" -i CMakeLists.txt + sed -i -e "s:add_subdirectory(common/src/Utilities)::g" -i CMakeLists.txt + sed -i -e "s:add_subdirectory(common/src/x86emitter)::g" -i CMakeLists.txt + sed -i -e "s:pcsx2_core TRUE:pcsx2_core FALSE:g" -i cmake/SelectPcsx2Plugins.cmake + sed -i -e "s:CDVDiso TRUE:CDVDiso FALSE:g" -i cmake/SelectPcsx2Plugins.cmake + sed -i -e "s:CDVDlinuz TRUE:CDVDlinuz FALSE:g" -i cmake/SelectPcsx2Plugins.cmake + sed -i -e "s:CDVDnull TRUE:CDVDnull FALSE:g" -i cmake/SelectPcsx2Plugins.cmake + sed -i -e "s:dev9null TRUE:dev9null FALSE:g" -i cmake/SelectPcsx2Plugins.cmake + sed -i -e "s:GSnull TRUE:GSnull FALSE:g" -i cmake/SelectPcsx2Plugins.cmake + sed -i -e "s:GSdx TRUE:GSdx FALSE:g" -i cmake/SelectPcsx2Plugins.cmake + sed -i -e "s:zerogs TRUE:zerogs FALSE:g" -i cmake/SelectPcsx2Plugins.cmake + sed -i -e "s:zzogl TRUE:zzogl FALSE:g" -i cmake/SelectPcsx2Plugins.cmake + sed -i -e "s:PadNull TRUE:PadNull FALSE:g" -i cmake/SelectPcsx2Plugins.cmake + sed -i -e "s:onepad TRUE:onepad FALSE:g" -i cmake/SelectPcsx2Plugins.cmake + sed -i -e "s:zeropad TRUE:zeropad FALSE:g" -i cmake/SelectPcsx2Plugins.cmake + sed -i -e "s:SPU2null TRUE:SPU2null FALSE:g" -i cmake/SelectPcsx2Plugins.cmake + sed -i -e "s:spu2-x TRUE:spu2-x FALSE:g" -i cmake/SelectPcsx2Plugins.cmake + sed -i -e "s:zerospu2 TRUE:zerospu2 FALSE:g" -i cmake/SelectPcsx2Plugins.cmake + sed -i -e "s:USBnull TRUE:USBnull FALSE:g" -i cmake/SelectPcsx2Plugins.cmake +} + +S=${WORKDIR}/${MY_PV} + +src_configure() { + mycmakeargs=" + -DPACKAGE_MODE=1 + -DPLUGIN_DIR=$(games_get_libdir)/pcsx2 + -DPLUGIN_DIR_COMPILATION=$(games_get_libdir)/pcsx2 + -DCMAKE_INSTALL_PREFIX=/usr + " + cmake-utils_src_configure +} + +src_install() { + insinto $(games_get_libdir)/pcsx2 + doins bin/plugins/libFWnull.so || die + prepgamesdirs +} diff --git a/games-emulation/ps2emu-gsdx/Manifest b/games-emulation/ps2emu-gsdx/Manifest index cbcf1f8..556a0a9 100644 --- a/games-emulation/ps2emu-gsdx/Manifest +++ b/games-emulation/ps2emu-gsdx/Manifest @@ -1 +1,3 @@ +DIST pcsx2-0.9.8.7z 10488726 RMD160 92e5cd6ec958092fe1ba6cff79763dec99dac60a SHA1 80f23ad79892306de738cf4138edc6d9563eb9c4 SHA256 1037b2418e7523f565d86c3a4ec4a2b4f4664e8c84dee73d62289961c69ab814 +EBUILD ps2emu-gsdx-0.1.16.ebuild 2752 RMD160 310a48abcfd48b054922b4cf6e29c11e89941271 SHA1 6d7132f9a46bbab2ac87e0cdf6489bd99a6165a9 SHA256 c2cc24ce878468453894fcfd173fc0036d26e2d69aee9c544a89e7f1078b1d4b EBUILD ps2emu-gsdx-9999.ebuild 2667 RMD160 b6f1afcdd466650d19f7cb9f71807be15fb60560 SHA1 b5bf8d406c9c9af43b5a68f9516657356776f283 SHA256 85446799e7d8f973f91a5745e5592707c01409798cce86121f67331b4b858932 diff --git a/games-emulation/ps2emu-gsdx/ps2emu-gsdx-0.1.16.ebuild b/games-emulation/ps2emu-gsdx/ps2emu-gsdx-0.1.16.ebuild new file mode 100644 index 0000000..493e5b1 --- /dev/null +++ b/games-emulation/ps2emu-gsdx/ps2emu-gsdx-0.1.16.ebuild @@ -0,0 +1,84 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI=3 + +WX_GTK_VER="2.8" +MY_PV=pcsx2-0.9.8-r4600-sources + +inherit games cmake-utils + +DESCRIPTION="gsdx plugin for pcsx2" +HOMEPAGE="http://www.pcsx2.net" +SRC_URI="http://forums.pcsx2.net/attachment.php?aid=28280 -> pcsx2-0.9.8.7z" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~x86" +IUSE="debug" +if use amd64; then + ABI="x86" +fi +if use debug; then + CMAKE_BUILD_TYPE="Debug" +else + CMAKE_BUILD_TYPE="Release" +fi + +DEPEND=" + x86? ( + virtual/opengl + x11-libs/libX11 + x11-libs/libXext + + ) + amd64? ( app-emulation/emul-linux-x86-opengl + app-emulation/emul-linux-x86-xlibs + + )" +RDEPEND="${DEPEND}" + +src_prepare() { + sed -i -e "s:add_subdirectory(SoundTouch)::g" -i 3rdparty/CMakeLists.txt + sed -i -e "s:INSTALL(FILES:#INSTALL(FILES:g" -i CMakeLists.txt + sed -i -e "s:add_subdirectory(locales)::g" -i CMakeLists.txt + sed -i -e "s:add_subdirectory(tools)::g" -i CMakeLists.txt + sed -i -e "s:add_subdirectory(common/src/Utilities)::g" -i CMakeLists.txt + sed -i -e "s:add_subdirectory(common/src/x86emitter)::g" -i CMakeLists.txt + sed -i -e "s:pcsx2_core TRUE:pcsx2_core FALSE:g" -i cmake/SelectPcsx2Plugins.cmake + sed -i -e "s:CDVDiso TRUE:CDVDiso FALSE:g" -i cmake/SelectPcsx2Plugins.cmake + sed -i -e "s:CDVDlinuz TRUE:CDVDlinuz FALSE:g" -i cmake/SelectPcsx2Plugins.cmake + sed -i -e "s:CDVDnull TRUE:CDVDnull FALSE:g" -i cmake/SelectPcsx2Plugins.cmake + sed -i -e "s:dev9null TRUE:dev9null FALSE:g" -i cmake/SelectPcsx2Plugins.cmake + sed -i -e "s:FWnull TRUE:FWnull FALSE:g" -i cmake/SelectPcsx2Plugins.cmake + sed -i -e "s:GSnull TRUE:GSnull FALSE:g" -i cmake/SelectPcsx2Plugins.cmake + sed -i -e "s:zerogs TRUE:zerogs FALSE:g" -i cmake/SelectPcsx2Plugins.cmake + sed -i -e "s:zzogl TRUE:zzogl FALSE:g" -i cmake/SelectPcsx2Plugins.cmake + sed -i -e "s:PadNull TRUE:PadNull FALSE:g" -i cmake/SelectPcsx2Plugins.cmake + sed -i -e "s:onepad TRUE:onepad FALSE:g" -i cmake/SelectPcsx2Plugins.cmake + sed -i -e "s:zeropad TRUE:zeropad FALSE:g" -i cmake/SelectPcsx2Plugins.cmake + sed -i -e "s:SPU2null TRUE:SPU2null FALSE:g" -i cmake/SelectPcsx2Plugins.cmake + sed -i -e "s:spu2-x TRUE:spu2-x FALSE:g" -i cmake/SelectPcsx2Plugins.cmake + sed -i -e "s:zerospu2 TRUE:zerospu2 FALSE:g" -i cmake/SelectPcsx2Plugins.cmake + sed -i -e "s:USBnull TRUE:USBnull FALSE:g" -i cmake/SelectPcsx2Plugins.cmake +} + +S=${WORKDIR}/${MY_PV} + +src_configure() { + mycmakeargs=" + -DPACKAGE_MODE=1 + -DPLUGIN_DIR=$(games_get_libdir)/pcsx2 + -DPLUGIN_DIR_COMPILATION=$(games_get_libdir)/pcsx2 + -DCMAKE_INSTALL_PREFIX=/usr + -DFORCE_INTERNAL_SDL=1 + " + cmake-utils_src_configure +} + +src_install() { + insinto $(games_get_libdir)/pcsx2 + doins bin/plugins/libGSdx.so || die + prepgamesdirs +} diff --git a/games-emulation/ps2emu-gsnull/Manifest b/games-emulation/ps2emu-gsnull/Manifest index 40ffbe2..4e01a42 100644 --- a/games-emulation/ps2emu-gsnull/Manifest +++ b/games-emulation/ps2emu-gsnull/Manifest @@ -1 +1,3 @@ +DIST pcsx2-0.9.8.7z 10488726 RMD160 92e5cd6ec958092fe1ba6cff79763dec99dac60a SHA1 80f23ad79892306de738cf4138edc6d9563eb9c4 SHA256 1037b2418e7523f565d86c3a4ec4a2b4f4664e8c84dee73d62289961c69ab814 +EBUILD ps2emu-gsnull-0.1.ebuild 2563 RMD160 9bd139f513d37e77979205a3979fa98855684f28 SHA1 d6a40afebc2dd293e12a4eb53f8a9ab3f3e1c181 SHA256 79e0fcb8f13193dc6ec261837e2862645c86f4b7aa9b0c249f6aa540215d72d0 EBUILD ps2emu-gsnull-9999.ebuild 2476 RMD160 625436dce9e36ce144078751630bd35cbd931089 SHA1 da20d38da46fc96f77a6c120ca2dba05be369259 SHA256 2aa602719142e67a3712b0742c5a7825aeed6015df744e8557674cad32d7ee55 diff --git a/games-emulation/ps2emu-gsnull/ps2emu-gsnull-0.1.ebuild b/games-emulation/ps2emu-gsnull/ps2emu-gsnull-0.1.ebuild new file mode 100644 index 0000000..0dba445 --- /dev/null +++ b/games-emulation/ps2emu-gsnull/ps2emu-gsnull-0.1.ebuild @@ -0,0 +1,73 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI=3 + +WX_GTK_VER="2.8" +MY_PV=pcsx2-0.9.8-r4600-sources + +inherit games cmake-utils + +DESCRIPTION="gsnull plugin for pcsx2" +HOMEPAGE="http://www.pcsx2.net" +SRC_URI="http://forums.pcsx2.net/attachment.php?aid=28280 -> pcsx2-0.9.8.7z" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~x86" +IUSE="debug" +if use amd64; then + ABI="x86" +fi +if use debug; then + CMAKE_BUILD_TYPE="Debug" +else + CMAKE_BUILD_TYPE="Release" +fi + +DEPEND="" +RDEPEND="${DEPEND}" + +src_prepare() { + sed -i -e "s:add_subdirectory(3rdparty)::g" -i CMakeLists.txt + sed -i -e "s:INSTALL(FILES:#INSTALL(FILES:g" -i CMakeLists.txt + sed -i -e "s:add_subdirectory(locales)::g" -i CMakeLists.txt + sed -i -e "s:add_subdirectory(tools)::g" -i CMakeLists.txt + sed -i -e "s:add_subdirectory(common/src/Utilities)::g" -i CMakeLists.txt + sed -i -e "s:add_subdirectory(common/src/x86emitter)::g" -i CMakeLists.txt + sed -i -e "s:pcsx2_core TRUE:pcsx2_core FALSE:g" -i cmake/SelectPcsx2Plugins.cmake + sed -i -e "s:CDVDiso TRUE:CDVDiso FALSE:g" -i cmake/SelectPcsx2Plugins.cmake + sed -i -e "s:CDVDlinuz TRUE:CDVDlinuz FALSE:g" -i cmake/SelectPcsx2Plugins.cmake + sed -i -e "s:CDVDnull TRUE:CDVDnull FALSE:g" -i cmake/SelectPcsx2Plugins.cmake + sed -i -e "s:dev9null TRUE:dev9null FALSE:g" -i cmake/SelectPcsx2Plugins.cmake + sed -i -e "s:FWnull TRUE:FWnull FALSE:g" -i cmake/SelectPcsx2Plugins.cmake + sed -i -e "s:GSdx TRUE:GSdx FALSE:g" -i cmake/SelectPcsx2Plugins.cmake + sed -i -e "s:zerogs TRUE:zerogs FALSE:g" -i cmake/SelectPcsx2Plugins.cmake + sed -i -e "s:zzogl TRUE:zzogl FALSE:g" -i cmake/SelectPcsx2Plugins.cmake + sed -i -e "s:PadNull TRUE:PadNull FALSE:g" -i cmake/SelectPcsx2Plugins.cmake + sed -i -e "s:onepad TRUE:onepad FALSE:g" -i cmake/SelectPcsx2Plugins.cmake + sed -i -e "s:zeropad TRUE:zeropad FALSE:g" -i cmake/SelectPcsx2Plugins.cmake + sed -i -e "s:SPU2null TRUE:SPU2null FALSE:g" -i cmake/SelectPcsx2Plugins.cmake + sed -i -e "s:spu2-x TRUE:spu2-x FALSE:g" -i cmake/SelectPcsx2Plugins.cmake + sed -i -e "s:zerospu2 TRUE:zerospu2 FALSE:g" -i cmake/SelectPcsx2Plugins.cmake + sed -i -e "s:USBnull TRUE:USBnull FALSE:g" -i cmake/SelectPcsx2Plugins.cmake +} + +S=${WORKDIR}/${MY_PV} + +src_configure() { + mycmakeargs=" + -DPACKAGE_MODE=1 + -DPLUGIN_DIR=$(games_get_libdir)/pcsx2 + -DPLUGIN_DIR_COMPILATION=$(games_get_libdir)/pcsx2 + -DCMAKE_INSTALL_PREFIX=/usr + " + cmake-utils_src_configure +} + +src_install() { + insinto $(games_get_libdir)/pcsx2 + doins bin/plugins/libGSnull.so || die + prepgamesdirs +} diff --git a/games-emulation/ps2emu-onepad/Manifest b/games-emulation/ps2emu-onepad/Manifest index 642cfd6..9a5a5a5 100644 --- a/games-emulation/ps2emu-onepad/Manifest +++ b/games-emulation/ps2emu-onepad/Manifest @@ -1 +1,3 @@ +DIST pcsx2-0.9.8.7z 10488726 RMD160 92e5cd6ec958092fe1ba6cff79763dec99dac60a SHA1 80f23ad79892306de738cf4138edc6d9563eb9c4 SHA256 1037b2418e7523f565d86c3a4ec4a2b4f4664e8c84dee73d62289961c69ab814 +EBUILD ps2emu-onepad-0.1.ebuild 2636 RMD160 a2a2d89bf299dc47b9b1ddc4996baca99a9682a1 SHA1 ac258cc5fa9d1794c69ffc4c4f2a71d06d6c9417 SHA256 0cde895018f92b048c16dda043ca5cca44e6ebb7a4a1d4659b22ef052ee5f3a9 EBUILD ps2emu-onepad-9999.ebuild 2549 RMD160 25ff4f434d26beb3eedb914e5db60ddd24ed2cdc SHA1 2561b8c0df4af5dc65319cf0b801d5bebf897444 SHA256 9253c5250fdaa1e02064c9827f0b604dafee17f34d44475f3e25cee0ae0c95e1 diff --git a/games-emulation/ps2emu-onepad/ps2emu-onepad-0.1.ebuild b/games-emulation/ps2emu-onepad/ps2emu-onepad-0.1.ebuild new file mode 100644 index 0000000..66a1a85 --- /dev/null +++ b/games-emulation/ps2emu-onepad/ps2emu-onepad-0.1.ebuild @@ -0,0 +1,75 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI=3 + +WX_GTK_VER="2.8" +MY_PV=pcsx2-0.9.8-r4600-sources + +inherit games cmake-utils + +DESCRIPTION="onepad plugin for pcsx2" +HOMEPAGE="http://www.pcsx2.net" +SRC_URI="http://forums.pcsx2.net/attachment.php?aid=28280 -> pcsx2-0.9.8.7z" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~x86" +IUSE="debug" +if use amd64; then + ABI="x86" +fi +if use debug; then + CMAKE_BUILD_TYPE="Debug" +else + CMAKE_BUILD_TYPE="Release" +fi + +DEPEND=" + x86? ( media-libs/libsdl ) + amd64? ( app-emulation/emul-linux-x86-sdl )" +RDEPEND="${DEPEND}" + +src_prepare() { + sed -i -e "s:add_subdirectory(3rdparty)::g" -i CMakeLists.txt + sed -i -e "s:INSTALL(FILES:#INSTALL(FILES:g" -i CMakeLists.txt + sed -i -e "s:add_subdirectory(locales)::g" -i CMakeLists.txt + sed -i -e "s:add_subdirectory(tools)::g" -i CMakeLists.txt + sed -i -e "s:add_subdirectory(common/src/Utilities)::g" -i CMakeLists.txt + sed -i -e "s:add_subdirectory(common/src/x86emitter)::g" -i CMakeLists.txt + sed -i -e "s:pcsx2_core TRUE:pcsx2_core FALSE:g" -i cmake/SelectPcsx2Plugins.cmake + sed -i -e "s:CDVDiso TRUE:CDVDiso FALSE:g" -i cmake/SelectPcsx2Plugins.cmake + sed -i -e "s:CDVDlinuz TRUE:CDVDlinuz FALSE:g" -i cmake/SelectPcsx2Plugins.cmake + sed -i -e "s:CDVDnull TRUE:CDVDnull FALSE:g" -i cmake/SelectPcsx2Plugins.cmake + sed -i -e "s:dev9null TRUE:dev9null FALSE:g" -i cmake/SelectPcsx2Plugins.cmake + sed -i -e "s:FWnull TRUE:FWnull FALSE:g" -i cmake/SelectPcsx2Plugins.cmake + sed -i -e "s:GSdx TRUE:GSdx FALSE:g" -i cmake/SelectPcsx2Plugins.cmake + sed -i -e "s:zerogs TRUE:zerogs FALSE:g" -i cmake/SelectPcsx2Plugins.cmake + sed -i -e "s:zzogl TRUE:zzogl FALSE:g" -i cmake/SelectPcsx2Plugins.cmake + sed -i -e "s:GSnull TRUE:GSnull FALSE:g" -i cmake/SelectPcsx2Plugins.cmake + sed -i -e "s:PadNull TRUE:PadNull FALSE:g" -i cmake/SelectPcsx2Plugins.cmake + sed -i -e "s:zeropad TRUE:zeropad FALSE:g" -i cmake/SelectPcsx2Plugins.cmake + sed -i -e "s:SPU2null TRUE:SPU2null FALSE:g" -i cmake/SelectPcsx2Plugins.cmake + sed -i -e "s:spu2-x TRUE:spu2-x FALSE:g" -i cmake/SelectPcsx2Plugins.cmake + sed -i -e "s:zerospu2 TRUE:zerospu2 FALSE:g" -i cmake/SelectPcsx2Plugins.cmake + sed -i -e "s:USBnull TRUE:USBnull FALSE:g" -i cmake/SelectPcsx2Plugins.cmake +} + +S=${WORKDIR}/${MY_PV} + +src_configure() { + mycmakeargs=" + -DPACKAGE_MODE=1 + -DPLUGIN_DIR=$(games_get_libdir)/pcsx2 + -DPLUGIN_DIR_COMPILATION=$(games_get_libdir)/pcsx2 + -DCMAKE_INSTALL_PREFIX=/usr + " + cmake-utils_src_configure +} + +src_install() { + insinto $(games_get_libdir)/pcsx2 + doins bin/plugins/libonepad.so || die + prepgamesdirs +} diff --git a/games-emulation/ps2emu-padnull/Manifest b/games-emulation/ps2emu-padnull/Manifest index 99ed517..72d84c7 100644 --- a/games-emulation/ps2emu-padnull/Manifest +++ b/games-emulation/ps2emu-padnull/Manifest @@ -1 +1,3 @@ +DIST pcsx2-0.9.8.7z 10488726 RMD160 92e5cd6ec958092fe1ba6cff79763dec99dac60a SHA1 80f23ad79892306de738cf4138edc6d9563eb9c4 SHA256 1037b2418e7523f565d86c3a4ec4a2b4f4664e8c84dee73d62289961c69ab814 +EBUILD ps2emu-padnull-0.1.ebuild 2562 RMD160 d85dba5226f563a302ebb028fb76b62509ee1d45 SHA1 c9077703d5cfb13bb6b4a782de4b5d0aeb5a1b08 SHA256 ef7e707309b2af582ab0a89809879305a6d1b989b9363b1b5072987112759975 EBUILD ps2emu-padnull-9999.ebuild 2474 RMD160 2ccb1726863f3582a55eeea30d3665fd3dbe43f2 SHA1 8e19a2e5814933ee2ad1748268df4db5873013c6 SHA256 38d7f868bc9a8fc602232fd27d52683cf60d2a2f2d744df0dddb26689a9147cb diff --git a/games-emulation/ps2emu-padnull/ps2emu-padnull-0.1.ebuild b/games-emulation/ps2emu-padnull/ps2emu-padnull-0.1.ebuild new file mode 100644 index 0000000..2e144b0 --- /dev/null +++ b/games-emulation/ps2emu-padnull/ps2emu-padnull-0.1.ebuild @@ -0,0 +1,73 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI=3 + +WX_GTK_VER="2.8" +MY_PV=pcsx2-0.9.8-r4600-sources + +inherit games cmake-utils + +DESCRIPTION="gsnull plugin for pcsx2" +HOMEPAGE="http://www.pcsx2.net" +SRC_URI="http://forums.pcsx2.net/attachment.php?aid=28280 -> pcsx2-0.9.8.7z" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~x86" +IUSE="debug" +if use amd64; then + ABI="x86" +fi +if use debug; then + CMAKE_BUILD_TYPE="Debug" +else + CMAKE_BUILD_TYPE="Release" +fi + +DEPEND="" +RDEPEND="${DEPEND}" + +src_prepare() { + sed -i -e "s:add_subdirectory(3rdparty)::g" -i CMakeLists.txt + sed -i -e "s:INSTALL(FILES:#INSTALL(FILES:g" -i CMakeLists.txt + sed -i -e "s:add_subdirectory(locales)::g" -i CMakeLists.txt + sed -i -e "s:add_subdirectory(tools)::g" -i CMakeLists.txt + sed -i -e "s:add_subdirectory(common/src/Utilities)::g" -i CMakeLists.txt + sed -i -e "s:add_subdirectory(common/src/x86emitter)::g" -i CMakeLists.txt + sed -i -e "s:pcsx2_core TRUE:pcsx2_core FALSE:g" -i cmake/SelectPcsx2Plugins.cmake + sed -i -e "s:CDVDiso TRUE:CDVDiso FALSE:g" -i cmake/SelectPcsx2Plugins.cmake + sed -i -e "s:CDVDlinuz TRUE:CDVDlinuz FALSE:g" -i cmake/SelectPcsx2Plugins.cmake + sed -i -e "s:CDVDnull TRUE:CDVDnull FALSE:g" -i cmake/SelectPcsx2Plugins.cmake + sed -i -e "s:dev9null TRUE:dev9null FALSE:g" -i cmake/SelectPcsx2Plugins.cmake + sed -i -e "s:FWnull TRUE:FWnull FALSE:g" -i cmake/SelectPcsx2Plugins.cmake + sed -i -e "s:GSdx TRUE:GSdx FALSE:g" -i cmake/SelectPcsx2Plugins.cmake + sed -i -e "s:zerogs TRUE:zerogs FALSE:g" -i cmake/SelectPcsx2Plugins.cmake + sed -i -e "s:zzogl TRUE:zzogl FALSE:g" -i cmake/SelectPcsx2Plugins.cmake + sed -i -e "s:GSnull TRUE:GSnull FALSE:g" -i cmake/SelectPcsx2Plugins.cmake + sed -i -e "s:onepad TRUE:onepad FALSE:g" -i cmake/SelectPcsx2Plugins.cmake + sed -i -e "s:zeropad TRUE:zeropad FALSE:g" -i cmake/SelectPcsx2Plugins.cmake + sed -i -e "s:SPU2null TRUE:SPU2null FALSE:g" -i cmake/SelectPcsx2Plugins.cmake + sed -i -e "s:spu2-x TRUE:spu2-x FALSE:g" -i cmake/SelectPcsx2Plugins.cmake + sed -i -e "s:zerospu2 TRUE:zerospu2 FALSE:g" -i cmake/SelectPcsx2Plugins.cmake + sed -i -e "s:USBnull TRUE:USBnull FALSE:g" -i cmake/SelectPcsx2Plugins.cmake +} + +S=${WORKDIR}/${MY_PV} + +src_configure() { + mycmakeargs=" + -DPACKAGE_MODE=1 + -DPLUGIN_DIR=$(games_get_libdir)/pcsx2 + -DPLUGIN_DIR_COMPILATION=$(games_get_libdir)/pcsx2 + -DCMAKE_INSTALL_PREFIX=/usr + " + cmake-utils_src_configure +} + +src_install() { + insinto $(games_get_libdir)/pcsx2 + doins bin/plugins/libPADnull.so || die + prepgamesdirs +} diff --git a/games-emulation/ps2emu-spu2-x/Manifest b/games-emulation/ps2emu-spu2-x/Manifest index a57f694..cae7cbd 100644 --- a/games-emulation/ps2emu-spu2-x/Manifest +++ b/games-emulation/ps2emu-spu2-x/Manifest @@ -1 +1,3 @@ +DIST pcsx2-0.9.8.7z 10488726 RMD160 92e5cd6ec958092fe1ba6cff79763dec99dac60a SHA1 80f23ad79892306de738cf4138edc6d9563eb9c4 SHA256 1037b2418e7523f565d86c3a4ec4a2b4f4664e8c84dee73d62289961c69ab814 +EBUILD ps2emu-spu2-x-1.4.ebuild 3422 RMD160 fbaf13b18edb8a6634a27f41f48faae19f5d4baa SHA1 c1fa5f1ca42fc60c60b5be3229291d51aafc3723 SHA256 3bc9c15e8c53384ef3f3e6359fa2af6d98ef07376a2890f87a323f7ab06d6be8 EBUILD ps2emu-spu2-x-9999.ebuild 3497 RMD160 78111905e49c5120f9a7f81f4e1c45e34fd01cb0 SHA1 31d4d312a8ff9af7be5e6b889d359a3225e42a6e SHA256 f527d8d38b6776066826b152c50b95780346863eb4a35857dcec64a483401f23 diff --git a/games-emulation/ps2emu-spu2-x/ps2emu-spu2-x-1.4.ebuild b/games-emulation/ps2emu-spu2-x/ps2emu-spu2-x-1.4.ebuild new file mode 100644 index 0000000..922d051 --- /dev/null +++ b/games-emulation/ps2emu-spu2-x/ps2emu-spu2-x-1.4.ebuild @@ -0,0 +1,109 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI=3 + +WX_GTK_VER="2.8" +MY_PV=pcsx2-0.9.8-r4600-sources + +inherit games cmake-utils wxwidgets + +DESCRIPTION="SPU2-x plugin for pcsx2" +HOMEPAGE="http://www.pcsx2.net" +SRC_URI="http://forums.pcsx2.net/attachment.php?aid=28280 -> pcsx2-0.9.8.7z" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~x86" +IUSE="debug" +if use amd64; then + ABI="x86" +fi +if use debug; then + CMAKE_BUILD_TYPE="Debug" +else + CMAKE_BUILD_TYPE="Release" +fi + +DEPEND="dev-cpp/sparsehash + x86? ( + app-arch/bzip2 + sys-libs/zlib + media-libs/alsa-lib + media-libs/glew + media-libs/libsdl + media-libs/portaudio + media-libs/libsoundtouch + media-gfx/nvidia-cg-toolkit + virtual/jpeg + virtual/opengl + x11-libs/gtk+:2 + x11-libs/libICE + x11-libs/libX11 + x11-libs/libXext + x11-libs/wxGTK[X] + ) + amd64? ( media-gfx/nvidia-cg-toolkit[multilib] + app-emulation/emul-linux-x86-baselibs + app-emulation/emul-linux-x86-opengl + app-emulation/emul-linux-x86-xlibs + app-emulation/emul-linux-x86-gtklibs + app-emulation/emul-linux-x86-sdl + app-emulation/emul-linux-x86-soundlibs + app-emulation/emul-linux-x86-wxGTK + )" +RDEPEND="${DEPEND}" + +src_prepare() { + sed -i -e "s:add_subdirectory(3rdparty)::g" -i CMakeLists.txt + sed -i -e "s:INSTALL(FILES:#INSTALL(FILES:g" -i CMakeLists.txt + sed -i -e "s:add_subdirectory(locales)::g" -i CMakeLists.txt + sed -i -e "s:add_subdirectory(tools)::g" -i CMakeLists.txt + sed -i -e "s:pcsx2_core TRUE:pcsx2_core FALSE:g" -i cmake/SelectPcsx2Plugins.cmake + sed -i -e "s:CDVDiso TRUE:CDVDiso FALSE:g" -i cmake/SelectPcsx2Plugins.cmake + sed -i -e "s:CDVDlinuz TRUE:CDVDlinuz FALSE:g" -i cmake/SelectPcsx2Plugins.cmake + sed -i -e "s:CDVDnull TRUE:CDVDnull FALSE:g" -i cmake/SelectPcsx2Plugins.cmake + sed -i -e "s:dev9null TRUE:dev9null FALSE:g" -i cmake/SelectPcsx2Plugins.cmake + sed -i -e "s:FWnull TRUE:FWnull FALSE:g" -i cmake/SelectPcsx2Plugins.cmake + sed -i -e "s:GSdx TRUE:GSdx FALSE:g" -i cmake/SelectPcsx2Plugins.cmake + sed -i -e "s:zerogs TRUE:zerogs FALSE:g" -i cmake/SelectPcsx2Plugins.cmake + sed -i -e "s:zzogl TRUE:zzogl FALSE:g" -i cmake/SelectPcsx2Plugins.cmake + sed -i -e "s:PadNull TRUE:PadNull FALSE:g" -i cmake/SelectPcsx2Plugins.cmake + sed -i -e "s:onepad TRUE:onepad FALSE:g" -i cmake/SelectPcsx2Plugins.cmake + sed -i -e "s:zeropad TRUE:zeropad FALSE:g" -i cmake/SelectPcsx2Plugins.cmake + sed -i -e "s:GSnull TRUE:GSnull FALSE:g" -i cmake/SelectPcsx2Plugins.cmake + sed -i -e "s:SPU2null TRUE:SPU2null FALSE:g" -i cmake/SelectPcsx2Plugins.cmake + sed -i -e "s:zerospu2 TRUE:zerospu2 FALSE:g" -i cmake/SelectPcsx2Plugins.cmake + sed -i -e "s:USBnull TRUE:USBnull FALSE:g" -i cmake/SelectPcsx2Plugins.cmake +} + +S=${WORKDIR}/${MY_PV} + +src_configure() { + wxgtk_config="" + cg_config="" + if use amd64; then + # tell cmake to use 32 bit library + wxgtk_config="-DwxWidgets_CONFIG_EXECUTABLE=/usr/bin/wx-config-32" + cg_config="-DCG_LIBRARY=/opt/nvidia-cg-toolkit/lib32/libCg.so + -DCG_GL_LIBRARY=/opt/nvidia-cg-toolkit/lib32/libCgGL.so" + fi + + mycmakeargs=" + -DPACKAGE_MODE=1 + -DPLUGIN_DIR=$(games_get_libdir)/pcsx2 + -DPLUGIN_DIR_COMPILATION=$(games_get_libdir)/pcsx2 + -DCMAKE_INSTALL_PREFIX=/usr + -DFORCE_INTERNAL_SOUNDTOUCH=FALSE + ${wxgtk_config} + ${cg_config} + " + cmake-utils_src_configure +} + +src_install() { + insinto $(games_get_libdir)/pcsx2 + doins bin/plugins/libspu2x.so || die + prepgamesdirs +} diff --git a/games-emulation/ps2emu-spu2null/Manifest b/games-emulation/ps2emu-spu2null/Manifest index b68db70..aa4f501 100644 --- a/games-emulation/ps2emu-spu2null/Manifest +++ b/games-emulation/ps2emu-spu2null/Manifest @@ -1 +1,3 @@ +DIST pcsx2-0.9.8.7z 10488726 RMD160 92e5cd6ec958092fe1ba6cff79763dec99dac60a SHA1 80f23ad79892306de738cf4138edc6d9563eb9c4 SHA256 1037b2418e7523f565d86c3a4ec4a2b4f4664e8c84dee73d62289961c69ab814 +EBUILD ps2emu-spu2null-0.8.ebuild 2563 RMD160 174699801de1aa237b7dc35c3037c3edc08b51a5 SHA1 ab6e658f6738498c756847a32f84b352a1bb4001 SHA256 f7000781b4ca1e40c23887a2f6018669cff05975dd190920701f3dd8d0de03e1 EBUILD ps2emu-spu2null-9999.ebuild 2474 RMD160 7660ff70fd4bdcaedf424559caf6de4889e5324e SHA1 7754ddb322d7cd55c48dd64556a0a7724fb4bea1 SHA256 61055f43a72d3132797bbb3d4eba58aff99de3c3f35ab638acb802d19b6925c7 diff --git a/games-emulation/ps2emu-spu2null/ps2emu-spu2null-0.8.ebuild b/games-emulation/ps2emu-spu2null/ps2emu-spu2null-0.8.ebuild new file mode 100644 index 0000000..d7f772c --- /dev/null +++ b/games-emulation/ps2emu-spu2null/ps2emu-spu2null-0.8.ebuild @@ -0,0 +1,73 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI=3 + +WX_GTK_VER="2.8" +MY_PV=pcsx2-0.9.8-r4600-sources + +inherit games cmake-utils + +DESCRIPTION="SPU2null plugin for pcsx2" +HOMEPAGE="http://www.pcsx2.net" +SRC_URI="http://forums.pcsx2.net/attachment.php?aid=28280 -> pcsx2-0.9.8.7z" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~x86" +IUSE="debug" +if use amd64; then + ABI="x86" +fi +if use debug; then + CMAKE_BUILD_TYPE="Debug" +else + CMAKE_BUILD_TYPE="Release" +fi + +DEPEND="" +RDEPEND="${DEPEND}" + +src_prepare() { + sed -i -e "s:add_subdirectory(3rdparty)::g" -i CMakeLists.txt + sed -i -e "s:INSTALL(FILES:#INSTALL(FILES:g" -i CMakeLists.txt + sed -i -e "s:add_subdirectory(locales)::g" -i CMakeLists.txt + sed -i -e "s:add_subdirectory(tools)::g" -i CMakeLists.txt + sed -i -e "s:add_subdirectory(common/src/Utilities)::g" -i CMakeLists.txt + sed -i -e "s:add_subdirectory(common/src/x86emitter)::g" -i CMakeLists.txt + sed -i -e "s:pcsx2_core TRUE:pcsx2_core FALSE:g" -i cmake/SelectPcsx2Plugins.cmake + sed -i -e "s:CDVDiso TRUE:CDVDiso FALSE:g" -i cmake/SelectPcsx2Plugins.cmake + sed -i -e "s:CDVDlinuz TRUE:CDVDlinuz FALSE:g" -i cmake/SelectPcsx2Plugins.cmake + sed -i -e "s:CDVDnull TRUE:CDVDnull FALSE:g" -i cmake/SelectPcsx2Plugins.cmake + sed -i -e "s:dev9null TRUE:dev9null FALSE:g" -i cmake/SelectPcsx2Plugins.cmake + sed -i -e "s:FWnull TRUE:FWnull FALSE:g" -i cmake/SelectPcsx2Plugins.cmake + sed -i -e "s:GSdx TRUE:GSdx FALSE:g" -i cmake/SelectPcsx2Plugins.cmake + sed -i -e "s:zerogs TRUE:zerogs FALSE:g" -i cmake/SelectPcsx2Plugins.cmake + sed -i -e "s:zzogl TRUE:zzogl FALSE:g" -i cmake/SelectPcsx2Plugins.cmake + sed -i -e "s:PadNull TRUE:PadNull FALSE:g" -i cmake/SelectPcsx2Plugins.cmake + sed -i -e "s:onepad TRUE:onepad FALSE:g" -i cmake/SelectPcsx2Plugins.cmake + sed -i -e "s:zeropad TRUE:zeropad FALSE:g" -i cmake/SelectPcsx2Plugins.cmake + sed -i -e "s:GSnull TRUE:GSnull FALSE:g" -i cmake/SelectPcsx2Plugins.cmake + sed -i -e "s:spu2-x TRUE:spu2-x FALSE:g" -i cmake/SelectPcsx2Plugins.cmake + sed -i -e "s:zerospu2 TRUE:zerospu2 FALSE:g" -i cmake/SelectPcsx2Plugins.cmake + sed -i -e "s:USBnull TRUE:USBnull FALSE:g" -i cmake/SelectPcsx2Plugins.cmake +} + +S=${WORKDIR}/${MY_PV} + +src_configure() { + mycmakeargs=" + -DPACKAGE_MODE=1 + -DPLUGIN_DIR=$(games_get_libdir)/pcsx2 + -DPLUGIN_DIR_COMPILATION=$(games_get_libdir)/pcsx2 + -DCMAKE_INSTALL_PREFIX=/usr + " + cmake-utils_src_configure +} + +src_install() { + insinto $(games_get_libdir)/pcsx2 + doins bin/plugins/libSPU2null.so || die + prepgamesdirs +} diff --git a/games-emulation/ps2emu-usbnull/Manifest b/games-emulation/ps2emu-usbnull/Manifest index 216ca0f..90bc111 100644 --- a/games-emulation/ps2emu-usbnull/Manifest +++ b/games-emulation/ps2emu-usbnull/Manifest @@ -1 +1,3 @@ +DIST pcsx2-0.9.8.7z 10488726 RMD160 92e5cd6ec958092fe1ba6cff79763dec99dac60a SHA1 80f23ad79892306de738cf4138edc6d9563eb9c4 SHA256 1037b2418e7523f565d86c3a4ec4a2b4f4664e8c84dee73d62289961c69ab814 +EBUILD ps2emu-usbnull-0.7.ebuild 2563 RMD160 fb35ba30b5b44f5446d9386c7c4e53decbd47080 SHA1 850e6b63f50302c747b46785f8700af290079664 SHA256 56cff60711fb687da8d399926c3748721a32c26355b0c607a360bd1f762eb249 EBUILD ps2emu-usbnull-9999.ebuild 2475 RMD160 52823b8e2d1e8318371ab795f8d69ba3ff1e144b SHA1 3770736644aff7de8417b30148e5cde31c3cb88c SHA256 5f7288d535e6bc9a318e388bc5496f91e4b9e8cc56b3f530a84854245792d218 diff --git a/games-emulation/ps2emu-usbnull/ps2emu-usbnull-0.7.ebuild b/games-emulation/ps2emu-usbnull/ps2emu-usbnull-0.7.ebuild new file mode 100644 index 0000000..fb04c9e --- /dev/null +++ b/games-emulation/ps2emu-usbnull/ps2emu-usbnull-0.7.ebuild @@ -0,0 +1,73 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI=3 + +WX_GTK_VER="2.8" +MY_PV=pcsx2-0.9.8-r4600-sources + +inherit games cmake-utils + +DESCRIPTION="usbnull plugin for pcsx2" +HOMEPAGE="http://www.pcsx2.net" +SRC_URI="http://forums.pcsx2.net/attachment.php?aid=28280 -> pcsx2-0.9.8.7z" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~x86" +IUSE="debug" +if use amd64; then + ABI="x86" +fi +if use debug; then + CMAKE_BUILD_TYPE="Debug" +else + CMAKE_BUILD_TYPE="Release" +fi + +DEPEND="" +RDEPEND="${DEPEND}" + +src_prepare() { + sed -i -e "s:add_subdirectory(3rdparty)::g" -i CMakeLists.txt + sed -i -e "s:INSTALL(FILES:#INSTALL(FILES:g" -i CMakeLists.txt + sed -i -e "s:add_subdirectory(locales)::g" -i CMakeLists.txt + sed -i -e "s:add_subdirectory(tools)::g" -i CMakeLists.txt + sed -i -e "s:add_subdirectory(common/src/Utilities)::g" -i CMakeLists.txt + sed -i -e "s:add_subdirectory(common/src/x86emitter)::g" -i CMakeLists.txt + sed -i -e "s:pcsx2_core TRUE:pcsx2_core FALSE:g" -i cmake/SelectPcsx2Plugins.cmake + sed -i -e "s:CDVDiso TRUE:CDVDiso FALSE:g" -i cmake/SelectPcsx2Plugins.cmake + sed -i -e "s:CDVDlinuz TRUE:CDVDlinuz FALSE:g" -i cmake/SelectPcsx2Plugins.cmake + sed -i -e "s:CDVDnull TRUE:CDVDnull FALSE:g" -i cmake/SelectPcsx2Plugins.cmake + sed -i -e "s:dev9null TRUE:dev9null FALSE:g" -i cmake/SelectPcsx2Plugins.cmake + sed -i -e "s:GSnull TRUE:GSnull FALSE:g" -i cmake/SelectPcsx2Plugins.cmake + sed -i -e "s:GSdx TRUE:GSdx FALSE:g" -i cmake/SelectPcsx2Plugins.cmake + sed -i -e "s:zerogs TRUE:zerogs FALSE:g" -i cmake/SelectPcsx2Plugins.cmake + sed -i -e "s:zzogl TRUE:zzogl FALSE:g" -i cmake/SelectPcsx2Plugins.cmake + sed -i -e "s:PadNull TRUE:PadNull FALSE:g" -i cmake/SelectPcsx2Plugins.cmake + sed -i -e "s:onepad TRUE:onepad FALSE:g" -i cmake/SelectPcsx2Plugins.cmake + sed -i -e "s:zeropad TRUE:zeropad FALSE:g" -i cmake/SelectPcsx2Plugins.cmake + sed -i -e "s:SPU2null TRUE:SPU2null FALSE:g" -i cmake/SelectPcsx2Plugins.cmake + sed -i -e "s:spu2-x TRUE:spu2-x FALSE:g" -i cmake/SelectPcsx2Plugins.cmake + sed -i -e "s:zerospu2 TRUE:zerospu2 FALSE:g" -i cmake/SelectPcsx2Plugins.cmake + sed -i -e "s:FWnull TRUE:FWnull FALSE:g" -i cmake/SelectPcsx2Plugins.cmake +} + +S=${WORKDIR}/${MY_PV} + +src_configure() { + mycmakeargs=" + -DPACKAGE_MODE=1 + -DPLUGIN_DIR=$(games_get_libdir)/pcsx2 + -DPLUGIN_DIR_COMPILATION=$(games_get_libdir)/pcsx2 + -DCMAKE_INSTALL_PREFIX=/usr + " + cmake-utils_src_configure +} + +src_install() { + insinto $(games_get_libdir)/pcsx2 + doins bin/plugins/libUSBnull.so || die + prepgamesdirs +} diff --git a/games-emulation/ps2emu-zerogs/Manifest b/games-emulation/ps2emu-zerogs/Manifest index 52663ad..98b6c68 100644 --- a/games-emulation/ps2emu-zerogs/Manifest +++ b/games-emulation/ps2emu-zerogs/Manifest @@ -1 +1,3 @@ +DIST pcsx2-0.9.8.7z 10488726 RMD160 92e5cd6ec958092fe1ba6cff79763dec99dac60a SHA1 80f23ad79892306de738cf4138edc6d9563eb9c4 SHA256 1037b2418e7523f565d86c3a4ec4a2b4f4664e8c84dee73d62289961c69ab814 +EBUILD ps2emu-zerogs-0.96.7.ebuild 3319 RMD160 91d9e693f531d26135fd4223440e0cde8fb388c5 SHA1 5f4a4bb08a584b4cb50f4363c8fe95aab6b09002 SHA256 9a61c6e8a2db53f6721b0861e93f38a4b9f6e39bf1931deed885302f5711f7f4 EBUILD ps2emu-zerogs-9999.ebuild 3269 RMD160 624fb28c21b43619bc237137b3c4a95d8de6e510 SHA1 fce54ac85c6c5ed8143ad107b853867d98485c5c SHA256 a593dcc8c6937986d6f75ab112909d90f6cdf71df1fbe9c9004159ca4abeac4e diff --git a/games-emulation/ps2emu-zerogs/ps2emu-zerogs-0.96.7.ebuild b/games-emulation/ps2emu-zerogs/ps2emu-zerogs-0.96.7.ebuild new file mode 100644 index 0000000..fc5a5cb --- /dev/null +++ b/games-emulation/ps2emu-zerogs/ps2emu-zerogs-0.96.7.ebuild @@ -0,0 +1,96 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI=3 + +WX_GTK_VER="2.8" +MY_PV=pcsx2-0.9.8-r4600-sources + +inherit games cmake-utils + +DESCRIPTION="zerogs plugin for pcsx2" +HOMEPAGE="http://www.pcsx2.net" +SRC_URI="http://forums.pcsx2.net/attachment.php?aid=28280 -> pcsx2-0.9.8.7z" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~x86" +IUSE="debug" +if use amd64; then + ABI="x86" +fi +if use debug; then + CMAKE_BUILD_TYPE="Debug" +else + CMAKE_BUILD_TYPE="Release" +fi + +DEPEND="dev-cpp/sparsehash + x86? ( + media-libs/glew + media-gfx/nvidia-cg-toolkit + virtual/opengl + x11-libs/libICE + x11-libs/libX11 + x11-libs/libXext + ) + amd64? ( media-gfx/nvidia-cg-toolkit[multilib] + app-emulation/emul-linux-x86-opengl + app-emulation/emul-linux-x86-xlibs + )" +RDEPEND="${DEPEND}" + +src_prepare() { + sed -i -e "s:add_subdirectory(3rdparty)::g" -i CMakeLists.txt + sed -i -e "s:INSTALL(FILES:#INSTALL(FILES:g" -i CMakeLists.txt + sed -i -e "s:add_subdirectory(locales)::g" -i CMakeLists.txt + sed -i -e "s:add_subdirectory(tools)::g" -i CMakeLists.txt + sed -i -e "s:add_subdirectory(common/src/Utilities)::g" -i CMakeLists.txt + sed -i -e "s:add_subdirectory(common/src/x86emitter)::g" -i CMakeLists.txt + sed -i -e "s:pcsx2_core TRUE:pcsx2_core FALSE:g" -i cmake/SelectPcsx2Plugins.cmake + sed -i -e "s:CDVDiso TRUE:CDVDiso FALSE:g" -i cmake/SelectPcsx2Plugins.cmake + sed -i -e "s:CDVDlinuz TRUE:CDVDlinuz FALSE:g" -i cmake/SelectPcsx2Plugins.cmake + sed -i -e "s:CDVDnull TRUE:CDVDnull FALSE:g" -i cmake/SelectPcsx2Plugins.cmake + sed -i -e "s:dev9null TRUE:dev9null FALSE:g" -i cmake/SelectPcsx2Plugins.cmake + sed -i -e "s:GSnull TRUE:GSnull FALSE:g" -i cmake/SelectPcsx2Plugins.cmake + sed -i -e "s:GSdx TRUE:GSdx FALSE:g" -i cmake/SelectPcsx2Plugins.cmake + sed -i -e "s:FWnull TRUE:FWnull FALSE:g" -i cmake/SelectPcsx2Plugins.cmake + sed -i -e "s:zzogl TRUE:zzogl FALSE:g" -i cmake/SelectPcsx2Plugins.cmake + sed -i -e "s:PadNull TRUE:PadNull FALSE:g" -i cmake/SelectPcsx2Plugins.cmake + sed -i -e "s:onepad TRUE:onepad FALSE:g" -i cmake/SelectPcsx2Plugins.cmake + sed -i -e "s:zeropad TRUE:zeropad FALSE:g" -i cmake/SelectPcsx2Plugins.cmake + sed -i -e "s:SPU2null TRUE:SPU2null FALSE:g" -i cmake/SelectPcsx2Plugins.cmake + sed -i -e "s:spu2-x TRUE:spu2-x FALSE:g" -i cmake/SelectPcsx2Plugins.cmake + sed -i -e "s:zerospu2 TRUE:zerospu2 FALSE:g" -i cmake/SelectPcsx2Plugins.cmake + sed -i -e "s:USBnull TRUE:USBnull FALSE:g" -i cmake/SelectPcsx2Plugins.cmake + sed -i -e "s:#[\t]add_subdirectory(zerogs):add_subdirectory(zerogs):g" -i plugins/CMakeLists.txt + sed -i -e "s:#include \"zlib/zlib.h\":#include <zlib.h>:g" -i plugins/zerogs/opengl/zpipe.cpp +} + +S=${WORKDIR}/${MY_PV} + +src_configure() { + cg_config="" + if use amd64; then + # tell cmake to use 32 bit library + wxgtk_config="-DwxWidgets_CONFIG_EXECUTABLE=/usr/bin/wx-config-32" + cg_config="-DCG_LIBRARY=/opt/nvidia-cg-toolkit/lib32/libCg.so + -DCG_GL_LIBRARY=/opt/nvidia-cg-toolkit/lib32/libCgGL.so" + fi + + mycmakeargs=" + -DPACKAGE_MODE=1 + -DPLUGIN_DIR=$(games_get_libdir)/pcsx2 + -DPLUGIN_DIR_COMPILATION=$(games_get_libdir)/pcsx2 + -DCMAKE_INSTALL_PREFIX=/usr + ${cg_config} + " + cmake-utils_src_configure +} + +src_install() { + insinto $(games_get_libdir)/pcsx2 + doins bin/plugins/libzerogs.so || die + prepgamesdirs +} diff --git a/games-emulation/ps2emu-zerospu/Manifest b/games-emulation/ps2emu-zerospu/Manifest index ad9b27c..ed099e1 100644 --- a/games-emulation/ps2emu-zerospu/Manifest +++ b/games-emulation/ps2emu-zerospu/Manifest @@ -1 +1,3 @@ +DIST pcsx2-0.9.8.7z 10488726 RMD160 92e5cd6ec958092fe1ba6cff79763dec99dac60a SHA1 80f23ad79892306de738cf4138edc6d9563eb9c4 SHA256 1037b2418e7523f565d86c3a4ec4a2b4f4664e8c84dee73d62289961c69ab814 +EBUILD ps2emu-zerospu-0.4.6.ebuild 2732 RMD160 4e8b90a1282dcbc78194d7ce836a5a1a3116bfdc SHA1 09208840bfbadecd5d9ef85d693c702673473895 SHA256 c6cc8e9feb66cb28395b55aa75455c3351cb08e7c87841c842fef0361e9b5127 EBUILD ps2emu-zerospu-9999.ebuild 2643 RMD160 2986df6e1ddafd98f2c4538e8e6868a26c418f0e SHA1 8218b55dbd4e52f4634525daabe22c8397c45c2a SHA256 86806ae2038695262a8ccc9e70c964d4aa485cfeb11a97a165ea6b9455f8d844 diff --git a/games-emulation/ps2emu-zerospu/ps2emu-zerospu-0.4.6.ebuild b/games-emulation/ps2emu-zerospu/ps2emu-zerospu-0.4.6.ebuild new file mode 100644 index 0000000..0486128 --- /dev/null +++ b/games-emulation/ps2emu-zerospu/ps2emu-zerospu-0.4.6.ebuild @@ -0,0 +1,80 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI=3 + +WX_GTK_VER="2.8" +MY_PV=pcsx2-0.9.8-r4600-sources + +inherit games cmake-utils + +DESCRIPTION="SPU2-x plugin for pcsx2" +HOMEPAGE="http://www.pcsx2.net" +SRC_URI="http://forums.pcsx2.net/attachment.php?aid=28280 -> pcsx2-0.9.8.7z" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~x86" +IUSE="debug" +if use amd64; then + ABI="x86" +fi +if use debug; then + CMAKE_BUILD_TYPE="Debug" +else + CMAKE_BUILD_TYPE="Release" +fi + +DEPEND=" + x86? ( + media-libs/alsa-lib + media-libs/portaudio + media-libs/libsoundtouch + ) + amd64? ( app-emulation/emul-linux-x86-soundlibs )" +RDEPEND="${DEPEND}" + +src_prepare() { + sed -i -e "s:add_subdirectory(3rdparty)::g" -i CMakeLists.txt + sed -i -e "s:INSTALL(FILES:#INSTALL(FILES:g" -i CMakeLists.txt + sed -i -e "s:add_subdirectory(locales)::g" -i CMakeLists.txt + sed -i -e "s:add_subdirectory(tools)::g" -i CMakeLists.txt + sed -i -e "s:add_subdirectory(common/src/Utilities)::g" -i CMakeLists.txt + sed -i -e "s:add_subdirectory(common/src/x86emitter)::g" -i CMakeLists.txt + sed -i -e "s:pcsx2_core TRUE:pcsx2_core FALSE:g" -i cmake/SelectPcsx2Plugins.cmake + sed -i -e "s:CDVDiso TRUE:CDVDiso FALSE:g" -i cmake/SelectPcsx2Plugins.cmake + sed -i -e "s:CDVDlinuz TRUE:CDVDlinuz FALSE:g" -i cmake/SelectPcsx2Plugins.cmake + sed -i -e "s:CDVDnull TRUE:CDVDnull FALSE:g" -i cmake/SelectPcsx2Plugins.cmake + sed -i -e "s:dev9null TRUE:dev9null FALSE:g" -i cmake/SelectPcsx2Plugins.cmake + sed -i -e "s:FWnull TRUE:FWnull FALSE:g" -i cmake/SelectPcsx2Plugins.cmake + sed -i -e "s:GSdx TRUE:GSdx FALSE:g" -i cmake/SelectPcsx2Plugins.cmake + sed -i -e "s:zerogs TRUE:zerogs FALSE:g" -i cmake/SelectPcsx2Plugins.cmake + sed -i -e "s:zzogl TRUE:zzogl FALSE:g" -i cmake/SelectPcsx2Plugins.cmake + sed -i -e "s:PadNull TRUE:PadNull FALSE:g" -i cmake/SelectPcsx2Plugins.cmake + sed -i -e "s:onepad TRUE:onepad FALSE:g" -i cmake/SelectPcsx2Plugins.cmake + sed -i -e "s:zeropad TRUE:zeropad FALSE:g" -i cmake/SelectPcsx2Plugins.cmake + sed -i -e "s:GSnull TRUE:GSnull FALSE:g" -i cmake/SelectPcsx2Plugins.cmake + sed -i -e "s:SPU2null TRUE:SPU2null FALSE:g" -i cmake/SelectPcsx2Plugins.cmake + sed -i -e "s:spu2-x TRUE:spu2-x FALSE:g" -i cmake/SelectPcsx2Plugins.cmake + sed -i -e "s:USBnull TRUE:USBnull FALSE:g" -i cmake/SelectPcsx2Plugins.cmake +} + +S=${WORKDIR}/${MY_PV} + +src_configure() { + mycmakeargs=" + -DPACKAGE_MODE=1 + -DPLUGIN_DIR=$(games_get_libdir)/pcsx2 + -DPLUGIN_DIR_COMPILATION=$(games_get_libdir)/pcsx2 + -DCMAKE_INSTALL_PREFIX=/usr + -DFORCE_INTERNAL_SOUNDTOUCH=FALSE + " + cmake-utils_src_configure +} + +src_install() { + insinto $(games_get_libdir)/pcsx2 + doins bin/plugins/libzerospu2.so || die + prepgamesdirs +} diff --git a/games-emulation/ps2emu-zzogl/Manifest b/games-emulation/ps2emu-zzogl/Manifest index 5e4f98a..2eff6a6 100644 --- a/games-emulation/ps2emu-zzogl/Manifest +++ b/games-emulation/ps2emu-zzogl/Manifest @@ -1 +1,3 @@ +DIST pcsx2-0.9.8.7z 10488726 RMD160 92e5cd6ec958092fe1ba6cff79763dec99dac60a SHA1 80f23ad79892306de738cf4138edc6d9563eb9c4 SHA256 1037b2418e7523f565d86c3a4ec4a2b4f4664e8c84dee73d62289961c69ab814 +EBUILD ps2emu-zzogl-0.3.ebuild 3508 RMD160 6e09913754de4383c0711cc5ffebad743385536b SHA1 fc92f156c361c07ca2692a44b66dd052f5640f1e SHA256 6c2383cf43c60faf731b82a8f0dc303dae3f68a59a519edaf938b369f3d310d6 EBUILD ps2emu-zzogl-9999.ebuild 3476 RMD160 586b077d62295fbf294ff4109da524fcd7eb5ea1 SHA1 5a644290b56319e4e07bbbdfc68ab5ffe7d2e769 SHA256 eadc96ffe99022bc14991fff3524a73909d9756136a770e4415ea2208cc7c02b diff --git a/games-emulation/ps2emu-zzogl/ps2emu-zzogl-0.3.ebuild b/games-emulation/ps2emu-zzogl/ps2emu-zzogl-0.3.ebuild new file mode 100644 index 0000000..4810344 --- /dev/null +++ b/games-emulation/ps2emu-zzogl/ps2emu-zzogl-0.3.ebuild @@ -0,0 +1,109 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI=3 + +WX_GTK_VER="2.8" +MY_PV=pcsx2-0.9.8-r4600-sources + +inherit games cmake-utils wxwidgets + +DESCRIPTION="zzogl plugin for pcsx2" +HOMEPAGE="http://www.pcsx2.net" +SRC_URI="http://forums.pcsx2.net/attachment.php?aid=28280 -> pcsx2-0.9.8.7z" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~x86" +IUSE="debug" +if use amd64; then + ABI="x86" +fi +if use debug; then + CMAKE_BUILD_TYPE="Debug" +else + CMAKE_BUILD_TYPE="Release" +fi + +DEPEND="dev-cpp/sparsehash + x86? ( + app-arch/bzip2 + sys-libs/zlib + media-libs/alsa-lib + media-libs/glew + media-libs/libsdl + media-libs/portaudio + media-gfx/nvidia-cg-toolkit + virtual/jpeg + virtual/opengl + x11-libs/gtk+:2 + x11-libs/libICE + x11-libs/libX11 + x11-libs/libXext + x11-libs/wxGTK[X] + ) + amd64? ( media-gfx/nvidia-cg-toolkit[multilib] + app-emulation/emul-linux-x86-baselibs + app-emulation/emul-linux-x86-opengl + app-emulation/emul-linux-x86-xlibs + app-emulation/emul-linux-x86-gtklibs + app-emulation/emul-linux-x86-sdl + app-emulation/emul-linux-x86-soundlibs + app-emulation/emul-linux-x86-wxGTK + )" +RDEPEND="${DEPEND}" + +src_prepare() { + sed -i -e "s:add_subdirectory(3rdparty)::g" -i CMakeLists.txt + sed -i -e "s:INSTALL(FILES:#INSTALL(FILES:g" -i CMakeLists.txt + sed -i -e "s:add_subdirectory(locales)::g" -i CMakeLists.txt + sed -i -e "s:add_subdirectory(tools)::g" -i CMakeLists.txt + sed -i -e "s:add_subdirectory(common/src/x86emitter)::g" -i CMakeLists.txt + sed -i -e "s:pcsx2_core TRUE:pcsx2_core FALSE:g" -i cmake/SelectPcsx2Plugins.cmake + sed -i -e "s:CDVDiso TRUE:CDVDiso FALSE:g" -i cmake/SelectPcsx2Plugins.cmake + sed -i -e "s:CDVDlinuz TRUE:CDVDlinuz FALSE:g" -i cmake/SelectPcsx2Plugins.cmake + sed -i -e "s:CDVDnull TRUE:CDVDnull FALSE:g" -i cmake/SelectPcsx2Plugins.cmake + sed -i -e "s:dev9null TRUE:dev9null FALSE:g" -i cmake/SelectPcsx2Plugins.cmake + sed -i -e "s:FWnull TRUE:FWnull FALSE:g" -i cmake/SelectPcsx2Plugins.cmake + sed -i -e "s:GSdx TRUE:GSdx FALSE:g" -i cmake/SelectPcsx2Plugins.cmake + sed -i -e "s:zerogs TRUE:zerogs FALSE:g" -i cmake/SelectPcsx2Plugins.cmake + sed -i -e "s:GSnull TRUE:GSnull FALSE:g" -i cmake/SelectPcsx2Plugins.cmake + sed -i -e "s:PadNull TRUE:PadNull FALSE:g" -i cmake/SelectPcsx2Plugins.cmake + sed -i -e "s:onepad TRUE:onepad FALSE:g" -i cmake/SelectPcsx2Plugins.cmake + sed -i -e "s:zeropad TRUE:zeropad FALSE:g" -i cmake/SelectPcsx2Plugins.cmake + sed -i -e "s:SPU2null TRUE:SPU2null FALSE:g" -i cmake/SelectPcsx2Plugins.cmake + sed -i -e "s:spu2-x TRUE:spu2-x FALSE:g" -i cmake/SelectPcsx2Plugins.cmake + sed -i -e "s:zerospu2 TRUE:zerospu2 FALSE:g" -i cmake/SelectPcsx2Plugins.cmake + sed -i -e "s:USBnull TRUE:USBnull FALSE:g" -i cmake/SelectPcsx2Plugins.cmake +} + +S=${WORKDIR}/${MY_PV} + +src_configure() { + wxgtk_config="" + cg_config="" + if use amd64; then + # tell cmake to use 32 bit library + wxgtk_config="-DwxWidgets_CONFIG_EXECUTABLE=/usr/bin/wx-config-32" + cg_config="-DCG_LIBRARY=/opt/nvidia-cg-toolkit/lib32/libCg.so + -DCG_GL_LIBRARY=/opt/nvidia-cg-toolkit/lib32/libCgGL.so" + fi + + mycmakeargs=" + -DPACKAGE_MODE=1 + -DPLUGIN_DIR=$(games_get_libdir)/pcsx2 + -DPLUGIN_DIR_COMPILATION=$(games_get_libdir)/pcsx2 + -DCMAKE_INSTALL_PREFIX=/usr + -DCMAKE_LIBRARY_PATH=$(games_get_libdir)/pcsx2 + ${wxgtk_config} + ${cg_config} + " + cmake-utils_src_configure +} + +src_install() { + insinto $(games_get_libdir)/pcsx2 + doins bin/plugins/libzzogl.so bin/plugins/ps2hw.dat || die + prepgamesdirs +} |