| Version | EAPI | Keywords | Slot |
|---|---|---|---|
| 10 | 8 | ~amd64 | 0 |
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit cmake cuda
DESCRIPTION="Bilateral filter for VapourSynth based on the OpenCV-CUDA library"
HOMEPAGE="https://github.com/WolframRhodium/VapourSynth-BilateralGPU"
if [[ ${PV} == *9999* ]]; then
inherit git-r3
EGIT_REPO_URI="https://github.com/WolframRhodium/VapourSynth-BilateralGPU.git"
KEYWORDS=""
else
inherit vcs-snapshot
SRC_URI="https://github.com/WolframRhodium/VapourSynth-BilateralGPU/archive/r${PV}.tar.gz -> ${PN}-${PV}.tar.gz"
KEYWORDS="~amd64"
fi
LICENSE="MIT"
SLOT="0"
RDEPEND+="
media-libs/vapoursynth
dev-util/nvidia-cuda-toolkit
"
DEPEND="${RDEPEND}
"
src_prepare() {
default
cmake_src_prepare
cuda_add_sandbox
}
src_configure() {
local mycmakeargs=(
-DCMAKE_INSTALL_LIBDIR="$(get_libdir)/vapoursynth/"
-DVAPOURSYNTH_INCLUDE_DIRECTORY="$(pkg-config --cflags-only-I vapoursynth | sed 's/-I//')"
-DCMAKE_CUDA_FLAGS="--threads 0 --use_fast_math -Wno-deprecated-gpu-targets $(cuda_gccdir -f | tr -d \")"
)
cmake_src_configure
}
media-libs/vapoursynth dev-util/nvidia-cuda-toolkit
media-libs/vapoursynth dev-util/nvidia-cuda-toolkit
| Type | File | Size | Source URLs |
|---|---|---|---|
| DIST | vapoursynth-bilateralgpu-10.tar.gz | 16927 bytes | https://github.com/WolframRhodium/VapourSynth-BilateralGPU/archive/r10.tar.gz |