Package Details: latencyflex-wine-git r61.0470806-1

Git Clone URL: https://aur.archlinux.org/latencyflex-git.git (read-only, click to copy)
Package Base: latencyflex-git
Description: Vendor and game agnostic latency reduction middleware
Upstream URL: https://github.com/ishitatsuyuki/LatencyFleX
Licenses: Apache
Conflicts: latencyflex-wine
Provides: latencyflex-wine
Submitter: ishitatsuyuki
Maintainer: ishitatsuyuki
Last Packager: ishitatsuyuki
Votes: 1
Popularity: 0.000000
First Submitted: 2022-01-03 02:38 (UTC)
Last Updated: 2023-03-19 10:15 (UTC)

Latest Comments

« First ‹ Previous 1 2 3 Next › Last »

IncredibleLaser commented on 2023-02-28 07:27 (UTC)

The proposed solution is also the new official decision, the bug report has been closed with reference to the wiki that describes exactly what has been done in the latest comment. It'd be great if you could incorporate the suggested changes.

TheBill2001 commented on 2022-11-06 04:35 (UTC)

This should be enough for now

--- PKGBUILD
+++ PKGBUILD
@@ -3,7 +3,7 @@

 _pkgname=latencyflex
 pkgname=(latencyflex-git latencyflex-wine-git)
-pkgver=r40.9c2836f
+pkgver=r61.0470806
 pkgrel=1
 pkgdesc="Vendor and game agnostic latency reduction middleware"
 arch=('x86_64')
@@ -11,12 +11,19 @@
 license=('Apache')
 makedepends=('git' 'cmake' 'meson' 'vulkan-headers' 'vulkan-validation-layers' 'wine' 'mingw-w64-gcc')
 source=("git+https://github.com/ishitatsuyuki/LatencyFleX.git"
+        # For funchook submodule
         "git+https://github.com/kubo/funchook.git"
         "git+https://github.com/gdabah/distorm.git"
+        # For perfetto submodule
+        "git+https://android.googlesource.com/platform/external/perfetto"
+        # For unhollowed submodule
+        "git+https://github.com/ishitatsuyuki/unhollowed-assemblies.git"
         "latencyflex-wine.install")
 sha256sums=('SKIP'
             'SKIP'
             'SKIP'
+            'SKIP'
+            'SKIP'
             '30861957636eed47ee70461dc377e8dcd23b1acfa8b7bb570196e1347d121bb6')

 _vcsname=LatencyFleX
@@ -29,12 +36,20 @@
 prepare() {
     cd "$srcdir/$_vcsname"

-    git submodule init layer/subprojects/funchook
-    git config submodule.layer/subprojects/funchook.url "$srcdir/funchook"
-    git submodule update layer/subprojects/funchook
-    git -C layer/subprojects/funchook submodule init distorm
+    # Reference: https://wiki.archlinux.org/title/VCS_package_guidelines#Git_submodules
+    # Init submodule for LatencyFleX
+    git submodule init
+
+    git config submodule.layer/funchook.url "$srcdir/funchook"
+    git config submodule.layer/subprojects/perfetto.url "$srcdir/perfetto"
+    git config submodule.layer/unity/unhollowed.url "$srcdir/unhollowed-assemblies"
+
+    git -c protocol.file.allow=always submodule update
+
+    # Init submodule for funchook
+    git -C layer/subprojects/funchook submodule init
     git -C layer/subprojects/funchook config submodule.distorm.url "$srcdir/distorm"
-    git -C layer/subprojects/funchook submodule update distorm
+    git -C layer/subprojects/funchook -c protocol.file.allow=always submodule update
 }

 build() {

ishitatsuyuki commented on 2022-10-27 13:20 (UTC)

Yeah, thanks for reporting. I’d like to wait for an official decision before trying to hack in a workaround, so please refer to the linked thread until that happens.

TheBill2001 commented on 2022-10-27 13:18 (UTC)

Currently broken with new the git update as reported here (also broke a lot of git package with sub-modules too). There is a workaround in the thread but an official solution is not yet decided.

ishitatsuyuki commented on 2022-09-23 06:09 (UTC)

Builds fine for me. wine 7.17-1.

Zeioth commented on 2022-09-22 15:48 (UTC) (edited on 2022-09-22 15:48 (UTC) by Zeioth)

Doesn't compile correctly yet. I got this:


ninja: Entering directory `/var/tmp/pamac-build-zeioth/latencyflex-git/src/LatencyFleX/layer/wine/build-wine64'
[1/2] Compiling C++ object latencyflex_layer.so.p/unixlib.cpp.o
[2/2] Linking target latencyflex_layer.so
FAILED: latencyflex_layer.so 
wineg++  -o latencyflex_layer.so latencyflex_layer.so.p/unixlib.cpp.o -Wl,--as-needed -Wl,--no-undefined -shared -fPIC -Wl,--start-group -Wl,-soname,latencyflex_layer.so -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -Wp,-D_GLIBCXX_ASSERTIONS /var/tmp/pamac-build-zeioth/latencyflex-git/src/LatencyFleX/layer/wine/../build/liblatencyflex_layer.so -Wl,--end-group
/usr/bin/ld: cannot find -ladvapi32: No such file or directory
/usr/bin/ld: cannot find -luser32: No such file or directory
/usr/bin/ld: cannot find -lwinecrt0: No such file or directory
/usr/bin/ld: cannot find -lkernel32: No such file or directory
/usr/bin/ld: cannot find -lntdll: No such file or directory
collect2: error: ld returned 1 exit status
winegcc: /usr/bin/g++ failed
ninja: build stopped: subcommand failed.
==> ERROR: A failure occurred in build().
    Aborting...

yochananmarqos commented on 2022-08-10 17:04 (UTC)

Forgot to mention you're missing the pkgbase:

pkgname=(latencyflex-git latencyflex-wine-git)
pkgbase=latencyflex-git

yochananmarqos commented on 2022-08-10 17:02 (UTC)

Building the wine64 portion fails:

FAILED: latencyflex_layer.so 
wineg++  -o latencyflex_layer.so latencyflex_layer.so.p/unixlib.cpp.o -Wl,--as-needed -Wl,--no-undefined -shared -fPIC -Wl,--start-group -Wl,-soname,latencyflex_layer.so -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -Wp,-D_GLIBCXX_ASSERTIONS -flto=auto /build/latencyflex-git/src/LatencyFleX/layer/wine/../build/liblatencyflex_layer.so -Wl,--end-group
/usr/bin/ld: /usr/bin/../lib/wine/x86_64-unix/libkernel32.a(kernel32-3b0d12ea.o): warning: relocation against `__wine$func$kernel32$195$DisableThreadLibraryCalls' in read-only section `.text'
/usr/bin/ld: /usr/bin/../lib/wine/x86_64-unix/libkernel32.a(kernel32-3b0d12ea.o): in function `DisableThreadLibraryCalls':
(.text+0x0): undefined reference to `__wine$func$kernel32$195$DisableThreadLibraryCalls'
/usr/bin/ld: warning: creating DT_TEXTREL in a shared object
collect2: error: ld returned 1 exit status
winegcc: /usr/bin/g++ failed
ninja: build stopped: subcommand failed.

ishitatsuyuki commented on 2022-04-13 12:39 (UTC)

@guglovich On AUR one does not bump VCS package version simply because upstream has a new commit. makepkg automatically calculates the correct pkgver when you build it.

An update is only done if there’s something that breaks build.

guglovich commented on 2022-04-13 12:37 (UTC)

@ishitatsuyuki but your update date is older than the latest commits