Package Details: dolphin-emu-git 2409.r299.gd1ef4d5cc1-1

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.54
First Submitted: 2011-08-20 13:05 (UTC)
Last Updated: 2024-11-10 13:18 (UTC)

Dependencies (53)

Required by (3)

Sources (9)

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

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 8 .. 56 Next › Last »

rubin55 commented on 2024-07-26 01:17 (UTC)

Great, your check() function is broken too:

Expected version string: Dolphin.*2407-103   ($_checkversion)
Received version string: Dolphin 2407-103-dirty ($_checkoutput)

This _checkversion works:

_checkversion="${_projectname^} $(git describe --long --tags | sed -E 's/^([0-9.]+-[0-9]+)-g.+$/\1/')-dirty"

I added this in my patch below.

rubin55 commented on 2024-07-26 01:05 (UTC) (edited on 2024-07-26 01:20 (UTC) by rubin55)

It has to do with the fact that CmakeLists.txt looks for minizip pkgconfig, not for minizip-ng. I've patched the PKGBUILD as follows (I also fixed your check block, see comment above):

diff --git a/PKGBUILD b/PKGBUILD
index 284b720..cacb722 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -9,8 +9,8 @@ _noguipkgname="$_projectname-emu-nogui"
 _toolpkgname="$_projectname-emu-tool"
 pkgbase="$_mainpkgname-git"
 pkgname=("$pkgbase" "$_noguipkgname-git" "$_toolpkgname-git")
-pkgver='5.0.r21785.gf49659fbfc'
-pkgrel='1'
+pkgver=2407.r103.g87b7009c12
+pkgrel=1
 pkgdesc='A Gamecube / Wii emulator'
 _pkgdescappend=' - git version'
 arch=('x86_64' 'aarch64')
