Update Package to Supply libvship

This commit is contained in:
CreamSodass
2025-11-26 23:09:46 +00:00
parent d90206b828
commit e295c3c05d
2 changed files with 17 additions and 14 deletions
+12 -12
View File
@@ -1,35 +1,35 @@
# Maintainer: CreamSodass <greatvaluecreamsoda@gmail.com>
_plug=vship
pkgname=vapoursynth-plugin-${_plug}-cuda-git
pkgrel=1
pkgver=3.0.0.13.g1ed2fb3
pkgdesc="Plugin for Vapoursynth: ${_plug} for nvidia gpus (GIT version)"
pkgname=vapoursynth-plugin-vship-cuda-git
pkgrel=2
pkgver=4.0.0.21.g5308ad8
pkgdesc="Plugin for Vapoursynth: vship for nvidia gpus (GIT version)"
arch=('x86_64')
url='https://github.com/Line-fr/Vship'
license=('MIT')
depends=('vapoursynth' 'cuda')
makedepends=('git' 'make')
provides=("vapoursynth-plugin-${_plug}")
conflicts=("vapoursynth-plugin-${_plug}")
source=("${_plug}::git+https://github.com/Line-fr/Vship.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")
sha256sums=('SKIP')
build() {
cd "${_plug}"
cd "vship"
export PATH="/opt/cuda/bin:$PATH"
make buildcudaall
}
pkgver() {
cd "${srcdir}/${_plug}"
cd "${srcdir}/vship"
# Generate pkgver like: v3.0.0.0.g7cd1d4f
git describe --tags --long | sed 's/^v//;s/-/./g'
}
package(){
cd "${_plug}"
cd "vship"
make PREFIX="/usr" DESTDIR="${pkgdir}" install
}
}