From e5964b489d70e5d371d6a3977d062ef3d4b7f074 Mon Sep 17 00:00:00 2001 From: Evert Vorster Date: Tue, 27 Jan 2026 13:11:18 +0200 Subject: [PATCH] Initial Commit --- .SRCINFO | 22 ++++++++++++++++++++++ PKGBUILD | 42 ++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 64 insertions(+) create mode 100644 .SRCINFO create mode 100644 PKGBUILD diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..c7af4e7afe0e --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,22 @@ +pkgbase = wine-nvcuda-git + pkgdesc = Standalone version of nvcuda from Wine-Staging (git) + pkgver = 0.3.r3.gd04095b + pkgrel = 1 + url = https://github.com/SveSop/nvcuda + arch = x86_64 + license = LGPL-2.1-or-later + makedepends = git + makedepends = meson + makedepends = ninja + depends = glibc + depends = wine>=10.0 + provides = wine-nvcuda + conflicts = wine-nvcuda + options = !strip + source = git+https://github.com/SveSop/nvcuda.git + b2sums = SKIP + +pkgname = wine-nvcuda-git + depends = glibc + depends = wine>=10.0 + depends = nvidia-utils diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..0c7915dc3196 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,42 @@ +# Maintainer: Evert Vorster +# Contributor: Krzysztof Bogacki + +pkgname=wine-nvcuda-git +pkgver=0.3.r3.gd04095b +pkgrel=1 +pkgdesc='Standalone version of nvcuda from Wine-Staging (git)' +arch=('x86_64') +url='https://github.com/SveSop/nvcuda' +license=('LGPL-2.1-or-later') +depends=('glibc' 'wine>=10.0') +makedepends=('git' 'meson' 'ninja') +provides=('wine-nvcuda') +conflicts=('wine-nvcuda') +options=('!strip') +source=('git+https://github.com/SveSop/nvcuda.git') +b2sums=('SKIP') + +pkgver() { + git -C "${srcdir}/nvcuda" describe --tags | sed -E 's/^v//;s/-([0-9]+)-/-r\1-/;s/-/./g' +} + +build() { + cd "${srcdir}/nvcuda" + + meson setup \ + --cross-file ./build-wine64.txt \ + --prefix /usr \ + --libdir lib \ + --buildtype release \ + --strip \ + -D fakedll=true \ + ../build-wine64 . + + ninja -C ../build-wine64 +} + +package() { + depends+=('nvidia-utils') + + DESTDIR="${pkgdir}" ninja -C "${srcdir}/build-wine64" install +}