@@ -36,6 +36,7 @@ source=(
        "$pkgbase-tinygltf::git+https://github.com/syoyo/tinygltf.git"
        "$pkgbase-vh::git+https://github.com/KhronosGroup/Vulkan-Headers.git"
        "$pkgbase-vma::git+https://github.com/GPUOpen-LibrariesAndSDKs/VulkanMemoryAllocator.git"
+       use-minizip-ng.patch
 )
 b2sums=('SKIP'
         'SKIP'
@@ -43,6 +44,7 @@ b2sums=('SKIP'
         'SKIP'
         'SKIP'
         'SKIP'
+        'SKIP'
         'SKIP')

 _sourcedirectory="$pkgbase"
@@ -76,8 +78,12 @@ pkgver() {
 }

 build() {
+       cp use-minizip-ng.patch "$srcdir/$_sourcedirectory/"
        cd "$srcdir/$_sourcedirectory/"

+       # Patch CmakeLists.txt to reference minizip-ng.
+       cat use-minizip-ng.patch | patch -p0
+
        # Consider symbols in dependencies of directly specified dynamic libraries as available to fix the build
        export LDFLAGS="-Wl,--copy-dt-needed-entries"

@@ -98,7 +104,7 @@ build() {
 check() {
        # Get git version to compare
        cd "$srcdir/$_sourcedirectory/"
-       _checkversion="${_projectname^}.*$(git describe --long --tags | sed -E 's/^([0-9.]+-[0-9]+)-g.+$/\1/')"
+       _checkversion="${_projectname^} $(git describe --long --tags | sed -E 's/^([0-9.]+-[0-9]+)-g.+$/\1/')-dirty"

        # Run tests
        cd "$srcdir/$_sourcedirectory/build/"
@@ -106,7 +112,8 @@ check() {

        # Verify that the basic functionality works
        _checkoutput="$(QT_QPA_PLATFORM='offscreen' "$srcdir/$_sourcedirectory/build/Binaries/$_noguipkgname" --version)"
-       printf '%s\n' "$_checkoutput"
+       printf 'Expected version string: %s\n' "$_checkversion"
+       printf 'Received version string: %s\n' "$_checkoutput"
        printf '%s\n' "$_checkoutput" | grep -q "^$_checkversion$"
 }

rubin55 commented on 2024-07-26 00:29 (UTC)

@Jano161, @dpeukert, the package lists minizip-ng as a dependency, the version of minizip-ng is 4.0.7, cmake tests for version of at least 4.0.4. Thanks for the tip, but I don't want to install minizip-git if I don't absolutely have to, and if I do, the dependency needs to change.

Jano161 commented on 2024-07-25 20:16 (UTC)

@rubin55 had the same problem. After installing the "minizip-git" package it worked for me.

rubin55 commented on 2024-07-25 07:38 (UTC)

I'm getting this after attempting build this morning:

-- Checking for one of the modules 'minizip>=4.0.4'
CMake Error at CMake/DolphinLibraryTools.cmake:84 (message):
  No system MINIZIP was found.  Please install it or set USE_SYSTEM_MINIZIP
  to AUTO or OFF.
Call Stack (most recent call first):
  CMakeLists.txt:679 (dolphin_find_optional_system_library_pkgconfig)

seanfire99 commented on 2024-07-23 16:51 (UTC)

@dpeukert not yet as i just reinstalled EndeavoureOS but will try to do so when i can.

xiota commented on 2024-07-23 14:20 (UTC) (edited on 2024-07-23 14:21 (UTC) by xiota)

@seanfire99 Other git packages with submodules, besides dolphin-emu-*, download and build fine?

Have you tried building in a clean chroot?

seanfire99 commented on 2024-07-23 14:13 (UTC)

@dpeukert yeah but how do i fix it i am not having any problems with any other packages except for dolphin-emu-primehack-git it's just these two so as far as i know it's nothing on my network causing this i have even tried manually installing with gitclone/makepkg -si so like idk how to fix this.

dpeukert commented on 2024-07-18 16:13 (UTC)

@seanfire99: Seems like a network issue to me.

seanfire99 commented on 2024-07-18 16:12 (UTC)

i get this error how do i fix this

yay -S dolphin-emu-git AUR Explicit (1): dolphin-emu-git-5.0.r21785.gf49659fbfc-1 Sync Dependency (1): libspng-0.7.4-2 :: PKGBUILD up to date, skipping download: dolphin-emu-git 1 dolphin-emu-git (Build Files Exist) ==> Packages to cleanBuild? ==> [N]one [A]ll [Ab]ort [I]nstalled [No]tInstalled or (1 2 3, 1-3, ^4) ==> a :: Deleting (1/1): /home/seanfire99/.cache/yay/dolphin-emu-git HEAD is now at ac8ee25 Update dolphin-emu-git dependencies (closes #597) Removing src/ 1 dolphin-emu-git (Build Files Exist) ==> Diffs to show? ==> [N]one [A]ll [Ab]ort [I]nstalled [No]tInstalled or (1 2 3, 1-3, ^4) ==> ==> Making package: dolphin-emu-git 5.0.r21785.gf49659fbfc-1 (Thu 18 Jul 2024 09:00:12 AM PDT) ==> Retrieving sources... -> Cloning dolphin-emu-git git repo... Cloning into bare repository '/home/seanfire99/.cache/yay/dolphin-emu-git/dolphin-emu-git'... remote: Enumerating objects: 663953, done. remote: Counting objects: 100% (2225/2225), done. remote: Compressing objects: 100% (1047/1047), done. error: RPC failed; curl 92 HTTP/2 stream 5 was not closed cleanly: CANCEL (err 8) error: 55378 bytes of body are still expected fetch-pack: unexpected disconnect while reading sideband packet fatal: early EOF fatal: fetch-pack: invalid index-pack output ==> ERROR: Failure while downloading dolphin-emu-git git repo Aborting... -> error downloading sources: /home/seanfire99/.cache/yay/dolphin-emu-git context: exit status 1

:: (1/1) Parsing SRCINFO: dolphin-emu-git