Package Base Details: dolphin-emu-git

Git Clone URL: https://aur.archlinux.org/dolphin-emu-git.git (read-only, click to copy)
Keywords: dolphin emu emulator game gamecube gui nintendo remote revolution triforce wii wiimote
Submitter: None
Maintainer: dpeukert
Last Packager: dpeukert
Votes: 121
Popularity: 0.82
First Submitted: 2011-08-20 13:05 (UTC)
Last Updated: 2024-05-28 23:55 (UTC)

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 .. 9 10 11 12 13 14 15 16 17 18 19 .. 53 Next › Last »

dpeukert commented on 2022-11-04 18:36 (UTC)

@Penglyn: This is a VCS package, the most up-to-date version is used whenever you build the PKGBUILD.

mferraci commented on 2022-10-26 17:32 (UTC) (edited on 2022-10-26 17:58 (UTC) by mferraci)

Git has done a security update on submodules. It breaks many AUR packages.

A fix :


  diff --git a/PKGBUILD b/PKGBUILD
 index c5b7161..dda9ca7 100644
 --- a/PKGBUILD
 +++ b/PKGBUILD
 @@ -6,8 +6,8 @@ _mainpkgname="$_projectname-emu"
 _noguipkgname="$_projectname-emu-nogui"
 pkgbase="$_mainpkgname-git"
 pkgname=("$pkgbase" "$_noguipkgname-git")
 -pkgver='5.0.r17354.g1efb5b8800'
 -pkgrel='1'
 +pkgver=5.0.r17732.gd367b3ec3b
 +pkgrel=1
  pkgdesc='A Gamecube / Wii emulator'
  _pkgdescappend=' - git version'
  arch=('x86_64' 'aarch64')
 @@ -27,11 +27,13 @@ source=(
    "$pkgname-spirvcross::git+https://github.com/KhronosGroup/SPIRV-Cross.git"
    "$pkgname-zlibng::git+https://github.com/zlib-ng/zlib-ng.git"
    "$pkgname-libspng::git+https://github.com/randy408/libspng.git"
+        "$pkgname-vma::git+https://github.com/GPUOpen-LibrariesAndSDKs/VulkanMemoryAllocator.git"
 )
 sha512sums=('SKIP'
             'SKIP'
             'SKIP'
             'SKIP'
+            'SKIP'
             'SKIP')

 _sourcedirectory="$pkgname"
