Update to codeberg and modify build command
This commit is contained in:
@@ -1,19 +1,18 @@
|
|||||||
pkgbase = vapoursynth-plugin-vship-cuda-git
|
pkgbase = vapoursynth-plugin-vship-cuda-git
|
||||||
pkgdesc = Plugin for Vapoursynth: vship for nvidia gpus (GIT version)
|
pkgdesc = Plugin for Vapoursynth: vship for nvidia gpus (GIT version)
|
||||||
pkgver = 4.0.0.21.g5308ad8
|
pkgver = 5.0.1.4.gdc0f1ba
|
||||||
pkgrel = 3
|
pkgrel = 4
|
||||||
url = https://github.com/Line-fr/Vship
|
url = https://codeberg.org/Line-fr/Vship
|
||||||
arch = x86_64
|
arch = x86_64
|
||||||
license = MIT
|
license = MIT
|
||||||
makedepends = git
|
makedepends = git
|
||||||
makedepends = make
|
|
||||||
depends = cuda
|
depends = cuda
|
||||||
optdepends = vapoursynth: vapoursynth plugin usage
|
optdepends = vapoursynth: vapoursynth plugin usage
|
||||||
provides = vapoursynth-plugin-vship
|
provides = vapoursynth-plugin-vship
|
||||||
provides = libvship
|
provides = libvship
|
||||||
conflicts = vapoursynth-plugin-vship
|
conflicts = vapoursynth-plugin-vship
|
||||||
conflicts = libvship
|
conflicts = libvship
|
||||||
source = vship::git+https://github.com/Line-fr/Vship.git
|
source = vship::git+https://codeberg.org/Line-fr/Vship.git
|
||||||
sha256sums = SKIP
|
sha256sums = SKIP
|
||||||
|
|
||||||
pkgname = vapoursynth-plugin-vship-cuda-git
|
pkgname = vapoursynth-plugin-vship-cuda-git
|
||||||
|
|||||||
@@ -1,26 +1,34 @@
|
|||||||
# Maintainer: CreamSodass <greatvaluecreamsoda@gmail.com>
|
# Maintainer: CreamSodass <greatvaluecreamsoda@gmail.com>
|
||||||
|
|
||||||
_plug=vship
|
|
||||||
pkgname=vapoursynth-plugin-vship-cuda-git
|
pkgname=vapoursynth-plugin-vship-cuda-git
|
||||||
pkgrel=3
|
pkgrel=4
|
||||||
pkgver=4.0.0.21.g5308ad8
|
pkgver=5.0.1.4.gdc0f1ba
|
||||||
pkgdesc="Plugin for Vapoursynth: vship for nvidia gpus (GIT version)"
|
pkgdesc="Plugin for Vapoursynth: vship for nvidia gpus (GIT version)"
|
||||||
arch=('x86_64')
|
arch=('x86_64')
|
||||||
url='https://github.com/Line-fr/Vship'
|
url='https://codeberg.org/Line-fr/Vship'
|
||||||
license=('MIT')
|
license=('MIT')
|
||||||
depends=('cuda')
|
depends=('cuda')
|
||||||
makedepends=('git' 'make')
|
makedepends=('git')
|
||||||
optdepends=('vapoursynth: vapoursynth plugin usage')
|
optdepends=('vapoursynth: vapoursynth plugin usage')
|
||||||
provides=("vapoursynth-plugin-vship" "libvship")
|
provides=("vapoursynth-plugin-vship" "libvship")
|
||||||
conflicts=("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')
|
sha256sums=('SKIP')
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
cd "vship"
|
cd "$srcdir/vship"
|
||||||
export PATH="/opt/cuda/bin:$PATH"
|
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() {
|
pkgver() {
|
||||||
@@ -31,5 +39,10 @@ pkgver() {
|
|||||||
|
|
||||||
package(){
|
package(){
|
||||||
cd "vship"
|
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"
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user