diff options
author | sL1pKn07 | 2022-02-06 13:17:48 +0100 |
---|---|---|
committer | sL1pKn07 | 2022-02-06 13:17:48 +0100 |
commit | 4bc9b160f26d669a80c0f26915ec41fc55b87ded (patch) | |
tree | acbe2125de948d2e261f2be4dbdcf1f1a1e79b10 | |
parent | c4e7fe0a8f32d8ff55ac5e148d3aba48454c3271 (diff) | |
download | aur-4bc9b160f26d669a80c0f26915ec41fc55b87ded.tar.gz |
bump
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 26 |
2 files changed, 14 insertions, 14 deletions
@@ -1,6 +1,6 @@ pkgbase = vapoursynth-plugin-bm3dcuda-git pkgdesc = Plugin for Vapoursynth: bm3dcuda (GIT version) - pkgver = R2.4.15.g9f7b3c1 + pkgver = R2.6.0.g5cc194c pkgrel = 1 url = https://github.com/WolframRhodium/VapourSynth-BM3DCUDA arch = x86_64 @@ -2,7 +2,7 @@ _plug=bm3dcuda pkgname=vapoursynth-plugin-${_plug}-git -pkgver=R2.4.15.g9f7b3c1 +pkgver=R2.6.0.g5cc194c pkgrel=1 pkgdesc="Plugin for Vapoursynth: ${_plug} (GIT version)" arch=('x86_64') @@ -24,23 +24,23 @@ pkgver() { echo "$(git describe --long --tags | tr - .)" } -prepare() { - mkdir -p build -} - build() { - cd build - CXXFLAGS+=" $(pkg-config --cflags vapoursynth)" cmake ../bm3dcuda \ - -DCMAKE_BUILD_TYPE=Release \ - -DCMAKE_SKIP_RPATH=ON + source /etc/profile.d/cuda.sh + + cmake -S "${_plug}" -B build \ + -DCMAKE_BUILD_TYPE=None \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_INSTALL_LIBDIR=lib/vapoursynth \ + -DCMAKE_SKIP_RPATH=ON \ + -DVAPOURSYNTH_INCLUDE_DIRECTORY="$(pkg-config --cflags vapoursynth | sed 's|-I||g')" \ + -DCMAKE_CUDA_FLAGS="--threads 0 --use_fast_math -Wno-deprecated-gpu-targets" \ + -DUSE_NVRTC_STATIC=ON - make + cmake --build build } package(){ - install -Dm755 build/cpu_source/libbm3dcpu.so "${pkgdir}/usr/lib/vapoursynth/libbm3dcpu.so" - install -Dm755 build/source/libbm3dcuda.so "${pkgdir}/usr/lib/vapoursynth/libbm3dcuda.so" - install -Dm755 build/rtc_source/libbm3dcuda_rtc.so "${pkgdir}/usr/lib/vapoursynth/libbm3dcuda_rtc.so" + DESTDIR="${pkgdir}" cmake --install build install -Dm644 "${_plug}/README.md" "${pkgdir}/usr/share/doc/vapoursynth/plugins/${_plug}/README.md" } |