Replace cuda-ccbin.patch with sed; link libstdc++; bump to 5.0.2.40.g093273d, regen .SRCINFO
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
# Maintainer: CreamSodass <greatvaluecreamsoda@gmail.com>
|
||||
|
||||
pkgname=vapoursynth-plugin-vship-cuda-git
|
||||
pkgrel=4.1
|
||||
pkgver=5.0.1.4.gdc0f1ba
|
||||
pkgrel=1
|
||||
pkgver=5.0.2.40.g093273d
|
||||
pkgdesc="Plugin for Vapoursynth: vship for nvidia gpus (GIT version)"
|
||||
arch=('x86_64')
|
||||
url='https://codeberg.org/Line-fr/Vship'
|
||||
@@ -12,21 +12,20 @@ makedepends=('git' 'gcc15')
|
||||
optdepends=('vapoursynth: vapoursynth plugin usage')
|
||||
provides=("vapoursynth-plugin-vship" "libvship")
|
||||
conflicts=("vapoursynth-plugin-vship" "libvship")
|
||||
source=("vship::git+https://codeberg.org/Line-fr/Vship.git"
|
||||
"cuda-ccbin.patch")
|
||||
sha256sums=('SKIP'
|
||||
'a70e866937ef15324a77afa8a02bdcdfff838c1a35ceebbe66b5ac10575d54a9')
|
||||
source=("vship::git+https://codeberg.org/Line-fr/Vship.git")
|
||||
sha256sums=('SKIP')
|
||||
|
||||
prepare() {
|
||||
cd "$srcdir/vship"
|
||||
patch -Np1 -i "$srcdir/cuda-ccbin.patch"
|
||||
sed -i 's/nvcc -x cu/nvcc $(if $(CUDA_CCBIN),-ccbin $(CUDA_CCBIN),) -x cu/g' Makefile
|
||||
sed -i 's/ -o "\$(current_dir)libvship/ -lstdc++ -o "\$(current_dir)libvship/g' Makefile
|
||||
}
|
||||
|
||||
build() {
|
||||
cd "$srcdir/vship"
|
||||
export PATH="/opt/cuda/bin:$PATH"
|
||||
|
||||
make buildcuda CUDA_CCBIN=gcc-15
|
||||
make buildcuda CUDA_CCBIN=gcc-15 CXXFLAGS=""
|
||||
}
|
||||
|
||||
pkgver() {
|
||||
|
||||
Reference in New Issue
Block a user