From b01e0644482af624e9d1b03d7490fe516bfbb431 Mon Sep 17 00:00:00 2001 From: Devan Franchini Date: Sun, 4 May 2014 21:47:16 +0000 Subject: Version bump to 4.0.2 Package-Manager: portage-2.2.8-r1/cvs/Linux x86_64 Manifest-Sign-Key: 0xA8C8FBCF --- games-emulation/dolphin/ChangeLog | 7 +- games-emulation/dolphin/Manifest | 18 ++-- games-emulation/dolphin/dolphin-4.0.2.ebuild | 144 +++++++++++++++++++++++++++ 3 files changed, 160 insertions(+), 9 deletions(-) create mode 100644 games-emulation/dolphin/dolphin-4.0.2.ebuild (limited to 'games-emulation') diff --git a/games-emulation/dolphin/ChangeLog b/games-emulation/dolphin/ChangeLog index 58bb09a8a9af..760a4bc864b0 100644 --- a/games-emulation/dolphin/ChangeLog +++ b/games-emulation/dolphin/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for games-emulation/dolphin # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/games-emulation/dolphin/ChangeLog,v 1.19 2014/03/19 03:06:38 twitch153 Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-emulation/dolphin/ChangeLog,v 1.20 2014/05/04 21:47:04 twitch153 Exp $ + +*dolphin-4.0.2 (04 May 2014) + + 04 May 2014; Devan Franchini +dolphin-4.0.2.ebuild: + Version bump to 4.0.2 19 Mar 2014; Devan Franchini dolphin-9999.ebuild: Adds gtest to saved External directories. diff --git a/games-emulation/dolphin/Manifest b/games-emulation/dolphin/Manifest index 3373bc7b7bd4..a90746654609 100644 --- a/games-emulation/dolphin/Manifest +++ b/games-emulation/dolphin/Manifest @@ -3,20 +3,22 @@ Hash: SHA256 AUX dolphin-emu-3.5-gcc-4.8.patch 6682 SHA256 8f153b45b354d52e084694d285fe49409a47f0738e064ca7ba88b38cbbd6f1ca SHA512 98a2e0435b262af4bcf875ef29d14ed5ae204faebadbed7778cfedb3c9841552ecab83ef932e943c779d634d83f6df6d43a656c5e72732e85827902cb08622aa WHIRLPOOL 7128c98fcd22efde2a8067a28d9b064689fa7a5f81b068313a19e41f4fc659b726293bc00539be725077ff5529276c0769e7acbf8146c2c8d578c3812776d488 DIST 3.5.zip 28805192 SHA256 56a55060aa912562e6fac2b114b8ad8019deb419b784a1db555a158a01021037 SHA512 0f3f30084ca4cd72623a33d33fe212c113bb5034c2bfcdc85b7744da48deae63341a42b0eaf0ae7aca7a5ebcdc99ec5bf0c2e32b3badd567602d4fed7d3c8ff6 WHIRLPOOL b2b99ea310b2362c66480e934a8b10ce33b72be347474099f1fe932e26a6d3bc7634b3e8e527f0d1892e5a78af984f2762a92294fe0ea6e2e3cc59bbf953980b +DIST 4.0.2.zip 28261421 SHA256 90e49ccd92eddc019bcac3b914bf16ce8d49c59fc2bd165ee02a22ea1a0456da SHA512 cb0c788307e6a0048213a2d947ac44d96b5bab064e5be41ad83c308ab98d0126bb173dd0b8705664f898d02eb571f8cb6d5bd6bfd3bd5e00e70126d04dd1cb99 WHIRLPOOL 5ae2bb04513f91300954cd598555a65527356b5e09d85283cbd8dee1a57a5a068dae8938e25d9a0ac77d6956cd08b33ed12afc774b05208dd432d693e4e2c842 DIST 4.0.zip 23439392 SHA256 a698caf05f47a55c30e09d0aab053a412df683de2e139a6348156b03c502a0ec SHA512 02e366c2fa95ab5f37b0a66b94a5b56a632ef81e13febd982d6385cfaf7fa3edb4364180d4b8312e82bc7b8f150d02cde10248996f6a12286a20d684024aca20 WHIRLPOOL 0cb7b28b911111f4b7bf93c56f2dd31d080e7e0418fb53d9cc9093ca995d2c99a1fa7d5d82111e2c8db363e2b07384be39ec0062ab0252233f480b8e45e9304e EBUILD dolphin-3.5.ebuild 3984 SHA256 e672fafe7926bcb010953b58c727102556e0a39c28386f0c5c394cc73a0f6def SHA512 ce7e2dcccdaca3c5a6d35720306a2aa8025b82ee28c26ed296db6660d61268a0e758c661a1a44cf153af0ea686ea4954ec8811ed78418473c49ba919dff239fe WHIRLPOOL 4b7812849f877b2e4a9be1ad81c2c520ea5d1f2637fd75f0a0484763a8afd4b424a6f779e780564af5bd887cc6db3bd75890977bd24f9dd6a448debc0943ed45 +EBUILD dolphin-4.0.2.ebuild 3476 SHA256 1c1f15bd16756f13fd7267c69fac074636216ae397d97f408b2e315bcf3c9bfe SHA512 0b08c67027b97e77b20f0cd8e1e7866f61fad9e711ff233d042bfc5b931acbf229254c3e46ee37514c2df486052a859350376eae7d784f6df254f92562382bb5 WHIRLPOOL 78998182a1050b41da15a7eb0c8e11d8ee0efc8e4123bcc299ce12c68e22f322c5dbea587c7ceefb1bb56bf4d6c6a48131a820756b82958edeb5b1259061793a EBUILD dolphin-4.0.ebuild 3474 SHA256 1412017b6866c67af7402658fc5ea69d62f7c60b942a4e9df4fcbbf5e02eca3f SHA512 233848e65dde009e68acf34f18f32404000e47a786aa58179f22a15a777d39d88f7ea88bc2f6d9b9b5dba29b54f881e59fa15b7289c707929671afb1e4f2558c WHIRLPOOL 45bab6dd58c4a1b4125beac8b0d66bd2fa7dc21343e3a520a7873bf0347e92a6eb03089f567fb547452d5feb252ce8ce5b7b59f992bad938fb556e8378b63b13 EBUILD dolphin-9999.ebuild 3714 SHA256 19963f4ed3b72abc9e577f233815ea0a7f7802353cd42387c19dc88dfdcb89c3 SHA512 4b4fbf2d9ff8166f5bf26a27458088ad5875da6ddd27a7d74eb808fedab5f78be9cee937839a9c45a49747ee566bbe2829bb5f4ebd0503386e6ede3e5a9d147d WHIRLPOOL 29157e91433dc466b5253f54cab429b7b19858a2b3ae006f010d5b416cff53d7d4eacf7dfb2521785c2cf7ee02616448a51481ea9a9d0b45093ab2bc6d2e2c50 -MISC ChangeLog 3351 SHA256 c9727ce51a2215bbcf499be4a6a2c0714e1a002975cfeb2e680ccc8b952e94ac SHA512 3ccc6cbb484525b6cf7de75fdc2561e9bb815e90f251d0ef0c18fbeb9639816aaf1009239a11f5e52ad7be31e688b63e8ffd35c146baa2eb645eb1c9282b57ba WHIRLPOOL 55ccd309ab7c758efed17de2a2d4cbf814039758e0e27d2e905371377d5cc7cb2ae7abccde0e066d043a876dbd67ba57fe5b4e635dfc90a878689dc03ad8e366 +MISC ChangeLog 3483 SHA256 777366bfcc91badacc6eb98bb7f7cdef0ca02e6cfbd2a46118c52c8994b51eaf SHA512 ccccb6ba6632abcb87f2dbd390f8f1e160863686db3cad527d1c6a5a94f17f6fab7ddcc223a4c2d739332e006c96ed38737bc69e4750bd1add2313b4213d3bc5 WHIRLPOOL 35e2178283e391bec82dd6748d6241edb0892357aee6aca8cad397285c2e88839843fe78ca6cf00bbc884865a555f6a4ae3118e072309a7337a9fdec04601b44 MISC metadata.xml 442 SHA256 11ac55298ad628e589b592a2da00db1cabfd31ff8621c0fea059d714acdce334 SHA512 96abf53048bb8aea1387eacc40b9cda4e6099f079ddeb669fb23458d67880804fb015970207aa10a21227b87c153208a8dfa4bf4ea279ff7e53dcfebf18ac30e WHIRLPOOL e72458e354da2e4bfeb67de52c31d50a61f3b926fe16c0bcf4aae5e599858e413fcc9057fe1b098e43ee18fabe6a0f05dff008f59065cf34bad02da6480fc120 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (GNU/Linux) -iQEcBAEBCAAGBQJTKSZtAAoJEOf5eU+oyPvP9AsH/jKf9eFUJcAy+eprJ0TQic/1 -jD5EJyz9trBiYnOOttdqyc6WhNyZOCBENJ7RztmEoBLQKynI5KqVUVGpOojZBCQ+ -uidfNzWRNMI3s3aXzLbqDvxjHLKzubRVrybFcpKFrawYmiemKMHlOW59Fd8eSP+t -vQzCBoCKpcXR4fXL2qwpPyWl06ypJnV5B+BoOG/uDyNda+DoWisNI/r9zRO7TuMT -XevxJ9CgRqV6ma63a4mJ11hXtWmQHQoFKGfqrQbHTuNDEDY3PFwso2lbNecetJWh -fi6borqKS4ZTC5GlkYJdEjS6m1gNFKJLxfltSi1r6gOBgs7tLmD3P0eVs+MZezk= -=oF3/ +iQEcBAEBCAAGBQJTZrVgAAoJEOf5eU+oyPvPilAH/23/GX7XSS++dUH6xFhGGwvA +sOWNGFuFmZ492y5wFyRYiSREbvZ7Ww1o1ZTkDoTxlXrn6cs76BNtUvroni7Tgw2G +HwK7uOdY6yBWopW0/QM1vtIxFlBSe9MFUkg5m6OkQVO3HybN/dprlovFNGrI2b2h +ZzOFueNkOXZt9cvFyC++PozIYvFXBLb9XR598tWSKdiVENH+gKD2sYxppgoHqgka +ctnkdn3usvmOBQ6ydY5a8fat811CNQ8xgGQEO7BnkxSgqInuyhGo26BFTV2KDlu8 +K7GxBOCFDmhU2rQh5Ekuye+a8tDjZBgUmLcFYp9RiFo3MbI7zh6kgG9fFJyix2w= +=oVVx -----END PGP SIGNATURE----- diff --git a/games-emulation/dolphin/dolphin-4.0.2.ebuild b/games-emulation/dolphin/dolphin-4.0.2.ebuild new file mode 100644 index 000000000000..ca50c06c7709 --- /dev/null +++ b/games-emulation/dolphin/dolphin-4.0.2.ebuild @@ -0,0 +1,144 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/games-emulation/dolphin/dolphin-4.0.2.ebuild,v 1.1 2014/05/04 21:47:04 twitch153 Exp $ + +EAPI=5 + +WX_GTK_VER="2.9" + +inherit cmake-utils eutils pax-utils toolchain-funcs versionator wxwidgets games + +SRC_URI="https://github.com/${PN}-emu/${PN}/archive/${PV}.zip" +KEYWORDS="~amd64" + +DESCRIPTION="Gamecube and Wii game emulator" +HOMEPAGE="https://www.dolphin-emu.org/" + +LICENSE="GPL-2" +SLOT="0" +IUSE="alsa ao bluetooth doc ffmpeg +lzo openal opengl openmp portaudio pulseaudio" + +RESTRICT="mirror" + +RDEPEND=">=media-libs/glew-1.6 + >=media-libs/libsdl-1.2[joystick] + =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 + " + +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 + # - polarssl: Currently fails the check as is. + mv Externals/SOIL . || die + mv Externals/Bochs_disasm . || die + mv Externals/CLRun . || die + mv Externals/polarssl . || die + rm -r Externals/* || die + mv polarssl Externals || die + mv CLRun Externals || die + mv Bochs_disasm Externals || die + mv SOIL 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_compile() { + + cmake-utils_src_compile +} + +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 +} -- cgit v1.2.3-65-gdbad