Package Details: dolphin-emu-primehack-git 1.0.4.r951.ge353752b6d-1

Git Clone URL: https://aur.archlinux.org/dolphin-emu-primehack-git.git (read-only, click to copy)
Package Base: dolphin-emu-primehack-git
Description: Dolphin fork intended to give Metroid Prime Trilogy mouselook controls
Upstream URL: https://dolphin-emu.org
Licenses: GPL2
Conflicts: dolphin-emu-git
Provides: dolphin-emu-git
Submitter: Cooldudemcgeexl
Maintainer: Cooldudemcgeexl
Last Packager: Cooldudemcgeexl
Votes: 2
Popularity: 0.003725
First Submitted: 2021-08-10 04:57 (UTC)
Last Updated: 2021-08-22 03:13 (UTC)

Dependencies (29)

Required by (3)

Sources (1)

Latest Comments

nissen22 commented on 2022-05-05 07:31 (UTC)

It is definitely possible to have this installed alongside normal dolphin.

Here is a patch that installs it to /opt instead:

From 2aafe7502074f447279156657c6210ede378fe3a Mon Sep 17 00:00:00 2001
From: nissen22 <anon@anon.com>
Date: Sun, 21 Nov 2021 21:16:03 +0100
Subject: [PATCH] alternative install location

---
 PKGBUILD | 17 +++++++++--------
 1 file changed, 9 insertions(+), 8 deletions(-)

diff --git a/PKGBUILD b/PKGBUILD
index 9909b41..00adc03 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -6,7 +6,7 @@

 _mainpkgname="dolphin-emu"
 pkgname=("$_mainpkgname-primehack-git")
-pkgver=1.0.4.r951.ge353752b6d
+pkgver=1.0.4.r955.g9a7417e48c
 pkgrel=1
 pkgdesc='Dolphin fork intended to give Metroid Prime Trilogy mouselook controls'
 arch=('x86_64')
@@ -17,7 +17,7 @@ depends=(
    'libpulse' 'libx11' 'libxi' 'libxrandr' 'lzo' 'mbedtls' 'pugixml' 'qt5-base'
    'sfml' 'zlib'
    'libavcodec.so' 'libavformat.so' 'libavutil.so' 'libcurl.so'
-   'libminiupnpc.so' 'libswscale.so' 'libudev.so' 'libusb-1.0.so'
+   'libminiupnpc.so' 'libswscale.so' 'libudev.so' 'libusb-1.0.so' 'tllist'
 )
 makedepends=('cmake' 'git' 'python')
 optdepends=('pulseaudio: PulseAudio backend')
@@ -28,6 +28,7 @@ _sourcedirectory="dolphin"

 prepare() {
    cd "$srcdir/$_sourcedirectory/"
+    #git checkout 3a4a0580c67932224ce39826144c436c22fe5573
    git submodule update --init
    if [ -d 'build/' ]; then rm -rf 'build/'; fi
    mkdir 'build/'
@@ -54,12 +55,12 @@ package() {
    conflicts=("$_mainpkgname-git")

    cd "$srcdir/$_sourcedirectory/"
-   make DESTDIR="$pkgdir" -C 'build/' install
-   install -Dm644 'Data/51-usb-device.rules' "$pkgdir/usr/lib/udev/rules.d/51-usb-device.rules"
+   make DESTDIR="$pkgdir/opt" -C 'build/' install
+   #install -Dm644 'Data/51-usb-device.rules' "$pkgdir/usr/lib/udev/rules.d/51-usb-device.rules"

-   rm -rf "$pkgdir/usr/bin/primehack-dolphin"
-   rm -rf "$pkgdir/usr/include"
-   rm -rf "$pkgdir/usr/lib/libdiscord-rpc.a"
-   rm -rf "$pkgdir/usr/share/man/man6/primehack-dolphin.6"
+   rm -rf "$pkgdir/opt/cudausr/bin/primehack-dolphin"
+   rm -rf "$pkgdir/opt/usr/include"
+   rm -rf "$pkgdir/opt/usr/lib/libdiscord-rpc.a"
+   rm -rf "$pkgdir/opt/usr/share/man/man6/primehack-dolphin.6"
 }

-- 
2.36.0

This is probably still not ideal, as we should also patch the .desktop file (dolphin can actually receive flags to use a different directory than ~/.local/share/dolphin-emu, to separate it better from the normal dolphin) and this patch also removes the udev rules included in the normal dolphin package (maybe they should be their own package?).

dmccombs commented on 2022-02-06 16:35 (UTC) (edited on 2022-02-06 16:35 (UTC) by dmccombs)

Building this is currently broken unless you downgrade fmt to 8.0.1. It's fixed in upstream dolphin, and hasn't been pulled into primehack yet, but will be when the next upstream dolphin beta is released.

https://github.com/shiiion/dolphin/issues/93

kaykay91 commented on 2022-01-18 17:10 (UTC)

It currently shows an error when it tries to build mGBA. To make matter worse when you disable "USE MGBA" another one shows up with fml and even if you get around it, the one related to glslang appears.

mrhanman commented on 2021-11-10 08:20 (UTC)

I would also like to know how to run this and dolphin-emu-git concurrently.

nissen22 commented on 2021-10-23 23:30 (UTC)

Is it possible to install this alongside with normal dolphin? I get file conflicts.

Cooldudemcgeexl commented on 2021-08-22 03:01 (UTC)

The Primehack fork of Dolphin just got updated to Beta 5.0-14790, which has the integrated mGBA functionality, thus the new submodule. Thanks for the catch.

FalconProgrammer commented on 2021-08-21 16:17 (UTC)

As an addition to my previous message, this package does not compile due to not pulling git submodules as mentioned on the github. I added this after L30 in the prepare method.

git submodule update --init

FalconProgrammer commented on 2021-08-21 16:04 (UTC) (edited on 2021-08-21 16:05 (UTC) by FalconProgrammer)

I'm getting an error when trying to build this package, any thoughts?

CMake Error at Externals/mGBA/CMakeLists.txt:3 (add_subdirectory):
  The source directory

    /home/user/.cache/paru/clone/dolphin-emu-primehack-git/src/dolphin/Externals/mGBA/mgba

  does not contain a CMakeLists.txt file.


CMake Error at Externals/mGBA/CMakeLists.txt:6 (target_compile_options):
  Cannot specify compile options for target "mgba" which is not built by this
  project.


CMake Error at Externals/mGBA/CMakeLists.txt:13 (add_library):
  add_library cannot create ALIAS target "mGBA::mgba" because target "mgba"
  does not already exist.