media-plugins/vapoursynth-edgefixer - 2 (vapoursynth)

Search

Package Information

Description:
EdgeFixer repairs bright and dark line artifacts near the border of an image
Homepage:
https://github.com/sekrit-twc/EdgeFixer

Ebuild Details

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

EAPI=8

inherit toolchain-funcs

DESCRIPTION="EdgeFixer repairs bright and dark line artifacts near the border of an image"
HOMEPAGE="https://github.com/sekrit-twc/EdgeFixer"

if [[ ${PV} == *9999* ]]; then
	inherit git-r3
	EGIT_REPO_URI="https://github.com/sekrit-twc/EdgeFixer.git"
	KEYWORDS=""
else
	inherit vcs-snapshot
	SRC_URI="https://github.com/sekrit-twc/EdgeFixer/archive/r${PV}.tar.gz -> ${PN}-${PV}.tar.gz"
	KEYWORDS="~amd64 ~x86"
fi

LICENSE=""
SLOT="0"
RESTRICT="mirror"

RDEPEND+="
	media-libs/vapoursynth
"
DEPEND="${RDEPEND}
"

LIBNAME="libedgefixer.so"
EXTRAFLAGS="-fPIC -shared"

src_compile() {
	$(tc-getCC) ${CFLAGS} ${EXTRAFLAGS} ${LDFLAGS} -o ${LIBNAME} $(pkg-config --cflags vapoursynth) EdgeFixer/edgefixer.c EdgeFixer/vsplugin.c || die "Build failed"
}

src_install() {
	insinto /usr/$(get_libdir)/vapoursynth/
	doins ${LIBNAME}
}

Dependencies

DEPEND

	media-libs/vapoursynth

RDEPEND

	media-libs/vapoursynth

Manifest for 2

Type File Size Source URLs
DIST vapoursynth-edgefixer-2.tar.gz 7454 bytes https://github.com/sekrit-twc/EdgeFixer/archive/r2.tar.gz