public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Devan Franchini" <twitch153@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: games-emulation/dolphin/
Date: Sat, 25 Jun 2016 02:32:19 +0000 (UTC)	[thread overview]
Message-ID: <1466821756.7318d367fb3a59f0ba696921b3513fedf28b751f.twitch153@gentoo> (raw)

commit:     7318d367fb3a59f0ba696921b3513fedf28b751f
Author:     Devan Franchini <twitch153 <AT> gentoo <DOT> org>
AuthorDate: Sat Jun 25 02:20:01 2016 +0000
Commit:     Devan Franchini <twitch153 <AT> gentoo <DOT> org>
CommitDate: Sat Jun 25 02:29:16 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7318d367

games-emulation/dolphin: Updates package version to reflect new release

Package-Manager: portage-2.3.0

 games-emulation/dolphin/Manifest           |   2 +-
 games-emulation/dolphin/dolphin-5.0.ebuild | 106 ++++++++++++++++++++---------
 2 files changed, 74 insertions(+), 34 deletions(-)

diff --git a/games-emulation/dolphin/Manifest b/games-emulation/dolphin/Manifest
index 2cc1c50..1cc674f 100644
--- a/games-emulation/dolphin/Manifest
+++ b/games-emulation/dolphin/Manifest
@@ -1 +1 @@
-DIST dolphin-5.0.zip 28317729 SHA256 2b1003360d52baf12a1bcd4d75f379749b0fd4001948ec1a24d0539c37aae055 SHA512 1b1c0dd6da4ba7e9ffe30499fae582b922c9bbd8b3d8159fbf9f4bfa1e744ef5b4c00a85d34f7cdd6e01efa32133f59b2a1f42cafc9d620f7fc7462c4ba73615 WHIRLPOOL 73cc25bafcb0d32592e8ad799b0a3d458cfa944ad15380a3b8f1cf27f3e024c314b08469a17f6d92edced95631bba38e39e1ccd625227c0520813abbd399e0f4
+DIST dolphin-5.0.zip 41802909 SHA256 f8c26bdea7a8329873bd2c485676ba5cbc1670faad3fef98f1d516254b4dd3a1 SHA512 36c4f371e066537331a9a8ec4a17befa278465cdebe258e1cbf1157752ba69bff9c1b8a6e8698bbb650aa257bd48b6b42ee9f61357904b09fd01738af8223d3a WHIRLPOOL 401d569e1b45a8873a2f7879a5d9c931228767be909c9ddde43d49394a79580c2ae0eccc29757f471565ad0554cd20e57c371393526d68b2c79f8570a2e2bd5c

diff --git a/games-emulation/dolphin/dolphin-5.0.ebuild b/games-emulation/dolphin/dolphin-5.0.ebuild
index d7266c1..88cd984 100644
--- a/games-emulation/dolphin/dolphin-5.0.ebuild
+++ b/games-emulation/dolphin/dolphin-5.0.ebuild
@@ -4,11 +4,13 @@
 
 EAPI=5
 
+PLOCALES="ar ca cs da_DK de el en es fa fr hr hu it ja ko ms_MY nb nl pl pt pt_BR ro_RO ru sr sv tr zh_CN zh_TW"
+PLOCALE_BACKUP="en"
 WX_GTK_VER="3.0"
 
-inherit cmake-utils eutils pax-utils toolchain-funcs versionator wxwidgets games
+inherit cmake-utils eutils l10n pax-utils toolchain-funcs versionator wxwidgets
 
-SRC_URI="https://github.com/${PN}-emu/${PN}/archive/${PV}-rc.zip -> ${P}.zip"
+SRC_URI="https://github.com/${PN}-emu/${PN}/archive/${PV}.zip -> ${P}.zip"
 KEYWORDS="~amd64"
 
 DESCRIPTION="Gamecube and Wii game emulator"
@@ -16,35 +18,58 @@ HOMEPAGE="https://www.dolphin-emu.org/"
 
 LICENSE="GPL-2"
 SLOT="0"
-IUSE="alsa ao bluetooth doc ffmpeg lto +lzo openal opengl openmp portaudio pulseaudio"
+IUSE="alsa ao bluetooth doc egl +evdev ffmpeg llvm log lto openal +pch portaudio profile pulseaudio qt5 sdl upnp +wxwidgets"
 
-S=${WORKDIR}/${P}-rc/
-RDEPEND=">=media-libs/glew-1.10
-	>=media-libs/libsfml-2.1
-	>=net-libs/miniupnpc-1.8
+RDEPEND=">=media-libs/libsfml-2.1
+	>net-libs/enet-1.3.7
+	>=net-libs/mbedtls-2.1.1
+	dev-libs/lzo
+	media-libs/libpng:=
+	sys-libs/glibc
 	sys-libs/readline:=
+	sys-libs/zlib
 	x11-libs/libXext
+	x11-libs/libXi
 	x11-libs/libXrandr
-	media-libs/libsdl2[haptic,joystick]
-	net-libs/polarssl[havege]
+	virtual/libusb:1
+	virtual/opengl
 	alsa? ( media-libs/alsa-lib )
 	ao? ( media-libs/libao )
 	bluetooth? ( net-wireless/bluez )
