blob: 7f81e468bb5cccc8c84adfb3936f5be0c5b636a4 (
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
|
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit eutils cmake
DESCRIPTION="Calyp is an open-source QT based raw video player"
HOMEPAGE="https://github.com/pixlra/calyp"
SRC_URI="https://github.com/pixlra/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="GPL-2"
SLOT=0
KEYWORDS="~amd64"
X86_CPU_FEATURES="cpu_flags_x86_sse"
IUSE="+qt5 ffmpeg opencv -static-libs $X86_CPU_FEATURES"
DEPEND="
qt5? (
dev-qt/qtconcurrent:5
dev-qt/qtcore:5
dev-qt/qtdbus:5
dev-qt/qtgui:5
dev-qt/qtprintsupport:5
dev-qt/qtwidgets:5
)
ffmpeg? ( media-video/ffmpeg )
opencv? ( media-libs/opencv )
"
RDEPEND="
!media-video/playuver
${DEPEND}
"
src_configure() {
local mycmakeargs=(
-DUSE_SSE=$(usex cpu_flags_x86_sse)
-DUSE_FFMPEG=$(usex ffmpeg)
-DUSE_OPENCV=$(usex opencv)
-DUSE_STATIC=$(usex static-libs)
)
cmake-utils_src_configure
}
|