Update to codeberg and modify build command

This commit is contained in:
CreamSodass
2026-04-27 17:12:34 -07:00
parent 91b1c13cd8
commit 7aefe05810
2 changed files with 26 additions and 14 deletions
+4 -5
View File
@@ -1,19 +1,18 @@
pkgbase = vapoursynth-plugin-vship-cuda-git
pkgdesc = Plugin for Vapoursynth: vship for nvidia gpus (GIT version)
pkgver = 4.0.0.21.g5308ad8
pkgrel = 3
url = https://github.com/Line-fr/Vship
pkgver = 5.0.1.4.gdc0f1ba
pkgrel = 4
url = https://codeberg.org/Line-fr/Vship
arch = x86_64
license = MIT
makedepends = git
makedepends = make
depends = cuda
optdepends = vapoursynth: vapoursynth plugin usage
provides = vapoursynth-plugin-vship
provides = libvship
conflicts = vapoursynth-plugin-vship
conflicts = libvship
source = vship::git+https://github.com/Line-fr/Vship.git
source = vship::git+https://codeberg.org/Line-fr/Vship.git
sha256sums = SKIP
pkgname = vapoursynth-plugin-vship-cuda-git
+22 -9
View File
@@ -1,26 +1,34 @@
# Maintainer: CreamSodass <greatvaluecreamsoda@gmail.com>
_plug=vship
pkgname=vapoursynth-plugin-vship-cuda-git
pkgrel=3
pkgver=4.0.0.21.g5308ad8
pkgrel=4
pkgver=5.0.1.4.gdc0f1ba
pkgdesc="Plugin for Vapoursynth: vship for nvidia gpus (GIT version)"
arch=('x86_64')
url='https://github.com/Line-fr/Vship'
url='https://codeberg.org/Line-fr/Vship'
license=('MIT')
depends=('cuda')
makedepends=('git' 'make')
makedepends=('git')
optdepends=('vapoursynth: vapoursynth plugin usage')
provides=("vapoursynth-plugin-vship" "libvship")
conflicts=("vapoursynth-plugin-vship" "libvship")
source=("vship::git+https://github.com/Line-fr/Vship.git")
source=("vship::git+https://codeberg.org/Line-fr/Vship.git")
sha256sums=('SKIP')
build() {
cd "vship"
cd "$srcdir/vship"
export PATH="/opt/cuda/bin:$PATH"
make buildcudaall
nvcc -x cu src/VshipLib.cpp \
-t "$(nproc)" \
-ccbin "${CXX:-g++}" \
-std=c++17 \
-I include \
-arch=all \
--shared \
-Xcompiler "${CXXFLAGS} -fPIC" \
-O3 \
-o libvship.so
}
pkgver() {
@@ -31,5 +39,10 @@ pkgver() {
package(){
cd "vship"
make PREFIX="/usr" DESTDIR="${pkgdir}" install
install -Dm755 libvship.so "$pkgdir/usr/lib/libvship.so"
install -d "$pkgdir/usr/lib/vapoursynth"
ln -s /usr/lib/libvship.so "$pkgdir/usr/lib/vapoursynth/libvship.so"
install -Dm644 src/VshipAPI.h "$pkgdir/usr/include/VshipAPI.h"
install -Dm644 src/VshipColor.h "$pkgdir/usr/include/VshipColor.h"
}