diff options
author | Devan Franchini <twitch153@gentoo.org> | 2015-12-12 16:09:46 -0500 |
---|---|---|
committer | Devan Franchini <twitch153@gentoo.org> | 2015-12-12 16:12:17 -0500 |
commit | 362e44de9e120889948e31e2cc1fdbed728ec29f (patch) | |
tree | d18aaecb3697d0f4ed9b3b50ad9f03df4708a916 /games-emulation | |
parent | net-misc/wget: version bump to 1.17.1 (diff) | |
download | gentoo-362e44de9e120889948e31e2cc1fdbed728ec29f.tar.gz gentoo-362e44de9e120889948e31e2cc1fdbed728ec29f.tar.bz2 gentoo-362e44de9e120889948e31e2cc1fdbed728ec29f.zip |
games-emulation/dolphin: Adds updates to 9999 ebuild, bug #561914
Removes a lot of outdated dependencies and adds a few newer ones.
Also adds various new USE flags.
Package-Manager: portage-2.2.24
Diffstat (limited to 'games-emulation')
-rw-r--r-- | games-emulation/dolphin/dolphin-9999.ebuild | 71 | ||||
-rw-r--r-- | games-emulation/dolphin/metadata.xml | 4 |
2 files changed, 60 insertions, 15 deletions
diff --git a/games-emulation/dolphin/dolphin-9999.ebuild b/games-emulation/dolphin/dolphin-9999.ebuild index bd8bcdf06a11..5b8f79877faa 100644 --- a/games-emulation/dolphin/dolphin-9999.ebuild +++ b/games-emulation/dolphin/dolphin-9999.ebuild @@ -14,7 +14,7 @@ then inherit git-r3 KEYWORDS="" else - SRC_URI="https://${PN}-emu.googlecode.com/files/${P}-src.zip" + SRC_URI="https://github.com/${PN}-emu/${PN}/archive/${PV}.zip -> ${P}.zip" KEYWORDS="~amd64" fi @@ -23,35 +23,61 @@ 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" RDEPEND=">=media-libs/glew-1.10 >=media-libs/libsfml-2.1 - >=net-libs/miniupnpc-1.8 + >net-libs/enet-1.3.7 + >=net-libs/mbedtls-2.1.1 + 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 ) - ffmpeg? ( virtual/ffmpeg - !!>=media-video/libav-10 ) - lzo? ( dev-libs/lzo ) - openal? ( media-libs/openal ) - opengl? ( virtual/opengl ) + egl? ( media-libs/mesa[egl] ) + evdev? ( + dev-libs/libevdev + virtual/udev + ) + ffmpeg? ( + virtual/ffmpeg + !!>=media-video/libav-10 + ) + 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() { @@ -80,6 +106,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 @@ -111,6 +140,10 @@ src_prepare() { src_configure() { + if use wxwidgets; then + need-wxwidgets unicode + fi + local mycmakeargs=( "-DDOLPHIN_WC_REVISION=${PV}" "-DCMAKE_INSTALL_PREFIX=${GAMES_PREFIX}" @@ -119,8 +152,16 @@ src_configure() { "-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 QT ) + $( cmake-utils_use_enable sdl SDL ) + $( cmake-utils_use_use egl EGL ) + $( cmake-utils_use_use upnp UPNP ) ) cmake-utils_src_configure diff --git a/games-emulation/dolphin/metadata.xml b/games-emulation/dolphin/metadata.xml index 17c3f1ff970d..2e94d663a924 100644 --- a/games-emulation/dolphin/metadata.xml +++ b/games-emulation/dolphin/metadata.xml @@ -2,6 +2,10 @@ <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> <use> + <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> + <flag name="log">Increase logging output</flag> <flag name="lto">Add support for link-time optimizations.</flag> </use> <longdescription lang="en"> |