Package Details: dolphin-emu-beta-git 5.0.r19870.g032c77b462-1

Git Clone URL: https://aur.archlinux.org/dolphin-emu-beta-git.git (read-only, click to copy)
Package Base: dolphin-emu-beta-git
Description: A Gamecube / Wii emulator - monthly beta release
Upstream URL: http://www.dolphin-emu.org/
Licenses: GPL2
Conflicts: dolphin-emu
Provides: dolphin-emu
Submitter: ThaChillera
Maintainer: ThaChillera
Last Packager: ThaChillera
Votes: 6
Popularity: 0.51
First Submitted: 2020-02-26 12:39 (UTC)
Last Updated: 2023-08-13 09:18 (UTC)

Dependencies (36)

Required by (3)

Sources (2)

Latest Comments

1 2 Next › Last »

patataofcourse commented on 2023-08-23 15:06 (UTC)

It's probably a good idea to add the CMake flag -DUSE_SYSTEM_LIBMGBA=OFF now that mgba isn't listed as a dependency - currently it just fails to compile if libmgba is installed instead of libmgba-git

GnomedDev commented on 2023-07-30 10:55 (UTC)

Seems to be depending on an outdated version of the libfmt library, breaking any package updates.

HalpYa commented on 2023-07-02 00:35 (UTC)

Whenever I try instlaling this package, it builds a Dirty version of Dolphin Dolphin [makepkg] 5.0-19368-dirty

Does this happen to anyone else meaning there is something in the pkgbuild that causes this? Or is this something that's only caused on my system

ShalokShalom commented on 2023-06-13 21:28 (UTC) (edited on 2023-06-13 21:31 (UTC) by ShalokShalom)

Do you need libmgba-git?

That is the library for a Gameboy emulator, and I cant install this version of Dolphin and mGBA together, since you are using the git version of libmgba.

That library is not used in the Dolphin of the Extra repo :)

Are you sure, you need that? https://aur.archlinux.org/packages/libmgba-git

ThaChillera commented on 2023-06-03 06:06 (UTC)

Thanks for figuring out a patch Rockoman100, Applied it.

Rockoman100 commented on 2023-06-02 02:52 (UTC) (edited on 2023-06-02 03:39 (UTC) by Rockoman100)

There are several problems preventing this from compiling out of the box, but I've cobbled together a comprehensive solution:

First, here is the patch for the PKGBUILD that will fix all of these problems. Keep reading below for more explanation.


diff --git a/PKGBUILD b/PKGBUILD
index 2807def..a2b556e 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -19,20 +19,21 @@ arch=('x86_64')
 url='http://www.dolphin-emu.org/'
 license=('GPL2')
 depends=(
-  'alsa-lib' 'bluez-libs' 'cubeb' 'enet' 'hidapi' 'libevdev' 'libgl' 'libmgba'
-  'libpulse' 'libspng' 'libx11' 'libxi' 'libxrandr' 'lzo' 'mbedtls' 'minizip-ng'
+  'alsa-lib' 'bluez-libs' 'cubeb' 'enet' 'hidapi' 'libevdev' 'libgl' 'libmgba-git'
+  'libpulse' 'libspng' 'libx11' 'libxi' 'libxrandr' 'lzo' 'mbedtls' 'mbedtls2' 'minizip-ng'
   'pugixml' 'qt6-base' 'sfml' 'zlib'
   'libavcodec.so' 'libavformat.so' 'libavutil.so' 'libcurl.so' 'libfmt.so'
   'libminiupnpc.so' 'libswscale.so' 'libudev.so' 'libusb-1.0.so'
 )
 makedepends=('cmake' 'git' 'ninja' 'python')
 optdepends=('pulseaudio: PulseAudio backend')
