summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--games-emulation/dolphin/ChangeLog7
-rw-r--r--games-emulation/dolphin/Manifest4
-rw-r--r--games-emulation/dolphin/dolphin-4.0.ebuild138
3 files changed, 147 insertions, 2 deletions
diff --git a/games-emulation/dolphin/ChangeLog b/games-emulation/dolphin/ChangeLog
index 7c00ad7943e4..701b71860b4e 100644
--- a/games-emulation/dolphin/ChangeLog
+++ b/games-emulation/dolphin/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for games-emulation/dolphin
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-emulation/dolphin/ChangeLog,v 1.10 2013/09/08 22:54:49 twitch153 Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-emulation/dolphin/ChangeLog,v 1.11 2013/09/26 03:37:02 twitch153 Exp $
+
+*dolphin-4.0 (26 Sep 2013)
+
+ 26 Sep 2013; Devan Franchini <twitch153@gentoo.org> +dolphin-4.0.ebuild:
+ Version bump to 4.0, bug #486052
08 Sep 2013; Devan Franchini <twitch153@gentoo.org> dolphin-9999.ebuild:
Preserves bundled polarssl lib, bug #483794
diff --git a/games-emulation/dolphin/Manifest b/games-emulation/dolphin/Manifest
index fabe3c53fd60..fe3975a56c41 100644
--- a/games-emulation/dolphin/Manifest
+++ b/games-emulation/dolphin/Manifest
@@ -1,6 +1,8 @@
AUX dolphin-emu-3.5-gcc-4.8.patch 6682 SHA256 8f153b45b354d52e084694d285fe49409a47f0738e064ca7ba88b38cbbd6f1ca SHA512 98a2e0435b262af4bcf875ef29d14ed5ae204faebadbed7778cfedb3c9841552ecab83ef932e943c779d634d83f6df6d43a656c5e72732e85827902cb08622aa WHIRLPOOL 7128c98fcd22efde2a8067a28d9b064689fa7a5f81b068313a19e41f4fc659b726293bc00539be725077ff5529276c0769e7acbf8146c2c8d578c3812776d488
DIST dolphin-3.5-src.zip 28805192 SHA256 b95cb6f487c1f77471c08cfb52bc9844bb2385f0ffd8fb45416b4c5095eb8d9a SHA512 4e607f9ed15c19967382a178c725a015fa8e2db4f624e9b54c50af31bdbae333989be8397cd32d0aa3b5283caf85a67e5529583be4423ada5c6f098ca7c309ef WHIRLPOOL a840f15153eff2edb5f2c75410e6fed3cca7fbffe2eb05bbf6441b914f7b27c6d9ee90de27fb9a773b601c44311828b95e3c597000cf607ff12d1141266e50bc
+DIST dolphin-4.0-src.zip 23474133 SHA256 07e6360c8fc148ca39d65eb7c62adbd2545df4488b065afad47d55e02d05930f SHA512 28853f26be7e6f2755d87925a7849f5c6e7ecb41114b96e02e11e464a5c102789fd33d68761b571f6321057fa9327a5ff5982380c4032d80d5f2dc7e60d53674 WHIRLPOOL b739852368a4dc7429d19d2260dd0be2b32c63865f42ec0839af4c323ce41fc83c7c211243913110aff7a4f4f8a80884b346e9b478c73cf17eb88071f6b757de
EBUILD dolphin-3.5.ebuild 3938 SHA256 56736c6f66aeb0d2b428c379b89dc1befdfb4657cbc30f888bc7c503d82afb50 SHA512 3ba980f08e45955ecae044d7f62e9d8472cd4bca2eb3817380f3adbf7d92567b2ea2cdf9af488a7ae9c46e7c1a7ef32840c42ba46ed3ce6a1261dc2c0769eb3f WHIRLPOOL 3a1edb2c661a435db849a764e06f518e78050115e526fc10887549ca5a44d8035be1d2046fa569cb04239b7cecec412a940414077bf697996d0cff6113cced21
+EBUILD dolphin-4.0.ebuild 3390 SHA256 749dddb374ff89f6f59fe903260151d7e8edaffe3894c25217265b258322d903 SHA512 453aeccc02d576dfe7e24bf6d86346f53dac1cd0a0b636447fb7b36e7f0287f1f2f3dbefb7fdd90c87000dd8ba962ce51bac25416de609b89bd3ce52737202a7 WHIRLPOOL 1c33228aa0a72c782b06e62a77397da4d00853e1b7ef5e663207f16a1e55e2b7853b4333bbd4674eccfa5af93d3c0934e55c3a90231be73ad8088fd357c7b94a
EBUILD dolphin-9999.ebuild 3488 SHA256 ccf205664dbd8bda5744ac760142ffd29c80c4e6d40ad46832386c824e269f95 SHA512 4cfc2f564b80aa1bd9bb009c87beebc36b109da4c1e056759bf9e6e90be92f4d1dd84d7ed0fca617c06e2e17fbe65ed2054faf4085e3c260c9f879932e1915dc WHIRLPOOL 2c6e9b995ed1e875526fcb87ec99f28e872af256f6796e273ec7c0deb04095eba87e5a01ef5f0994e905a5f416554239b5cd5d93971023431295fe01b5a87a22
-MISC ChangeLog 2021 SHA256 5bfab82c97e96d4a2e5dfcc552d6b6a07dd13acd2ac555ef1b8d653fe6ff48e0 SHA512 eeb0368aa20a26e61e8ba57485d8241888d3b2343ee12513bfa5fc7b22de413fa639593ff869fb179b291f73bdb5859bacb1dc7cd8f2470030cea5bea90573bd WHIRLPOOL 012b43e7b93ce0ac35d6d526f3aa4af85849fbe24cecf32888c2fb942f86b05d507dbe725633056bb31f9ee49e24413a9b0a64846390d76ca462e635c45c9471
+MISC ChangeLog 2160 SHA256 83f60d504270d0aaea26011d28574813f5e692ad02b012570617f9320f08bee6 SHA512 2a08b33098f8871449bc4ab2214d6da3466202f02807383b200b660d9e08467a585acc7fb2e70092562a12d4090cf80f875d53aacf71d8964477a41b3c65e64b WHIRLPOOL 2ca600d6de8f8d5eccf8d406f776225d600cf7af5ed9d60348430b45fb5baacb80484022c8725bf00a7161ac87fb74241364bc8f9407fcd6e872fb3e86fa9c05
MISC metadata.xml 442 SHA256 11ac55298ad628e589b592a2da00db1cabfd31ff8621c0fea059d714acdce334 SHA512 96abf53048bb8aea1387eacc40b9cda4e6099f079ddeb669fb23458d67880804fb015970207aa10a21227b87c153208a8dfa4bf4ea279ff7e53dcfebf18ac30e WHIRLPOOL e72458e354da2e4bfeb67de52c31d50a61f3b926fe16c0bcf4aae5e599858e413fcc9057fe1b098e43ee18fabe6a0f05dff008f59065cf34bad02da6480fc120
diff --git a/games-emulation/dolphin/dolphin-4.0.ebuild b/games-emulation/dolphin/dolphin-4.0.ebuild
new file mode 100644
index 000000000000..067744f408d2
--- /dev/null
+++ b/games-emulation/dolphin/dolphin-4.0.ebuild
@@ -0,0 +1,138 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-emulation/dolphin/dolphin-4.0.ebuild,v 1.1 2013/09/26 03:37:02 twitch153 Exp $
+
+EAPI=5
+
+WX_GTK_VER="2.9"
+
+inherit cmake-utils eutils pax-utils toolchain-funcs versionator wxwidgets games
+
+SRC_URI="http://${PN}-emu.googlecode.com/files/${P}-src.zip"
+KEYWORDS="~amd64"
+
+DESCRIPTION="Gamecube and Wii game emulator"
+HOMEPAGE="http://www.dolphin-emulator.com/"
+
+LICENSE="GPL-2"
+SLOT="0"
+IUSE="alsa ao bluetooth doc ffmpeg +lzo openal opengl openmp portaudio pulseaudio"
+
+RDEPEND=">=media-libs/glew-1.6
+ >=media-libs/libsdl-1.2[joystick]
+ <media-libs/libsfml-2.0
+ >=net-libs/miniupnpc-1.8
+ sys-libs/readline
+ x11-libs/libXext
+ x11-libs/libXrandr
+ alsa? ( media-libs/alsa-lib )
+ ao? ( media-libs/libao )
+ bluetooth? ( net-wireless/bluez )
+ ffmpeg? ( virtual/ffmpeg )
+ lzo? ( dev-libs/lzo )
+ openal? ( media-libs/openal )
+ opengl? ( virtual/opengl )
+ portaudio? ( media-libs/portaudio )
+ pulseaudio? ( media-sound/pulseaudio )
+ "
+DEPEND="${RDEPEND}
+ app-arch/zip
+ media-gfx/nvidia-cg-toolkit
+ media-libs/freetype
+ media-libs/libsoundtouch
+ >=sys-devel/gcc-4.6.0
+ x11-libs/wxGTK:2.9
+ "
+
+S="${WORKDIR}/${PN}-emu"
+
+pkg_pretend() {
+
+ local ver=4.6.0
+ local msg="${PN} needs at least GCC ${ver} set to compile."
+
+ if [[ ${MERGE_TYPE} != binary ]]; then
+ if ! version_is_at_least ${ver} $(gcc-fullversion); then
+ eerror ${msg}
+ die ${msg}
+ fi
+ fi
+
+}
+
+src_prepare() {
+
+ # Remove automatic dependencies to prevent building without flags enabled.
+ if use !alsa; then
+ sed -i -e '^/include(FindALSA/d' CMakeLists.txt || die
+ fi
+ if use !ao; then
+ sed -i -e '/^check_lib(AO/d' CMakeLists.txt || die
+ fi
+ if use !bluetooth; then
+ sed -i -e '/^check_lib(BLUEZ/d' CMakeLists.txt || die
+ fi
+ if use !openal; then
+ sed -i -e '/^include(FindOpenAL/d' CMakeLists.txt || die
+ fi
+ if use !portaudio; then
+ sed -i -e '/CMAKE_REQUIRED_LIBRARIES portaudio/d' CMakeLists.txt || die
+ fi
+ if use !pulseaudio; then
+ sed -i -e '/^check_lib(PULSEAUDIO/d' CMakeLists.txt || die
+ fi
+
+ # Remove ALL the bundled libraries, aside from:
+ # - SOIL: The sources are not public.
+ # - Bochs-disasm: Don't know what it is.
+ # - CLRun: Part of OpenCL
+ mv Externals/SOIL . || die
+ mv Externals/Bochs_disasm . || die
+ mv Externals/CLRun . || die
+ mv Externals/polarssl . || die
+ rm -r Externals/* || die
+ mv CLRun Externals || die
+ mv Bochs_disasm Externals || die
+ mv SOIL Externals || die
+ mv polarssl Externals || die
+}
+
+src_configure() {
+
+ local mycmakeargs=(
+ "-DDOLPHIN_WC_REVISION=${PV}"
+ "-DCMAKE_INSTALL_PREFIX=${GAMES_PREFIX}"
+ "-Dprefix=${GAMES_PREFIX}"
+ "-Ddatadir=${GAMES_DATADIR}/${PN}"
+ "-Dplugindir=$(games_get_libdir)/${PN}"
+ $( cmake-utils_use ffmpeg ENCODE_FRAMEDUMPS )
+ $( cmake-utils_use openmp OPENMP )
+ )
+
+ cmake-utils_src_configure
+}
+
+src_install() {
+
+ cmake-utils_src_install
+
+ dodoc Readme.txt
+ if use doc; then
+ dodoc -r docs/ActionReplay docs/DSP docs/WiiMote
+ fi
+
+ doicon Source/Core/DolphinWX/resources/Dolphin.xpm
+ make_desktop_entry "dolphin-emu" "Dolphin" "Dolphin" "Game;"
+
+ prepgamesdirs
+}
+
+pkg_postinst() {
+ # Add pax markings for hardened systems
+ pax-mark -m "${EPREFIX}"/usr/games/bin/"${PN}"-emu
+
+ if ! use portaudio; then
+ ewarn "If you want microphone capabilities in dolphin-emu, rebuild with"
+ ewarn "USE=\"portaudio\""
+ fi
+}