fix: update to new build system; install generated pc
This commit is contained in:
@@ -1,13 +1,17 @@
|
|||||||
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 = 5.0.2.40.g093273d
|
pkgver = 5.1.0.14.g5975d8b
|
||||||
pkgrel = 1
|
pkgrel = 1
|
||||||
url = https://codeberg.org/Line-fr/Vship
|
url = https://codeberg.org/Line-fr/Vship
|
||||||
arch = x86_64
|
arch = x86_64
|
||||||
license = MIT
|
license = LicenseRef-MIT-NON-AI
|
||||||
makedepends = git
|
makedepends = git
|
||||||
makedepends = gcc15
|
makedepends = gcc15
|
||||||
depends = cuda
|
makedepends = cuda
|
||||||
|
depends = nvidia-utils
|
||||||
|
depends = libgcc
|
||||||
|
depends = libstdc++
|
||||||
|
depends = glibc
|
||||||
optdepends = vapoursynth: vapoursynth plugin usage
|
optdepends = vapoursynth: vapoursynth plugin usage
|
||||||
provides = vapoursynth-plugin-vship
|
provides = vapoursynth-plugin-vship
|
||||||
provides = libvship
|
provides = libvship
|
||||||
|
|||||||
@@ -2,13 +2,13 @@
|
|||||||
|
|
||||||
pkgname=vapoursynth-plugin-vship-cuda-git
|
pkgname=vapoursynth-plugin-vship-cuda-git
|
||||||
pkgrel=1
|
pkgrel=1
|
||||||
pkgver=5.0.2.40.g093273d
|
pkgver=5.1.0.14.g5975d8b
|
||||||
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://codeberg.org/Line-fr/Vship'
|
url='https://codeberg.org/Line-fr/Vship'
|
||||||
license=('MIT')
|
license=('MIT')
|
||||||
depends=('cuda')
|
depends=('nvidia-utils' 'libgcc' 'libstdc++' 'glibc')
|
||||||
makedepends=('git' 'gcc15')
|
makedepends=('git' 'gcc15' 'cuda')
|
||||||
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")
|
||||||
@@ -25,7 +25,11 @@ build() {
|
|||||||
cd "$srcdir/vship"
|
cd "$srcdir/vship"
|
||||||
export PATH="/opt/cuda/bin:$PATH"
|
export PATH="/opt/cuda/bin:$PATH"
|
||||||
|
|
||||||
make buildcuda CUDA_CCBIN=gcc-15 CXXFLAGS=""
|
unset CXXFLAGS LDFLAGS
|
||||||
|
|
||||||
|
make build BACKEND=Cuda CUDA_CCBIN=gcc-15 \
|
||||||
|
LDFLAGS="-Xlinker -z -Xlinker relro -Xlinker -z -Xlinker now"
|
||||||
|
make genpkgConfig PREFIX=/usr
|
||||||
}
|
}
|
||||||
|
|
||||||
pkgver() {
|
pkgver() {
|
||||||
@@ -42,4 +46,6 @@ package(){
|
|||||||
|
|
||||||
install -Dm644 src/VshipAPI.h "$pkgdir/usr/include/VshipAPI.h"
|
install -Dm644 src/VshipAPI.h "$pkgdir/usr/include/VshipAPI.h"
|
||||||
install -Dm644 src/VshipColor.h "$pkgdir/usr/include/VshipColor.h"
|
install -Dm644 src/VshipColor.h "$pkgdir/usr/include/VshipColor.h"
|
||||||
|
|
||||||
|
install -Dm644 libvship.pc "$pkgdir/usr/lib/pkgconfig/libvship.pc"
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user