summaryrefslogtreecommitdiff
blob: 822e76f7fa02a8485ab47611ef0a24341ca9dc95 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

EAPI="5"
CMAKE_IN_SOURCE_BUILD=yes

inherit eutils subversion cmake-utils

DESCRIPTION="Real-time graphics mixing for video performance"
HOMEPAGE="https://code.google.com/p/glmixer/"
ESVN_REPO_URI="https://${PN}.googlecode.com/svn/trunk/"

LICENSE="GPL-3+"
SLOT="0"
KEYWORDS=""
IUSE=""

RDEPEND="
	dev-qt/qtcore
	dev-qt/qtgui
	dev-qt/qtopengl
	dev-qt/qtsvg
	dev-qt/qtwebkit
	media-libs/glew
	media-libs/glu
	media-libs/opencv
	virtual/ffmpeg"
DEPEND="${RDEPEND}"

src_prepare() {
	epatch "${FILESDIR}"/${P}-subversion.patch
	rm -Rf libFreeFrameGL/FFGL-SDK-1.5 || die
	ewarn 'Libraries still bundled: libQtProperty, libOSCPack, libFreeFrameGL 1.6'
}

src_configure() {
	local mycmakeargs=(
		-DUSE_SHAREDMEMORY=yes
		-DUSE_OPENCV=yes
		-DUSE_FREEFRAMEGL=1.6
		-Wno-dev
	)

	cmake-utils_src_configure
}