+	egl? ( media-libs/mesa[egl] )
+	evdev? (
+			dev-libs/libevdev
+			virtual/udev
+	)
 	ffmpeg? ( virtual/ffmpeg )
-	lzo? ( dev-libs/lzo )
-	openal? ( media-libs/openal )
-	opengl? ( virtual/opengl )
+	llvm? ( sys-devel/llvm )
+	openal? (
+			media-libs/openal
+			media-libs/libsoundtouch
+	)
 	portaudio? ( media-libs/portaudio )
+	profile? ( dev-util/oprofile )
 	pulseaudio? ( media-sound/pulseaudio )
+	qt5? (
+		dev-qt/qtcore:5
+		dev-qt/qtgui:5
+		dev-qt/qtwidgets:5
+	)
+	sdl? ( media-libs/libsdl2[haptic,joystick] )
+	upnp? ( >=net-libs/miniupnpc-1.7 )
+	wxwidgets? (
+				dev-libs/glib:2
+				x11-libs/gtk+:2
+				x11-libs/wxGTK:${WX_GTK_VER}[opengl,X]
+	)
 	"
 DEPEND="${RDEPEND}
+	>=dev-util/cmake-2.8.8
+	>=sys-devel/gcc-4.9.0
 	app-arch/zip
-	media-gfx/nvidia-cg-toolkit
 	media-libs/freetype
