summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'media-video/movit/movit-1.1.2.ebuild')
-rw-r--r--media-video/movit/movit-1.1.2.ebuild35
1 files changed, 35 insertions, 0 deletions
diff --git a/media-video/movit/movit-1.1.2.ebuild b/media-video/movit/movit-1.1.2.ebuild
new file mode 100644
index 000000000000..d58f45cffef3
--- /dev/null
+++ b/media-video/movit/movit-1.1.2.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+# no sane way to use OpenGL from within tests?
+RESTRICT="test"
+
+DESCRIPTION="Modern Video Toolkit"
+HOMEPAGE="http://movit.sesse.net/"
+# Tests need gtest, makefile unconditionally builds tests, so ... yey!
+SRC_URI="http://movit.sesse.net/${P}.tar.gz
+ http://googletest.googlecode.com/files/gtest-1.7.0.zip"
+LICENSE="GPL-2+"
+SLOT="0"
+
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND="media-libs/mesa
+ dev-cpp/eigen:3
+ media-libs/libepoxy
+ sci-libs/fftw
+ media-libs/libsdl2
+ "
+DEPEND="${RDEPEND}"
+
+src_compile() {
+ GTEST_DIR="${WORKDIR}/gtest-1.7.0" emake
+}
+
+src_test() {
+ GTEST_DIR="${WORKDIR}/gtest-1.7.0" emake check
+}