diff options
author | jms <buyer.jmsalvat@gmail.com> | 2024-04-30 18:16:19 +0200 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2024-05-02 09:51:22 +0100 |
commit | 265460200b9bfd8d758660e4c59953d8851bb39a (patch) | |
tree | 7500b18bbf25fdcc2af93ab29458064f64a709c8 /media-video/movit | |
parent | dev-build/autoconf: sync live (diff) | |
download | gentoo-265460200b9bfd8d758660e4c59953d8851bb39a.tar.gz gentoo-265460200b9bfd8d758660e4c59953d8851bb39a.tar.bz2 gentoo-265460200b9bfd8d758660e4c59953d8851bb39a.zip |
media-video/movit: add 1.7.1
Closes: https://bugs.gentoo.org/930643
Bug: https://bugs.gentoo.org/930404
Signed-off-by: jms <buyer.jmsalvat@gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/36511
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'media-video/movit')
-rw-r--r-- | media-video/movit/Manifest | 1 | ||||
-rw-r--r-- | media-video/movit/movit-1.7.1.ebuild | 44 |
2 files changed, 45 insertions, 0 deletions
diff --git a/media-video/movit/Manifest b/media-video/movit/Manifest index aeaf57a37d82..63e0f950cf62 100644 --- a/media-video/movit/Manifest +++ b/media-video/movit/Manifest @@ -1,2 +1,3 @@ DIST movit-1.6.3.tar.gz 605922 BLAKE2B b207e587a20aeccc16017b7b1a7334d88381d4268dfb516d0a030b864e41eb06771e6e2c466699ee6ff01a2c972456152b6450bed654e1961dacc9ff2b800c5d SHA512 6f7169710fbb60f79c44393aea57619f4c83d64fb296ea946d591e78fb9a71b513869dc6325f90e4c2dc843b7ed4841eaef41ca69f64787c8a57f4fde583b1e5 +DIST movit-1.7.1.tar.gz 606885 BLAKE2B 24977aa7aedc6111f0d7c3350df5bb2529b2c604842040c712eb08b99853e42cc9ed1cc0c297348e9a17926c07b1dd9ace10b3c5d25c6c18aad5b63a797d9c32 SHA512 3893bf983ff3df592f2ab599566e83d1f44aae3bb56ce68a23a584a485341a41da4ee3a9eec131dae4075e459526321a24428ef3ceba858a77590e690020089f DIST movit-googletest-1.8.1.tar.gz 992298 BLAKE2B 40ef3417fe424205c0617f07207347ce671ac87605f8ac9b8a333b0b06e3fbef9f556041ee324c18f957f3258ab9fe06704f31cdd038355fb7890180eb77ced1 SHA512 e6283c667558e1fd6e49fa96e52af0e415a3c8037afe1d28b7ff1ec4c2ef8f49beb70a9327b7fc77eb4052a58c4ccad8b5260ec90e4bceeac7a46ff59c4369d7 diff --git a/media-video/movit/movit-1.7.1.ebuild b/media-video/movit/movit-1.7.1.ebuild new file mode 100644 index 000000000000..b34bd7e21774 --- /dev/null +++ b/media-video/movit/movit-1.7.1.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2024 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 ~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 +} |