Initial Commit

This commit is contained in:
Evert Vorster 2026-01-27 13:11:18 +02:00
commit e5964b489d
2 changed files with 64 additions and 0 deletions

22
.SRCINFO Normal file
View file

@ -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

42
PKGBUILD Normal file
View file

@ -0,0 +1,42 @@
# Maintainer: Evert Vorster
# Contributor: Krzysztof Bogacki <krzysztof.bogacki@leancode.pl>
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
}