From 752d6256e5204b958b0ef7905675a940b5e9172f Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Thu, 12 May 2022 16:42:50 +0300 Subject: gentoo resync : 12.05.2022 --- media-video/movit/Manifest | 3 +- media-video/movit/files/movit-1.6.3-gcc12.patch | 12 +++++++ media-video/movit/movit-1.6.3-r1.ebuild | 44 +++++++++++++++++++++++++ media-video/movit/movit-1.6.3.ebuild | 41 ----------------------- 4 files changed, 58 insertions(+), 42 deletions(-) create mode 100644 media-video/movit/files/movit-1.6.3-gcc12.patch create mode 100644 media-video/movit/movit-1.6.3-r1.ebuild delete mode 100644 media-video/movit/movit-1.6.3.ebuild (limited to 'media-video/movit') diff --git a/media-video/movit/Manifest b/media-video/movit/Manifest index fd40fcbd651c..4aa9cc01daf5 100644 --- a/media-video/movit/Manifest +++ b/media-video/movit/Manifest @@ -1,4 +1,5 @@ +AUX movit-1.6.3-gcc12.patch 251 BLAKE2B db889ad6ee9116749edd64152dd1cfca59c00d11407902402f8d04d353e53f3a429aad42c7cf28ba1d865ed483d148ef53786e9f1592c00a752ef166c1f0a23c SHA512 24fa5df6878f510ad0eaeeee37f9ec56817b3943f60584a33902898ef1870dcbb7fe961fb19bcf989844eff7c4c6647e160c4aceb87661b8529c4af4fdc673a1 DIST movit-1.6.3.tar.gz 605922 BLAKE2B b207e587a20aeccc16017b7b1a7334d88381d4268dfb516d0a030b864e41eb06771e6e2c466699ee6ff01a2c972456152b6450bed654e1961dacc9ff2b800c5d SHA512 6f7169710fbb60f79c44393aea57619f4c83d64fb296ea946d591e78fb9a71b513869dc6325f90e4c2dc843b7ed4841eaef41ca69f64787c8a57f4fde583b1e5 DIST movit-googletest-1.8.1.tar.gz 992298 BLAKE2B 40ef3417fe424205c0617f07207347ce671ac87605f8ac9b8a333b0b06e3fbef9f556041ee324c18f957f3258ab9fe06704f31cdd038355fb7890180eb77ced1 SHA512 e6283c667558e1fd6e49fa96e52af0e415a3c8037afe1d28b7ff1ec4c2ef8f49beb70a9327b7fc77eb4052a58c4ccad8b5260ec90e4bceeac7a46ff59c4369d7 -EBUILD movit-1.6.3.ebuild 1045 BLAKE2B 419e03dd0f817911942393f3911210c9d2667983ec449fde8859d3beb2f3b047380a4b1581d821e81394c751a6eba87c22fa5941aa6355cad0dfb9f2bb90a51e SHA512 e63d175c8b76c26d71f873a7ef11ced8444045dceb7322af3a281e1c617c3ec1bb540504b84676dd17d1727bb5b16947a3502e9239fe9f7c8a9f3a33ee575999 +EBUILD movit-1.6.3-r1.ebuild 1097 BLAKE2B dc6ea7e3d99c40be1182d84134a0519085d924355dbfaaad7dab935ac03b5e08153fce6ffdb7db4878003967f1d20b5b03c54b586988916ca633e9ff153162ed SHA512 668731acdad62fec93df38ce0b35108f409744cd72222a523fd2b1105095dcd8ac20932690871251ed00c9fe810900d43817916fd18636c6a1ab9f88d5124edb MISC metadata.xml 169 BLAKE2B 25149b73446be31f3ea3dd3a6394230987e7d4c601d1605fd3827b37bd99b3301c2e0edb95d0f59a4577ed27919f43c2cc02b1edf62c4012b935a82e709e0c05 SHA512 55c53f74b001bae56ba8c54581a4168335b6b3a28dac23a2102b76795d5fd41de33b8b3e1ec03f9acc6e7a3a77e93b1a6ff3e3967c3156dcbf22b5b5a6245ef5 diff --git a/media-video/movit/files/movit-1.6.3-gcc12.patch b/media-video/movit/files/movit-1.6.3-gcc12.patch new file mode 100644 index 000000000000..00b9e9203b11 --- /dev/null +++ b/media-video/movit/files/movit-1.6.3-gcc12.patch @@ -0,0 +1,12 @@ +https://bugs.gentoo.org/839915 + +--- a/test_util.cpp ++++ b/test_util.cpp +@@ -2,6 +2,7 @@ + #include + #include + #include ++#include + #include + #include + #include diff --git a/media-video/movit/movit-1.6.3-r1.ebuild b/media-video/movit/movit-1.6.3-r1.ebuild new file mode 100644 index 000000000000..bc9144f4e5d9 --- /dev/null +++ b/media-video/movit/movit-1.6.3-r1.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2022 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] + >=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 +} diff --git a/media-video/movit/movit-1.6.3.ebuild b/media-video/movit/movit-1.6.3.ebuild deleted file mode 100644 index a083a1dd4b0f..000000000000 --- a/media-video/movit/movit-1.6.3.ebuild +++ /dev/null @@ -1,41 +0,0 @@ -# Copyright 1999-2022 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] - >=sci-libs/fftw-3 - media-libs/libsdl2 - " -DEPEND="${RDEPEND}" -BDEPEND="virtual/pkgconfig" - -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 -} -- cgit v1.2.3