@@ -45,25 +47,31 @@ prepare() {
    _mgbapath='Externals/mGBA/mgba'
    git submodule init "$_mgbapath"
    git config "submodule.$_mgbapath.url" "$srcdir/$pkgname-mgba/"
-   git submodule update "$_mgbapath"
+   git -c protocol.file.allow=always submodule update "$_mgbapath"

    # Provide SPIRV-Cross submodule
    _spirvcrosspath='Externals/spirv_cross/SPIRV-Cross'
    git submodule init "$_spirvcrosspath"
    git config "submodule.$_spirvcrosspath.url" "$srcdir/$pkgname-spirvcross/"
-   git submodule update "$_spirvcrosspath"
+   git -c protocol.file.allow=always submodule update "$_spirvcrosspath"

    # Provide zlib-ng submodule
    _zlibngpath='Externals/zlib-ng/zlib-ng'
    git submodule init "$_zlibngpath"
    git config "submodule.$_zlibngpath.url" "$srcdir/$pkgname-zlibng/"
-   git submodule update "$_zlibngpath"
+   git -c protocol.file.allow=always submodule update "$_zlibngpath"

    # Provide libspng submodule
    _libspngpath='Externals/libspng/libspng'
    git submodule init "$_libspngpath"
    git config "submodule.$_libspngpath.url" "$srcdir/$pkgname-libspng/"
-   git submodule update "$_libspngpath"
+   git -c protocol.file.allow=always submodule update "$_libspngpath"
+
+   # 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"
 }

 pkgver() {

jasterlaf commented on 2022-10-23 11:01 (UTC) (edited on 2022-10-23 21:58 (UTC) by jasterlaf)

==> Starting prepare()...
Submodule 'Externals/mGBA/mgba' (https://github.com/mgba-emu/mgba.git) registered for path 'Externals/mGBA/mgba'
Cloning into '/home/user/builds/dolphin-emu-git/src/dolphin-emu-git/Externals/mGBA/mgba'...
warning: --depth is ignored in local clones; use file:// instead.
fatal: transport 'file' not allowed
fatal: clone of '/home/user/builds/dolphin-emu-git/src/dolphin-emu-git-mgba/' into submodule path '/home/user/builds/dolphin-emu-git/src/dolphin-emu-git/Externals/mGBA/mgba' failed
Failed to clone 'Externals/mGBA/mgba'. Retry scheduled
Cloning into '/home/user/builds/dolphin-emu-git/src/dolphin-emu-git/Externals/mGBA/mgba'...
warning: --depth is ignored in local clones; use file:// instead.
fatal: transport 'file' not allowed
fatal: clone of '/home/user/builds/dolphin-emu-git/src/dolphin-emu-git-mgba/' into submodule path '/home/user/builds/dolphin-emu-git/src/dolphin-emu-git/Externals/mGBA/mgba' failed
Failed to clone 'Externals/mGBA/mgba' a second time, aborting
==> ERROR: A failure occurred in prepare().
    Aborting...

infirit commented on 2022-10-23 09:43 (UTC) (edited on 2022-10-23 09:44 (UTC) by infirit)

diff --git a/PKGBUILD b/PKGBUILD
index c5b7161..ac8eeb0 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -6,8 +6,8 @@ _mainpkgname="$_projectname-emu"
 _noguipkgname="$_projectname-emu-nogui"
 pkgbase="$_mainpkgname-git"
 pkgname=("$pkgbase" "$_noguipkgname-git")
-pkgver='5.0.r17354.g1efb5b8800'
-pkgrel='1'
+pkgver=5.0.r17699.g7f2c78f345
+pkgrel=1
 pkgdesc='A Gamecube / Wii emulator'
 _pkgdescappend=' - git version'
 arch=('x86_64' 'aarch64')
@@ -27,11 +27,13 @@ source=(
    "$pkgname-spirvcross::git+https://github.com/KhronosGroup/SPIRV-Cross.git"
    "$pkgname-zlibng::git+https://github.com/zlib-ng/zlib-ng.git"
    "$pkgname-libspng::git+https://github.com/randy408/libspng.git"
+   "$pkgname-vma::git+https://github.com/GPUOpen-LibrariesAndSDKs/VulkanMemoryAllocator.git"
 )
 sha512sums=('SKIP'
             'SKIP'
             'SKIP'
             'SKIP'
+            'SKIP'
             'SKIP')

 _sourcedirectory="$pkgname"
@@ -64,6 +66,13 @@ prepare() {
    git submodule init "$_libspngpath"
    git config "submodule.$_libspngpath.url" "$srcdir/$pkgname-libspng/"
    git submodule update "$_libspngpath"
+
+   # Provide vma submodule
+   _vmapath='Externals/VulkanMemoryAllocator'
+   git submodule init "$_vmapath"
+   git config "submodule.$_vmapath.url" "$srcdir/$pkgname-vma/"
+   git submodule update "$_vmapath"
+
 }

 pkgver() {

hawaka commented on 2022-07-30 11:28 (UTC) (edited on 2022-07-30 11:48 (UTC) by hawaka)

They introduced two new sub-modules in Externals. They replaced "zlib" with "zlib-ng", and "libpng" with "libspng". These are the needed changes:

PKGBUILD


depends=
- 'libpng'
- 'zlib'

source=
+ "$pkgname-libspng::git+https://github.com/randy408/libspng.git"
+ "$pkgname-zlibng::git+https://github.com/zlib-ng/zlib-ng.git"

sha512sums=
+ 'SKIP'
+ 'SKIP'

prepare()
+ # Provide libspng submodule
+ _libspngpath='Externals/libspng/libspng'
+ git submodule init "$_libspngpath"
+ git config "submodule.$_libspngpath.url" "$srcdir/$pkgname-libspng/"
+ git submodule update "$_libspngpath"
+
+ # Provide zlib-ng submodule
+ _zlibngpath='Externals/zlib-ng/zlib-ng'
+ git submodule init "$_zlibngpath"
+ git config "submodule.$_zlibngpath.url" "$srcdir/$pkgname-zlibng/"
+ git submodule update "$_zlibngpath"

Peter0x44 commented on 2022-07-09 00:03 (UTC) (edited on 2022-07-09 12:22 (UTC) by Peter0x44)

I can reproduce this too.

It seems that dolphin has introduced a new dependency on SPIRV-Cross, in this PR. https://github.com/dolphin-emu/dolphin/pull/10673

A submodule has been introduced in Externals. Updating the PKGBUILD to clone it properly should fix it. This patch works for me, for now:

diff --git a/PKGBUILD b/PKGBUILD
index 4e18a08..daff635 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -41,6 +41,11 @@ prepare() {
    git submodule init "$_mgbapath"
    git config "submodule.$_mgbapath.url" "$srcdir/$pkgname-mgba/"
    git submodule update "$_mgbapath"
+
+   # Provide SPIRV-Cross submodule
+   _spirv_crosspath="Externals/spirv_cross/SPIRV-Cross"
+   git submodule init "$_spirv_crosspath"
+   git submodule update "$_spirv_crosspath"
 }

 pkgver() {

Star-X commented on 2022-07-08 22:07 (UTC) (edited on 2022-07-08 22:07 (UTC) by Star-X)

Well it compiled fine a few weeks ago, but today it started spitting out this error before it even started compiling:

CMake Error at Externals/spirv_cross/CMakeLists.txt:49 (add_library): Cannot find source file:

SPIRV-Cross/GLSL.std.450.h

Tried extensions .c .C .c++ .cc .cpp .cxx .cu .mpp .m .M .mm .ixx .cppm .h .hh .h++ .hm .hpp .hxx .in .txx .f .F .for .f77 .f90 .f95 .f03 .hip .ispc

CMake Error at Externals/spirv_cross/CMakeLists.txt:49 (add_library): No SOURCES given to target: spirv_cross

Peter0x44 commented on 2022-06-08 19:09 (UTC) (edited on 2022-07-09 00:05 (UTC) by Peter0x44)

https://github.com/dolphin-emu/dolphin/pull/10462#discussion_r892479008

Looks like this was a bug on dolphin's end, the PR mentioned here resolves it for me, it builds fine now.

https://github.com/dolphin-emu/dolphin/pull/10728

dpeukert commented on 2022-06-08 08:11 (UTC)

@Star-X: Looks like this was caused by this being merged: https://github.com/dolphin-emu/dolphin/pull/10462. I'll look into it more soon, but if anyone needs a working build for now, building from the last commit before the merge (dd0485389e0f1d18a2df858a6bd549007612a492) should still work.