media-video/movit - 1.7.1 (gentoo)

Search

Package Information

Description:
High-performance, high-quality video filters for the GPU
Homepage:
https://movit.sesse.net/
License:
GPL-2+

Ebuild Details

Version EAPI Keywords Slot
1.7.1 8 amd64 arm64 ~loong ~ppc64 ~riscv x86 0
View Raw Ebuild
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

GTEST_PV="1.8.1"

DESCRIPTION="High-performance, high-quality video filters for the GPU"
HOMEPAGE="https://movit.sesse.net/"
# Tests need gtest sources, makefile unconditionally builds tests, so ... yey!
SRC_URI="https://movit.sesse.net/${P}.tar.gz
	https://github.com/google/googletest/archive/refs/tags/release-${GTEST_PV}.tar.gz -> ${PN}-googletest-${GTEST_PV}.tar.gz"

LICENSE="GPL-2+"
SLOT="0"
KEYWORDS="amd64 arm64 ~loong ~ppc64 ~riscv x86"

# no sane way to use OpenGL from within tests?
RESTRICT="test"

RDEPEND="media-libs/mesa[X(+)]
	>=dev-cpp/eigen-3.2.0:3
	media-libs/libepoxy[egl(+),X]
	>=sci-libs/fftw-3:=
	media-libs/libsdl2"
DEPEND="${RDEPEND}"
BDEPEND="virtual/pkgconfig"

PATCHES=(
	"${FILESDIR}"/${PN}-1.6.3-gcc12.patch
)

src_compile() {
	GTEST_DIR="${WORKDIR}/googletest-release-${GTEST_PV}/googletest" emake
}

src_test() {
	GTEST_DIR="${WORKDIR}/googletest-release-${GTEST_PV}/googletest" emake check
}

src_install() {
	default
	find "${ED}" -name '*.la' -delete || die
}

Dependencies

DEPEND

media-libs/mesa[X(+)]
	>=dev-cpp/eigen-3.2.0:3
	media-libs/libepoxy[egl(+),X]
	>=sci-libs/fftw-3:=
	media-libs/libsdl2

RDEPEND

media-libs/mesa[X(+)]
	>=dev-cpp/eigen-3.2.0:3
	media-libs/libepoxy[egl(+),X]
	>=sci-libs/fftw-3:=
	media-libs/libsdl2

BDEPEND

virtual/pkgconfig

Manifest for 1.7.1

Type File Size Source URLs
DIST movit-1.7.1.tar.gz 606885 bytes https://movit.sesse.net/movit-1.7.1.tar.gz
DIST movit-googletest-1.8.1.tar.gz 992298 bytes https://github.com/google/googletest/archive/refs/tags/release-1.8.1.tar.gz