media-video/vapoursynth-realcugan-ncnn-vulkan - 2 (tatsh-overlay)

Search

Install

Install this version:

emerge -a =media-video/vapoursynth-realcugan-ncnn-vulkan-2

If this version is masked, you can unmask it using the autounmask tool or standard emerge options:

autounmask =media-video/vapoursynth-realcugan-ncnn-vulkan-2

Or alternatively:

emerge --autounmask-write -a =media-video/vapoursynth-realcugan-ncnn-vulkan-2

Package Information

Description:
Real-CUGAN super resolution plugin for VapourSynth.
Homepage:
https://github.com/Kiyamou/VapourSynth-RealCUGAN-ncnn-Vulkan
License:
MIT

Ebuild Details

Version EAPI Keywords Slot
2 8 ~amd64 0
View Raw Ebuild
# Copyright 2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

inherit cmake

DESCRIPTION="Real-CUGAN super resolution plugin for VapourSynth."
HOMEPAGE="https://github.com/Kiyamou/VapourSynth-RealCUGAN-ncnn-Vulkan"
SRC_URI="https://github.com/Kiyamou/VapourSynth-RealCUGAN-ncnn-Vulkan/archive/refs/tags/r2.tar.gz -> ${P}.tar.gz
	https://github.com/Kiyamou/VapourSynth-RealCUGAN-ncnn-Vulkan/releases/download/r2/models.zip -> ${PN}-models-${PV}.zip"
S="${WORKDIR}/VapourSynth-RealCUGAN-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/unzip"

PATCHES=( "${FILESDIR}/${PN}-0001-system-deps.patch" )

src_configure() {
	local mycmakeargs=(
		"-DVAPOURSYNTH_INCLUDE_DIR=${EPREFIX}/usr/include/vapoursynth"
	)
	cmake_src_configure
}

src_install() {
	exeinto "/usr/$(get_libdir)/vapoursynth"
	doexe "${BUILD_DIR}/librealcugannv.so"
	insinto "/usr/$(get_libdir)/vapoursynth"
	doins -r "${WORKDIR}/models-"{nose,pro,se}
	einstalldocs
}

Inherited Eclasses

Dependencies

DEPEND

dev-libs/ncnn:= media-libs/vulkan-loader media-video/vapoursynth

RDEPEND

dev-libs/ncnn:= media-libs/vulkan-loader media-video/vapoursynth

BDEPEND

app-arch/unzip

Manifest for 2

Type File Size Source URLs
DIST vapoursynth-realcugan-ncnn-vulkan-2.tar.gz 15632 bytes https://github.com/Kiyamou/VapourSynth-RealCUGAN-ncnn-Vulkan/archive/refs/tags/r2.tar.gz
DIST vapoursynth-realcugan-ncnn-vulkan-models-2.zip 43749816 bytes https://github.com/Kiyamou/VapourSynth-RealCUGAN-ncnn-Vulkan/releases/download/r2/models.zip