View Raw Ebuild
# Copyright 2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DESCRIPTION="Video smoothing functions for Vapoursynth"
HOMEPAGE="https://github.com/adworacz/zsmooth"
declare -g -r -A ZBS_DEPENDENCIES=(
[vapoursynth-4.0.0-jLYMQw95AgBWLJymsYybHIFxNu7d6shoYn8y8WZfH8T3.tar.gz]='https://github.com/dnjulek/vapoursynth-zig/archive/a94152c87e4242a582ec5f30f4d4e890c14e2233.tar.gz'
)
ZIG_SLOT="0.15"
inherit zig
SRC_URI="
https://github.com/adworacz/zsmooth/archive/${PV}.tar.gz -> ${P}.tar.gz
${ZBS_DEPENDENCIES_SRC_URI}
"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
RDEPEND="
media-libs/vapoursynth
"
DOCS=( "README.md" )
S="${WORKDIR}/zsmooth-${PV}"
src_configure() {
local my_zbs_args=(
--prefix-lib-dir ""
)
zig_src_configure
}
src_install() {
zig_src_install --prefix /usr/$(get_libdir)/vapoursynth
}