-source=("$_projectname::git+https://github.com/dolphin-emu/dolphin.git#commit=dadbeb4bae7e7fa23af2b46e0add4143094dc107")
+source=("$_projectname::git+https://github.com/dolphin-emu/dolphin.git#commit=dadbeb4bae7e7fa23af2b46e0add4143094dc107" "https://github.com/dolphin-emu/dolphin/commit/4d61ec1f4f5ae87f49ec85f30a3167d56c9706a4.patch")
 sha256sums=('SKIP')

 prepare() {
   # init submodules
   cd $_projectname
+  patch --forward --strip=1 --input="../4d61ec1f4f5ae87f49ec85f30a3167d56c9706a4.patch"
   git submodule update --init --recursive

   if [[ -d build ]]; then
@@ -80,3 +81,6 @@ package_dolphin-emu-beta-nogui-git() {
   install -dm 755 "${pkgdir}"/usr/bin
   install -m 755 build/Binaries/dolphin-emu-nogui "${pkgdir}"/usr/bin/dolphin-emu-cli
 }
+
+sha256sums=('SKIP'
+            'eacce3ae34270f8d1b4a9cac9f37fd19506613653d663f07b57695680c3b7828')

As user 'renas' said (here: https://aur.archlinux.org/packages/dolphin-emu-beta-git#comment-916707), you need to have both mbedtls and mbedtls2 installed on your system. The above PKGBUILD adds this dependency.

In addition, as user lgaggini said (here: https://aur.archlinux.org/packages/dolphin-emu-git#comment-916759), you need to include this patch in your PKGBUILD file that redirects mbedtls references to mbedtls2:

https://github.com/dolphin-emu/dolphin/commit/4d61ec1f4f5ae87f49ec85f30a3167d56c9706a4.patch

The above PKGBUILD includes this patch

This will solve the mbedtls problem. However, there is one more error you will encounter. As user Compile3440 suggests (here: https://aur.archlinux.org/packages/dolphin-emu-git#comment-917052), you need to have the libmgba-git version of libmgba installed, not the official binary. The above PKGBUILD includes this dependency, but you will have to install it yourself from the AUR: https://aur.archlinux.org/mgba-git.git

Now you should be able to build dolphin-emu-beta-git

renas commented on 2023-05-27 06:44 (UTC) (edited on 2023-05-28 00:12 (UTC) by renas)

package breaks with "mbedtls" errors.

see https://aur.archlinux.org/packages/dolphin-emu-git#comment-916759: mbedtls2 is now required (additively: package now requires both mbedtls AND mbedtls2)

edit: only include relevant section edit1: solution found

Littletiger commented on 2023-05-23 13:42 (UTC)

It looks like they have changed the QT dependency to 6, please can qt5-base be updated to qt6-base in depends

Ultracoolguy commented on 2021-08-01 02:02 (UTC)

I did this small patch for fixing building after 14790. Use at your own risk

diff --git a/PKGBUILD b/PKGBUILD
index faf4fb1..95aea84 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -5,7 +5,7 @@
 # latest version obtained from this API endpoint: https://dolphin-emu.org/update/latest/beta/
 pkgbase=dolphin-emu-beta-git
 pkgname=('dolphin-emu-beta-git' 'dolphin-emu-beta-nogui-git')
-pkgver=5.0.r14095.f60d29f2b7
+pkgver=5.0.r14790.3cc274880f
 pkgrel=1
 pkgdesc='A GameCube / Wii / Triforce emulator - monhtly beta release'
 arch=('x86_64')
@@ -21,8 +21,12 @@ depends=(
 makedepends=('cmake' 'git' 'libglvnd' 'python')
 optdepends=('pulseaudio: PulseAudio backend')
 options=('!emptydirs')
-source=('dolphin-emu::git+https://github.com/dolphin-emu/dolphin.git#commit=f60d29f2b79f6e8cca6c00c9b6e8cbfbb0fde6ef')
-sha256sums=('SKIP')
+source=('https://github.com/dolphin-emu/dolphin.git'
+        'https://github.com/dolphin-emu/ext-win-qt.git'
+        'https://github.com/mgba-emu/mgba.git')
+sha256sums=('SKIP'
+            'SKIP'
+            'SKIP')

 pkgver() {
   cd dolphin-emu
@@ -31,6 +35,9 @@ pkgver() {
 }

 prepare() {
+  cd dolphin-emu
+  git submodule init
+  git submodule update
   if [[ -d build ]]; then
     rm -rf build
   fi

bugsarebeautiful commented on 2020-10-05 15:56 (UTC)

This package is flagged out of date, but when you download the snapshot there is an update.py, which you can execute to update the PGKBUILD to build the current beta release. The update.py fetches the current release from https://dolphin-emu.org/update/latest/beta/