From: "Sergei Trofimovich" <slyfox@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: games-emulation/dolphin/
Date: Sun, 22 Jul 2018 12:27:38 +0000 (UTC) [thread overview]
Message-ID: <1532262445.7bb6ef82a48532432ec66af39d50df7cff3237ff.slyfox@gentoo> (raw)
commit: 7bb6ef82a48532432ec66af39d50df7cff3237ff
Author: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
AuthorDate: Sun Jul 22 12:27:16 2018 +0000
Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
CommitDate: Sun Jul 22 12:27:25 2018 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7bb6ef82
games-emulation/dolphin: adopt an orphan, refresh live ebuild
A few minor changes:
- refreshed locale list (as suggested by the ebuild check)
- moved from EAPI=5 to EAPI=6
- dropped removed WxWidgets UI
- added depends on more bundled libraries
Closes: https://bugs.gentoo.org/561914
Closes: https://bugs.gentoo.org/598625
Closes: https://bugs.gentoo.org/632882
Package-Manager: Portage-2.3.43, Repoman-2.3.10
games-emulation/dolphin/dolphin-9999.ebuild | 90 ++++++++++++++++-------------
games-emulation/dolphin/metadata.xml | 5 +-
2 files changed, 54 insertions(+), 41 deletions(-)
diff --git a/games-emulation/dolphin/dolphin-9999.ebuild b/games-emulation/dolphin/dolphin-9999.ebuild
index 78c1cdbac9d..de76dd90ee6 100644
--- a/games-emulation/dolphin/dolphin-9999.ebuild
+++ b/games-emulation/dolphin/dolphin-9999.ebuild
@@ -1,13 +1,12 @@
# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-EAPI=5
+EAPI=6
-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"
+PLOCALES="ar ca cs da de el en es fa fr hr hu it ja ko ms nb nl pl pt pt_BR ro ru sr sv tr zh_CN zh_TW"
PLOCALE_BACKUP="en"
-WX_GTK_VER="3.0"
-inherit cmake-utils desktop gnome2-utils l10n pax-utils toolchain-funcs versionator wxwidgets
+inherit cmake-utils desktop gnome2-utils l10n pax-utils
if [[ ${PV} == *9999 ]]
then
@@ -23,16 +22,19 @@ HOMEPAGE="https://www.dolphin-emu.org/"
LICENSE="GPL-2"
SLOT="0"
-IUSE="alsa ao bluetooth doc egl +evdev ffmpeg libav llvm log lto openal +pch portaudio profile pulseaudio qt5 sdl upnp +wxwidgets"
+IUSE="alsa ao bluetooth discord-presence doc egl +evdev ffmpeg libav llvm log lto openal portaudio profile pulseaudio +qt5 sdl systemd upnp"
RDEPEND="
>=media-libs/libsfml-2.1
>net-libs/enet-1.3.7
>=net-libs/mbedtls-2.1.1:=
- dev-libs/lzo
+ dev-libs/hidapi:0=
+ dev-libs/lzo:2=
+ dev-libs/pugixml:0=
media-libs/libpng:0=
+ net-misc/curl:0=
sys-libs/readline:0=
- sys-libs/zlib:=
+ sys-libs/zlib:0=
x11-libs/libXext
x11-libs/libXi
x11-libs/libXrandr
@@ -64,14 +66,12 @@ RDEPEND="
dev-qt/qtwidgets:5
)
sdl? ( media-libs/libsdl2[haptic,joystick] )
+ systemd? ( sys-apps/systemd:0= )
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}
app-arch/zip
+ dev-util/vulkan-headers
media-libs/freetype
sys-devel/gettext
virtual/pkgconfig"
@@ -102,20 +102,33 @@ src_prepare() {
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.
- # - 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/gtest . || die
- mv Externals/xxhash . || die
+ # Remove all the bundled libraries that support system-installed
+ # preference. See CMakeLists.txt for conditional 'add_subdirectory' calls.
+ local KEEP_SOURCES=(
+ Bochs_disasm
+ cpp-optparse
+ glslang
+ # FIXME: xxhash can't be found by cmake
+ xxhash
+ # soundtouch uses shorts, not floats
+ soundtouch
+ cubeb
+ discord-rpc
+ # Their build set up solely relies on the build in gtest.
+ gtest
+ # gentoo's version requires exception support.
+ # dolphin disables exceptions and fails the build.
+ picojson
+ )
+ local s
+ for s in "${KEEP_SOURCES[@]}"; do
+ mv -v "Externals/${s}" . || die
+ done
+ einfo "removing sources: $(echo Externals/*)"
rm -r Externals/* || die "Failed to delete Externals dir."
- mv Bochs_disasm Externals || die
- mv SOIL Externals || die
- mv gtest Externals || die
- mv xxhash Externals || die
+ for s in "${KEEP_SOURCES[@]}"; do
+ mv -v "${s}" "Externals/" || die
+ done
remove_locale() {
# Ensure preservation of the backup locale when no valid LINGUA is set
@@ -131,23 +144,20 @@ src_prepare() {
}
src_configure() {
- if use wxwidgets; then
- need-wxwidgets unicode
- fi
-
local mycmakeargs=(
-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_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 )
+ -DUSE_DISCORD_PRESENCE=$(usex discord-presence)
+ -DENCODE_FRAMEDUMPS=$(usex ffmpeg)
+ -DFASTLOG=$(usex log)
+ -DOPROFILING=$(usex profile)
+
+ -DENABLE_EVDEV=$(usex evdev)
+ -DENABLE_LTO=$(usex lto)
+ -DENABLE_QT=$(usex qt5)
+ -DENABLE_SDL=$(usex sdl)
+
+ -DUSE_EGL=$(usex egl)
+ -DUSE_UPNP=$(usex upnp)
)
cmake-utils_src_configure
diff --git a/games-emulation/dolphin/metadata.xml b/games-emulation/dolphin/metadata.xml
index 5d2e84088c1..5a7e53ca6e4 100644
--- a/games-emulation/dolphin/metadata.xml
+++ b/games-emulation/dolphin/metadata.xml
@@ -1,7 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
+ <maintainer type="person">
+ <email>slyfox@gentoo.org</email>
+ </maintainer>
<use>
+ <flag name="discord-presence">Enables Discord Rich Presence, show the current game on Discord</flag>
<flag name="egl">Enable EGL support</flag>
<flag name="evdev">Enable evdev input support</flag>
<flag name="llvm">Enable the LLVM-based disassembler for debugger mode</flag>
@@ -12,7 +16,6 @@
Dolphin is a Gamecube and Wii emulator. Most games run perfectly or with minor
bugs. Games are playable at HD quality, with 1080p and more.
</longdescription>
- <!-- maintainer-needed -->
<upstream>
<remote-id type="github">dolphin-emu/dolphin</remote-id>
</upstream>
next reply other threads:[~2018-07-22 12:27 UTC|newest]
Thread overview: 86+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-07-22 12:27 Sergei Trofimovich [this message]
-- strict thread matches above, loose matches on Subject: below --
2025-03-04 19:36 [gentoo-commits] repo/gentoo:master commit in: games-emulation/dolphin/ Arthur Zamarin
2025-01-20 4:11 Sam James
2025-01-18 16:34 Michał Górny
2025-01-06 0:53 Sam James
2024-12-28 9:01 Michał Górny
2024-12-26 9:18 Michał Górny
2024-08-17 19:24 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-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-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=1532262445.7bb6ef82a48532432ec66af39d50df7cff3237ff.slyfox@gentoo \
--to=slyfox@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