From 002a7c557b344cc331da35107780ba438f791d2b Mon Sep 17 00:00:00 2001 From: Michal Vasilek Date: Tue, 28 Dec 2021 13:28:26 +0100 Subject: [PATCH] dolphin-emu: embed correct version the version detected when not building from a git repository is not precise enough to allow netplay to work Closes: #34691 --- srcpkgs/dolphin-emu/template | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/srcpkgs/dolphin-emu/template b/srcpkgs/dolphin-emu/template index 35ac6a3910df..e6bad8702ce7 100644 --- a/srcpkgs/dolphin-emu/template +++ b/srcpkgs/dolphin-emu/template @@ -1,14 +1,17 @@ # Template file for 'dolphin-emu' pkgname=dolphin-emu version=5.0.15445 -revision=1 +revision=2 _dolphin_commit=db02b50d2ecdfbbc21e19aadc57253c353069f77 _mgba_commit=40d4c430fc36caeb7ea32fd39624947ed487d2f2 #Version/hash pair can be found at https://dolphin-emu.org/download/ archs="x86_64* aarch64* ppc64le* i686*" wrksrc="dolphin-${_dolphin_commit}" build_style=cmake -configure_args="-DUSE_SHARED_ENET=ON" +configure_args="-DUSE_SHARED_ENET=ON + -DDOLPHIN_WC_DESCRIBE=${version%.*}-${version##*.} + -DDOLPHIN_WC_REVISION=$_dolphin_commit + -DDOLPHIN_WC_BRANCH=master" hostmakedepends="pkg-config qt5-host-tools qt5-qmake" makedepends=" zlib-devel glew-devel libusb-devel qt5-devel miniupnpc-devel libevdev-devel