Install this version:
emerge -a =media-video/vapoursynth-realsr-ncnn-vulkan-3
If this version is masked, you can unmask it using the autounmask tool or standard emerge options:
autounmask =media-video/vapoursynth-realsr-ncnn-vulkan-3
Or alternatively:
emerge --autounmask-write -a =media-video/vapoursynth-realsr-ncnn-vulkan-3
| Version | EAPI | Keywords | Slot |
|---|---|---|---|
| 3 | 8 | ~amd64 | 0 |
# Copyright 2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit cmake
DESCRIPTION="RealSR super resolution plugin for VapourSynth."
HOMEPAGE="https://github.com/Kiyamou/VapourSynth-RealSR-ncnn-Vulkan"
SRC_URI="https://github.com/Kiyamou/VapourSynth-RealSR-ncnn-Vulkan/archive/refs/tags/r${PV}.tar.gz -> ${P}.tar.gz
https://github.com/Kiyamou/VapourSynth-RealSR-ncnn-Vulkan/releases/download/r1/models.7z -> ${P}-models.7z"
S="${WORKDIR}/VapourSynth-RealSR-ncnn-Vulkan-r${PV}"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64"
DEPEND="dev-libs/ncnn:= media-libs/vulkan-loader media-video/vapoursynth"
RDEPEND="${DEPEND}"
BDEPEND="app-arch/7zip"
PATCHES=( "${FILESDIR}/${PN}-0001-system-deps.patch" )
src_unpack() {
local archive
for archive in ${A}; do
case "${archive}" in
*.7z)
7z -bb0 -y -bd x "${DISTDIR}/${archive}"
;;
*)
unpack "${archive}"
;;
esac
done
}
src_configure() {
local mycmakeargs=(
"-DVAPOURSYNTH_INCLUDE_DIR=${EPREFIX}/usr/include/vapoursynth"
)
cmake_src_configure
}
src_install() {
cmake_src_install
insinto "/usr/$(get_libdir)/vapoursynth"
doins -r "${WORKDIR}/models"-{DF2K,DF2K_JPEG}
}
dev-libs/ncnn:= media-libs/vulkan-loader media-video/vapoursynth
dev-libs/ncnn:= media-libs/vulkan-loader media-video/vapoursynth
app-arch/7zip
| Type | File | Size | Source URLs |
|---|---|---|---|
| DIST | vapoursynth-realsr-ncnn-vulkan-3-models.7z | 60129594 bytes | https://github.com/Kiyamou/VapourSynth-RealSR-ncnn-Vulkan/releases/download/r1/models.7z |
| DIST | vapoursynth-realsr-ncnn-vulkan-3.tar.gz | 11115 bytes | https://github.com/Kiyamou/VapourSynth-RealSR-ncnn-Vulkan/archive/refs/tags/r3.tar.gz |