View Raw Ebuild
# Copyright 2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DESCRIPTION="VapourSynth Zig Image Process"
HOMEPAGE="https://github.com/dnjulek/vapoursynth-zip"
declare -g -r -A ZBS_DEPENDENCIES=(
[vapoursynth-4.0.0-jLYMQw95AgBWLJymsYybHIFxNu7d6shoYn8y8WZfH8T3.tar.gz]='https://github.com/dnjulek/vapoursynth-zig/archive/a94152c87e4242a582ec5f30f4d4e890c14e2233.tar.gz'
[zigimg-0.1.0-8_eo2vHnEwCIVW34Q14Ec-xUlzIoVg86-7FU2ypPtxms.tar.gz]='https://github.com/coisos/zigimg/archive/d7b7ab0ba0899643831ef042bd73289510b39906.tar.gz'
)
ZIG_SLOT="0.15"
inherit zig
SRC_URI="
https://github.com/dnjulek/${PN}/archive/R${PV}.tar.gz -> ${P}.tar.gz
${ZBS_DEPENDENCIES_SRC_URI}
"
S="${WORKDIR}/${PN}-R${PV}"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
RDEPEND="
media-libs/vapoursynth
"
DOCS=( "README.md" )
src_install() {
zig_src_install --prefix-lib-dir "$(get_libdir)/vapoursynth"
}