media-plugins/vs-nlm-ispc - 4 (vapoursynth)

Search

Install

Install this version:

emerge -a =media-plugins/vs-nlm-ispc-4

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

autounmask =media-plugins/vs-nlm-ispc-4

Or alternatively:

emerge --autounmask-write -a =media-plugins/vs-nlm-ispc-4

Package Information

Description:
Non-local means denoise filter, drop-in replacement of the venerable KNLMeansCL (CPU only)
Homepage:
https://github.com/AmusementClub/vs-nlm-ispc
License:
GPL-3

Ebuild Details

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

EAPI=8

PYTHON_COMPAT=( python3_{13..15} )

inherit python-single-r1 cmake

DESCRIPTION="Non-local means denoise filter, drop-in replacement of the venerable KNLMeansCL (CPU only)"
HOMEPAGE="https://github.com/AmusementClub/vs-nlm-ispc"

if [[ ${PV} == *9999* ]]; then
	inherit git-r3
	EGIT_REPO_URI="https://github.com/AmusementClub/vs-nlm-ispc.git"
	KEYWORDS=""
else
	SRC_URI="https://github.com/AmusementClub/vs-nlm-ispc/archive/v${PV}.tar.gz -> ${P}.tar.gz"
	KEYWORDS="~amd64 ~x86"
fi

LICENSE="GPL-3"
RESTRICT="mirror"
SLOT="0"
IUSE=""

RDEPEND+="
    dev-lang/ispc
	>=media-libs/vapoursynth-76[${PYTHON_SINGLE_USEDEP},legacy]
"
DEPEND="${RDEPEND}
"

DOCS=( "README.md" )

src_prepare() {
    sed -i 's|cmake_path(APPEND install_dir ${VS_LIBDIR} vapoursynth)|set(install_dir ${CMAKE_INSTALL_PREFIX})|' CMakeLists.txt || die
    cmake_src_prepare
}

src_configure() {
    local mycmakeargs=(
        -DCMAKE_INSTALL_PREFIX="$(vapoursynth get-plugin-dir)"
    )
    cmake_src_configure
}

Inherited Eclasses

Dependencies

DEPEND

    dev-lang/ispc
	>=media-libs/vapoursynth-76[,legacy]

RDEPEND

    dev-lang/ispc
	>=media-libs/vapoursynth-76[,legacy]

Manifest for 4

Type File Size Source URLs
DIST vs-nlm-ispc-4.tar.gz 25949 bytes https://github.com/AmusementClub/vs-nlm-ispc/archive/v4.tar.gz