diff options
author | Joao Carreira <jfmcarreira@gmail.com> | 2018-02-08 19:26:17 +0000 |
---|---|---|
committer | Joao Carreira <jfmcarreira@gmail.com> | 2018-02-08 19:26:17 +0000 |
commit | d1346238e5257788355709e84971a1a774cdef6b (patch) | |
tree | 1e953dbb963ede66dd27e9a09c77604b5f725f0b /media-video | |
parent | app-misc/cartao-cidadao-auth: fix SRC_URI (diff) | |
download | carreira-d1346238e5257788355709e84971a1a774cdef6b.tar.gz carreira-d1346238e5257788355709e84971a1a774cdef6b.tar.bz2 carreira-d1346238e5257788355709e84971a1a774cdef6b.zip |
media-video/calyp: add ebuild
Package-Manager: Portage-2.3.24, Repoman-2.3.6
Diffstat (limited to 'media-video')
-rw-r--r-- | media-video/calyp/calyp-9999.ebuild | 58 | ||||
-rw-r--r-- | media-video/calyp/metadata.xml | 15 |
2 files changed, 73 insertions, 0 deletions
diff --git a/media-video/calyp/calyp-9999.ebuild b/media-video/calyp/calyp-9999.ebuild new file mode 100644 index 0000000..b7e5139 --- /dev/null +++ b/media-video/calyp/calyp-9999.ebuild @@ -0,0 +1,58 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit eutils cmake-utils git-r3 + +DESCRIPTION="Calyp is an open-source QT based raw video player" +HOMEPAGE="https://github.com/pixlra/playuver" +LICENSE="GPL-2" + +EGIT_REPO_URI="https://github.com/pixlra/playuver.git" +EGIT_BRANCH="develRefactoring" + +SLOT=0 +KEYWORDS="" + +X86_CPU_FEATURES="cpu_flags_x86_sse" +IUSE="+qt5 -qt4 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 + ) + qt4? ( + dev-qt/qtdbus:4 + dev-qt/qtcore:4 + dev-qt/qtgui:4 + ) + ffmpeg? ( virtual/ffmpeg ) + opencv? ( media-libs/opencv ) +" + +RDEPEND=" + !media-video/playuver + ${DEPEND} +" + +REQUIRED_USE=" + ?? ( qt5 qt4 ) + qt4? ( !opencv ) +" + +src_configure() { + local mycmakeargs=( + -DUSE_SSE=$(usex cpu_flags_x86_sse) + -DUSE_QT4=$(usex qt4) + -DUSE_FFMPEG=$(usex ffmpeg) + -DUSE_OPENCV=$(usex opencv) + -DUSE_STATIC=$(usex static-libs) + ) + cmake-utils_src_configure +} diff --git a/media-video/calyp/metadata.xml b/media-video/calyp/metadata.xml new file mode 100644 index 0000000..737f193 --- /dev/null +++ b/media-video/calyp/metadata.xml @@ -0,0 +1,15 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>jfmcarreira@gmail.com</email> + <name>Joao Carreira</name> + </maintainer> + <use> + <flag name="qt4">GUI using Qt4 lib</flag> + <flag name="qt5">GUI using Qt5 lib</flag> + <flag name="ffmpeg">Support ffmpeg formats</flag> + <flag name="opencv">Support for opencv</flag> + <flag name="static-libs">Build static libs</flag> + </use> +</pkgmetadata> |