Dolphin now compiles and finally runs again for me. Only downside is the libspng
requirement needs importing an expired gpg key but that's not really the responsibility of this package (or its maintainer).
Search Criteria
Package Details: dolphin-emu-git 2412.r107.g7133bfbb0e-1
Package Actions
Git Clone URL: | https://aur.archlinux.org/dolphin-emu-git.git (read-only, click to copy) |
---|---|
Package Base: | dolphin-emu-git |
Description: | A Gamecube / Wii emulator - git version |
Upstream URL: | https://dolphin-emu.org |
Keywords: | dolphin emu emulator game gamecube gui nintendo remote revolution triforce wii wiimote |
Licenses: | GPL-2.0-or-later |
Conflicts: | dolphin-emu |
Provides: | dolphin-emu |
Submitter: | None |
Maintainer: | dpeukert |
Last Packager: | dpeukert |
Votes: | 123 |
Popularity: | 0.38 |
First Submitted: | 2011-08-20 13:05 (UTC) |
Last Updated: | 2025-01-08 07:53 (UTC) |
Dependencies (52)
- alsa-lib
- bluez-libs (bluez-gitAUR)
- bzip2 (bzip2-gitAUR)
- cubebAUR (cubebAUR, cubeb-gitAUR)
- enet (enet-gtkorvo-gitAUR, enet-gitAUR)
- gcc-libs (gcc-libs-gitAUR, gccrs-libs-gitAUR, gcc11-libsAUR, gcc-libs-snapshotAUR)
- glibc (glibc-gitAUR, glibc-linux4AUR, glibc-eacAUR, glibc-eac-binAUR, glibc-eac-rocoAUR)
- hicolor-icon-theme (hicolor-icon-theme-gitAUR)
- hidapi (hidapi-gitAUR)
- libavcodec.so (ffmpeg-nvcodec-11-1-gitAUR, ffmpeg3.4AUR, ffmpeg-compat-55AUR, ffmpeg-compat-54AUR, ffmpeg2.8AUR, ffmpeg-cudaAUR, ffmpeg-decklinkAUR, ffmpeg-amd-fullAUR, ffmpeg-ffplayoutAUR, ffmpeg-gitAUR, lib32-ffmpegAUR, ffmpeg-headlessAUR, ffmpeg-amd-full-gitAUR, ffmpeg-obsAUR, ffmpeg-libfdk_aacAUR, ffmpeg-fullAUR, ffmpeg-full-gitAUR, ffmpeg, ffmpeg4.4)
- libavformat.so (ffmpeg-nvcodec-11-1-gitAUR, ffmpeg3.4AUR, ffmpeg-compat-55AUR, ffmpeg-compat-54AUR, ffmpeg2.8AUR, ffmpeg-cudaAUR, ffmpeg-decklinkAUR, ffmpeg-amd-fullAUR, ffmpeg-ffplayoutAUR, ffmpeg-gitAUR, lib32-ffmpegAUR, ffmpeg-headlessAUR, ffmpeg-amd-full-gitAUR, ffmpeg-obsAUR, ffmpeg-libfdk_aacAUR, ffmpeg-fullAUR, ffmpeg-full-gitAUR, ffmpeg, ffmpeg4.4)
- libavutil.so (libavutil-52AUR, ffmpeg-nvcodec-11-1-gitAUR, ffmpeg3.4AUR, ffmpeg2.8AUR, ffmpeg-cudaAUR, ffmpeg-decklinkAUR, ffmpeg-amd-fullAUR, ffmpeg-ffplayoutAUR, ffmpeg-gitAUR, lib32-ffmpegAUR, ffmpeg-headlessAUR, ffmpeg-amd-full-gitAUR, ffmpeg-obsAUR, ffmpeg-libfdk_aacAUR, ffmpeg-fullAUR, ffmpeg-full-gitAUR, ffmpeg, ffmpeg4.4)
- libcurl.so (curl-http3-ngtcp2AUR, curl-gitAUR, curl-c-aresAUR, curl, lib32-curl)
- libevdev (libevdev-gitAUR)
- libgl (libglvnd-gitAUR, amdgpu-pro-oglp-legacyAUR, amdgpu-pro-oglpAUR, nvidia-340xx-utilsAUR, libglvnd)
- libminiupnpc.so (miniupnpc)
- libpulse (pulseaudio-dummyAUR, libpulse-gitAUR)
- libsfml-network.so (sfml-gitAUR, sfml)
- libsfml-system.so (sfml-gitAUR, sfml)
- libspng.so (libspng-gitAUR, libspng)
- libswscale.so (ffmpeg-nvcodec-11-1-gitAUR, ffmpeg3.4AUR, ffmpeg2.8AUR, ffmpeg-cudaAUR, ffmpeg-decklinkAUR, ffmpeg-amd-fullAUR, ffmpeg-ffplayoutAUR, ffmpeg-gitAUR, lib32-ffmpegAUR, ffmpeg-headlessAUR, ffmpeg-amd-full-gitAUR, ffmpeg-obsAUR, ffmpeg-libfdk_aacAUR, ffmpeg-fullAUR, ffmpeg-full-gitAUR, ffmpeg, ffmpeg4.4)
- libudev.so (systemd-chromiumos-libsAUR, libeudevAUR, systemd-libs-gitAUR, systemd-libs-fmlAUR, lib32-systemd-gitAUR, systemd-libs-selinuxAUR, lib32-systemd, systemd-libs)
- libusb-1.0.so (libusb-gitAUR, lib32-libusb, libusb)
- libx11 (libx11-gitAUR)
- libxi (libxi-gitAUR)
- libxrandr (libxrandr-gitAUR)
- lz4 (lz4-gitAUR)
- lzo
- mbedtls2
- minizip-ng (minizip-gitAUR)
- pugixml (pugixml-gitAUR)
- qt6-base (qt6-base-gitAUR, qt6-base-headlessAUR)
- qt6-svg
- sdl2 (sdl2-compat-gitAUR, sdl2-gitAUR)
- sfml (sfml-gitAUR)
- speexdsp (speexdsp-gitAUR)
- xxhash (xxhash-gitAUR)
- xz (xz-gitAUR)
- zstd (zstd-gitAUR, zstd-staticAUR)
- alsa-lib (make)
- cmake (cmake-gitAUR) (make)
- git (git-gitAUR, git-glAUR) (make)
- libevdev (libevdev-gitAUR) (make)
- libminiupnpc.so (miniupnpc) (make)
- libpulse (pulseaudio-dummyAUR, libpulse-gitAUR) (make)
- libudev.so (systemd-chromiumos-libsAUR, libeudevAUR, systemd-libs-gitAUR, systemd-libs-fmlAUR, lib32-systemd-gitAUR, systemd-libs-selinuxAUR, lib32-systemd, systemd-libs) (make)
- ninja (ninja-kitwareAUR, ninja-memAUR, ninja-fuchsia-gitAUR, ninja-gitAUR, ninja-jobserverAUR) (make)
- python (python37AUR, python311AUR, python310AUR) (make)
- qt6-base (qt6-base-gitAUR, qt6-base-headlessAUR) (make)
- qt6-svg (make)
- gtest (googletest-gitAUR) (check)
- pulseaudio (pulseaudio-dummyAUR, pulseaudio-gitAUR) (optional) – PulseAudio backend
Required by (3)
- chimera (requires dolphin-emu)
- dolphin-emu-nogui-git (requires dolphin-emu)
- emulationstation (requires dolphin-emu) (optional)
Sources (10)
Latest Comments
« First ‹ Previous 1 .. 10 11 12 13 14 15 16 17 18 19 20 .. 57 Next › Last »
Yamashiro commented on 2023-07-06 04:38 (UTC)
scatherinch commented on 2023-07-05 18:31 (UTC) (edited on 2023-07-05 18:32 (UTC) by scatherinch)
patching file CMakeLists.txt
Hunk #1 FAILED at 780.
1 out of 1 hunk FAILED -- saving rejects to file CMakeLists.txt.rej
==> ERROR: A failure occurred in prepare().
Aborting...
-> error making: dolphin-emu-git-exit status 4
-> Failed to install the following packages. Manual intervention is required:
dolphin-emu-git - exit status 4
likewise. I would like this as well and the stable version has been broken for some few weeks now. does anyone know how I could do this build?
Yamashiro commented on 2023-07-01 06:51 (UTC)
Riedler commented on 2023-06-30 21:15 (UTC) (edited on 2023-06-30 21:16 (UTC) by Riedler)
build failure:
==> Starting prepare()...
patching file CMakeLists.txt
Hunk #1 FAILED at 780.
1 out of 1 hunk FAILED -- saving rejects to file CMakeLists.txt.rej
==> ERROR: A failure occurred in prepare().
Aborting...
error: failed to build 'dolphin-emu-git-5.0.r19742.g7a2352f90c-1'
Score_Under commented on 2023-06-26 07:45 (UTC)
also depends on qt6-svg
:
CMake Error at Source/Core/DolphinQt/CMakeLists.txt:16 (find_package):
Found package configuration file:
/usr/lib/cmake/Qt6/Qt6Config.cmake
but it set Qt6_FOUND to FALSE so package "Qt6" is considered to be NOT
FOUND. Reason given by package:
Failed to find required Qt component "Svg".
Expected Config file at "/usr/lib/cmake/Qt6Svg/Qt6SvgConfig.cmake" does NOT
exist
Configuring with --debug-find-pkg=Qt6Svg might reveal details why the
package was not found.
Configuring with -DQT_DEBUG_FIND_PACKAGE=ON will print the values of some
of the path variables that find_package uses to try and find the package.
dpeukert commented on 2023-05-30 12:49 (UTC)
I've removed the mbedtls patch, as it's been merged upstream.
Compile3440 commented on 2023-05-30 01:03 (UTC)
The NEW patch is causing me issues. The previous one was fine, so long as you just got the git version of libmgba. I have to comment out the new line for it to work.
lgaggini commented on 2023-05-27 17:04 (UTC) (edited on 2023-05-27 17:05 (UTC) by lgaggini)
The build is currently broken because of this:
https://github.com/dolphin-emu/dolphin/pull/11847
So the patch of the pull request is required and also the package mbedtls2 is required (if not installed), mbedtls package installs mbedtls version 3.
kylon commented on 2023-05-11 15:47 (UTC) (edited on 2023-05-11 15:49 (UTC) by kylon)
@dpeukert
updated PKGBUILD to build latest dolphin
cleaned up prepare to be readable
fix build with USE_MGBA=ON, always build a static libmgba from dolphin submodule (also fix conflict with libmgba-git and latest mgba-git package)
disable autoupdate, since this is arch package, it is useless
--- PKGBUILD 2023-04-07 12:36:03.000000000 +0200
+++ dolphin-emu-git/PKGBUILD 2023-05-11 17:36:25.024538054 +0200
@@ -6,15 +6,15 @@
_noguipkgname="$_projectname-emu-nogui"
pkgbase="$_mainpkgname-git"
pkgname=("$pkgbase" "$_noguipkgname-git")
-pkgver='5.0.r19176.gaaedc2827d'
-pkgrel='1'
+pkgver=5.0.r19365.g33c4e84f35
+pkgrel=1
pkgdesc='A Gamecube / Wii emulator'
_pkgdescappend=' - git version'
arch=('x86_64' 'aarch64')
url="https://$_mainpkgname.org"
license=('GPL2')
depends=(
- 'alsa-lib' 'bluez-libs' 'cubeb' 'enet' 'hidapi' 'libevdev' 'libgl' 'libmgba'
+ 'alsa-lib' 'bluez-libs' 'cubeb' 'enet' 'hidapi' 'libevdev' 'libgl'
'libpulse' 'libspng' 'libx11' 'libxi' 'libxrandr' 'lzo' 'mbedtls' 'minizip-ng'
'pugixml' 'qt6-base' 'sfml' 'zlib'
'libavcodec.so' 'libavformat.so' 'libavutil.so' 'libcurl.so' 'libfmt.so'
@@ -27,17 +27,26 @@
"$pkgname-implot::git+https://github.com/epezent/implot.git"
"$pkgname-vma::git+https://github.com/GPUOpen-LibrariesAndSDKs/VulkanMemoryAllocator.git"
"$pkgname-zlibng::git+https://github.com/zlib-ng/zlib-ng.git"
+ "$pkgname-mgba::git+https://github.com/mgba-emu/mgba.git"
'minizip-ng.diff'
)
sha512sums=('SKIP'
'SKIP'
'SKIP'
'SKIP'
+ 'SKIP'
'b469597fe9b4e9be6ae9ab0330fe5e3d6b944a73505775ff75f9895ae4843768f3815d4b5b8e227d6d2e87c3f4882d6d7262f9df85be0aaddf46730a7afa16dd')
_sourcedirectory="$pkgname"
prepare() {
+ declare -A submodules=(
+ [implot]="Externals/implot/implot"
+ [vma]="Externals/VulkanMemoryAllocator"
+ [zlibng]="Externals/zlib-ng/zlib-ng"
+ [mgba]="Externals/mGBA/mgba"
+ )
+
cd "$srcdir/$_sourcedirectory/"
if [ -d 'build/' ]; then rm -rf 'build/'; fi
mkdir 'build/'
@@ -45,23 +54,13 @@
# Fix minizip-ng name for Arch
patch --forward -p1 < "$srcdir/minizip-ng.diff"
- # Provide implot submodule
- _implotpath='Externals/implot/implot'
- git submodule init "$_implotpath"
- git config "submodule.$_implotpath.url" "$srcdir/$pkgname-implot/"
- git -c protocol.file.allow=always submodule update "$_implotpath"
-
- # Provide vma submodule
- _vmapath='Externals/VulkanMemoryAllocator'
- git submodule init "$_vmapath"
- git config "submodule.$_vmapath.url" "$srcdir/$pkgname-vma/"
- git -c protocol.file.allow=always submodule update "$_vmapath"
-
- # Provide zlib-ng submodule
- _zlibngpath='Externals/zlib-ng/zlib-ng'
- git submodule init "$_zlibngpath"
- git config "submodule.$_zlibngpath.url" "$srcdir/$pkgname-zlibng/"
- git -c protocol.file.allow=always submodule update "$_zlibngpath"
+ for submod in "${!submodules[@]}"; do
+ path="${submodules[$submod]}"
+
+ git submodule init "$path"
+ git config "submodule.$path.url" "$srcdir/$pkgname-$submod/"
+ git -c protocol.file.allow=always submodule update "$path"
+ done
}
pkgver() {
@@ -72,12 +71,14 @@
build() {
cd "$srcdir/$_sourcedirectory/"
cmake -S '.' -B 'build/' -G Ninja \
- -DCMAKE_BUILD_TYPE=None \
+ -DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX='/usr' \
-DDISTRIBUTOR=archlinux.org \
-DENABLE_TESTS=OFF \
-DUSE_SHARED_ENET=ON \
-DUSE_RETRO_ACHIEVEMENTS=OFF \
+ -DENABLE_AUTOUPDATE=OFF \
+ -DCMAKE_DISABLE_FIND_PACKAGE_LIBMGBA=True \
-Wno-dev
cmake --build 'build/'
}
creepergd commented on 2023-04-27 17:50 (UTC)
Something with this package is that if you want the absolute latest version of dolphin and you don't really like waiting multiple weeks per update, you can replace the package version in the PKGBUILD and build the latest one, it's pretty nice.
Pinned Comments
dpeukert commented on 2020-04-10 12:34 (UTC) (edited on 2020-09-26 17:48 (UTC) by dpeukert)
The PKGBUILD for this package is hosted here (contributions are welcome!): https://gitlab.com/dpeukert/pkgbuilds/tree/main/dolphin-emu-git