-	media-libs/libsoundtouch
-	>net-libs/enet-1.3.7
-	>=sys-devel/gcc-4.9.0
-	x11-libs/wxGTK:${WX_GTK_VER}
+	sys-devel/gettext
+	virtual/pkgconfig
 	"
 
 pkg_pretend() {
@@ -63,9 +88,6 @@ pkg_pretend() {
 
 src_prepare() {
 
-	epatch "${FILESDIR}"/"${P}"-dynamic-llvm-detect.patch
-	epatch "${FILESDIR}"/"${P}"-miniupnpc-abi-14.patch
-
 	# Remove automatic dependencies to prevent building without flags enabled.
 	if use !alsa; then
 		sed -i -e '/include(FindALSA/d' CMakeLists.txt || die
@@ -76,6 +98,9 @@ src_prepare() {
 	if use !bluetooth; then
 		sed -i -e '/check_lib(BLUEZ/d' CMakeLists.txt || die
 	fi
+	if use !llvm; then
+		sed -i -e '/include(FindLLVM/d' CMakeLists.txt || die
+	fi
 	if use !openal; then
 		sed -i -e '/include(FindOpenAL/d' CMakeLists.txt || die
 	fi
@@ -89,34 +114,50 @@ src_prepare() {
 	# Remove ALL the bundled libraries, aside from:
 	# - SOIL: The sources are not public.
 	# - Bochs-disasm: Don't know what it is.
-	# - GL: A custom gl.h file is used.
 	# - gtest: Their build set up solely relies on the build in gtest.
 	# - xxhash: Not on the tree.
 	mv Externals/SOIL . || die
 	mv Externals/Bochs_disasm . || die
-	mv Externals/GL . || die
 	mv Externals/gtest . || die
 	mv Externals/xxhash . || die
 	rm -r Externals/* || die "Failed to delete Externals dir."
 	mv Bochs_disasm Externals || die
 	mv SOIL Externals || die
-	mv GL Externals || die
 	mv gtest Externals || die
 	mv xxhash Externals || die
+
+	remove_locale() {
+		# Ensure preservation of the backup locale when no valid LINGUA is set
+		if [[ "${PLOCALE_BACKUP}" == "${1}" ]] && [[ "${PLOCALE_BACKUP}" == "$(l10n_get_locales)" ]]; then
+			return
+		else
+			rm "Languages/po/${1}.po" || die
+		fi
+	}
+
+	l10n_find_plocales_changes "Languages/po/" "" '.po'
+	l10n_for_each_disabled_locale_do remove_locale
 }
 
 src_configure() {
 
+	if use wxwidgets; then
+		need-wxwidgets unicode
+	fi
+
 	local mycmakeargs=(
-		"-DDOLPHIN_WC_REVISION=${PV}"
-		"-DCMAKE_INSTALL_PREFIX=${GAMES_PREFIX}"
-		"-Dprefix=${GAMES_PREFIX}"
-		"-Ddatadir=${GAMES_DATADIR}/${PN}"
-		"-Dplugindir=$(games_get_libdir)/${PN}"
 		"-DUSE_SHARED_ENET=ON"
 		$( cmake-utils_use ffmpeg ENCODE_FRAMEDUMPS )
+		$( cmake-utils_use log FASTLOG )
+		$( cmake-utils_use profile OPROFILING )
+		$( cmake-utils_use_disable wxwidgets WX )
+		$( cmake-utils_use_enable evdev EVDEV )
 		$( cmake-utils_use_enable lto LTO )
-		$( cmake-utils_use openmp OPENMP )
+		$( cmake-utils_use_enable pch PCH )
+		$( cmake-utils_use_enable qt5 QT2 )
+		$( cmake-utils_use_enable sdl SDL )
+		$( cmake-utils_use_use egl EGL )
+		$( cmake-utils_use_use upnp UPNP )
 	)
 
 	cmake-utils_src_configure
@@ -135,10 +176,9 @@ src_install() {
 		dodoc -r docs/ActionReplay docs/DSP docs/WiiMote
 	fi
 
-	doicon Installer/dolphin-emu.xpm
-	make_desktop_entry "dolphin-emu" "Dolphin Emulator" "dolphin-emu" "Game;Emulator;"
-
-	prepgamesdirs
+	doicon -s 48 Data/dolphin-emu.png
+	doicon -s scalable Data/dolphin-emu.svg
+	doicon Data/dolphin-emu.svg
 }
 
 pkg_postinst() {


             reply	other threads:[~2016-06-25  2:32 UTC|newest]

Thread overview: 80+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-06-25  2:32 Devan Franchini [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-08-17 19:24 [gentoo-commits] repo/gentoo:master commit in: games-emulation/dolphin/ Michał Górny
2024-08-11 18:31 Michał Górny
2024-03-04  5:02 Sam James
2023-08-20 17:41 Michał Górny
2023-05-30 10:36 Andreas Sturmlechner
2023-05-23  2:52 Sam James
2022-09-04 23:58 Sam James
2022-07-22 14:24 Ionen Wolkens
2022-07-07  8:30 Ionen Wolkens
2022-06-22 16:02 Arthur Zamarin
2022-05-20 17:13 Michał Górny
2022-05-20  6:41 Michał Górny
2022-04-27 22:10 James Le Cuirot
2022-01-08 10:27 Michał Górny
2022-01-08 10:27 Michał Górny
2021-10-31  0:19 Sam James
2021-09-27  6:55 Agostino Sarubbo
2021-08-08  9:54 Michał Górny
2021-08-08  9:54 Michał Górny
2021-08-08  9:54 Michał Górny
2021-08-08  9:54 Michał Górny
2021-08-08  9:54 Michał Górny
2021-08-08  9:54 Michał Górny
2021-08-08  9:54 Michał Górny
2021-08-08  9:54 Michał Górny
2021-08-08  9:54 Michał Górny
2021-08-08  9:54 Michał Górny
2021-08-06  1:59 Michał Górny
2021-08-05 23:03 Ionen Wolkens
2021-08-04  9:01 Sergei Trofimovich
2021-07-30  7:49 Sergei Trofimovich
2021-07-28  6:45 Sergei Trofimovich
2021-06-19  9:01 Sergei Trofimovich
2021-06-13  6:28 Agostino Sarubbo
2021-05-12 20:14 Sergei Trofimovich
2021-03-28 19:11 Sergei Trofimovich
2020-12-18 20:48 Sergei Trofimovich
2020-12-02 23:21 Sam James
2020-10-24 18:23 Sergei Trofimovich
2020-09-11  7:52 Sergei Trofimovich
2020-08-13 17:51 Sergei Trofimovich
2020-08-10 14:33 Agostino Sarubbo
2020-07-08 17:09 Sergei Trofimovich
2020-07-05 17:26 Sergei Trofimovich
2020-07-05 17:26 Sergei Trofimovich
2020-06-27 13:09 Sergei Trofimovich
2020-05-15 23:12 Sergei Trofimovich
2020-04-25 20:03 Mikle Kolyada
2020-03-20  0:00 Sergei Trofimovich
2020-01-09 19:45 Sergei Trofimovich
2019-11-10 11:10 Sergei Trofimovich
2019-11-10 11:10 Sergei Trofimovich
2019-10-12 20:56 Sergei Trofimovich
2019-06-16  9:14 Sergei Trofimovich
2019-02-14 22:29 Sergei Trofimovich
2018-11-30 20:27 Sergei Trofimovich
2018-11-25 21:45 Sergei Trofimovich
2018-11-25 21:45 Sergei Trofimovich
2018-09-22 17:04 Sergei Trofimovich
2018-09-19 22:17 Sergei Trofimovich
2018-09-03 19:13 Sergei Trofimovich
2018-09-03 19:13 Sergei Trofimovich
2018-07-28 17:25 Sergei Trofimovich
2018-07-22 12:27 Sergei Trofimovich
2018-07-08  4:57 David Seifert
2018-01-13 23:15 David Seifert
2018-01-13 23:15 David Seifert
2016-12-19 14:14 Tobias Klausmann
2016-06-25  2:32 Devan Franchini
2016-05-09  1:44 Michael Sterrett
2016-04-02 19:42 Devan Franchini
2016-04-02 19:42 Devan Franchini
2016-03-05  6:00 Devan Franchini
2016-03-05  5:52 Devan Franchini
2016-01-13 20:49 Devan Franchini
2016-01-07  4:24 Devan Franchini
2016-01-02  1:45 Devan Franchini
2015-12-13 21:19 Devan Franchini
2015-12-12 21:12 Devan Franchini

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1466821756.7318d367fb3a59f0ba696921b3513fedf28b751f.twitch153@gentoo \
    --to=twitch153@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox