summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarek Szuba <marecki@gentoo.org>2021-11-25 17:52:46 +0100
committerMarek Szuba <marecki@gentoo.org>2021-11-25 17:53:05 +0100
commit50a38a6e70a16c429d3d7e8a2322e74a3b3d4046 (patch)
tree6669a1651e81e181690940e4f4993c228dfac4de /media-video
parentmedia-video/movit: require USE=egl from media-libs/libepoxy (diff)
downloadgentoo-50a38a6e70a16c429d3d7e8a2322e74a3b3d4046.tar.gz
gentoo-50a38a6e70a16c429d3d7e8a2322e74a3b3d4046.tar.bz2
gentoo-50a38a6e70a16c429d3d7e8a2322e74a3b3d4046.zip
media-video/movit: add 1.6.3
Closes: https://bugs.gentoo.org/690944 Signed-off-by: Marek Szuba <marecki@gentoo.org>
Diffstat (limited to 'media-video')
-rw-r--r--media-video/movit/Manifest2
-rw-r--r--media-video/movit/movit-1.6.3.ebuild41
2 files changed, 43 insertions, 0 deletions
diff --git a/media-video/movit/Manifest b/media-video/movit/Manifest
index a058a3e80cd4..d8a3c63108ee 100644
--- a/media-video/movit/Manifest
+++ b/media-video/movit/Manifest
@@ -1,2 +1,4 @@
DIST gtest-1.7.0.zip 1164254 BLAKE2B ba8cf5dc336e3a6889b58922b62497cdac94d9f77bc5cbac3d72e4a88f33cbe572b6f61b5323acb7ea6dfc67f92c0ba231bedc5251c276831ea7a9e77ab6d570 SHA512 8859369f2dd32cbc2ac01aba029aa3ff20a321f40658b9643aff442d34c33468221866b801b28c66a28af47dbcd362d26941fc98db92b6efb7e41ea5b7be1a07
DIST movit-1.6.2.tar.gz 878822 BLAKE2B 02b1a5d9b05c944d0b39f93e6c4ea0ced26128e9067db91b93f47fdda154cb7650217a821b077742ae555e6464579f95ad7a5976bcfea319e3dd2d515add83c4 SHA512 005e75712fcb83b0e9c0301925afe2c87a6d99856e7c6fe6468c93de5cbdd633507179c79a7536bb7acb1246c71302d98a92289a0a618b07d920b4620fd6abc7
+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
diff --git a/media-video/movit/movit-1.6.3.ebuild b/media-video/movit/movit-1.6.3.ebuild
new file mode 100644
index 000000000000..01c10ef697ac
--- /dev/null
+++ b/media-video/movit/movit-1.6.3.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2021 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 ~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
+}