summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoao Carreira <jfmcarreira@gmail.com>2021-10-02 19:08:18 +0100
committerJoao Carreira <jfmcarreira@gmail.com>2021-10-02 19:08:18 +0100
commitc091c595a4816e0196ffc1b6413fadbfc3a34bb6 (patch)
tree0f25f893d562646bfed1acf93559209293d4327a
parentapp-misc/plugin-autenticacao-gov: version bump 2.0.60 (diff)
downloadcarreira-c091c595a4816e0196ffc1b6413fadbfc3a34bb6.tar.gz
carreira-c091c595a4816e0196ffc1b6413fadbfc3a34bb6.tar.bz2
carreira-c091c595a4816e0196ffc1b6413fadbfc3a34bb6.zip
media-video/calyp: version bump 2.0.1
Package-Manager: Portage-3.0.23, Repoman-3.0.3 Signed-off-by: Joao Carreira <jfmcarreira@gmail.com>
-rw-r--r--media-video/calyp/Manifest1
-rw-r--r--media-video/calyp/calyp-2.0.1.ebuild45
2 files changed, 46 insertions, 0 deletions
diff --git a/media-video/calyp/Manifest b/media-video/calyp/Manifest
index 1145e18..0e5b609 100644
--- a/media-video/calyp/Manifest
+++ b/media-video/calyp/Manifest
@@ -1 +1,2 @@
DIST calyp-1.2.1.tar.gz 820349 SHA256 251e6a6849921d5262694f2ff772c3edecb105b08e3d195bb06ea32e08462c57 SHA512 a27cf22de3757aa0ae02ffc02fe3491aefb10fc282ee112736e07328db23a94d0ecac24e6a5adc5100450ec30ef0f87cc4e5090c0c1463266aa5180a34fc8b62 WHIRLPOOL 7610cd806aeab02ae1495d1fed307e3bb7f247355997ed44f055ec2160cfe63414e0a320ae327a5e21a6607087189574e23dc695a41feadb6ed99d1fb1f96cae
+DIST calyp-2.0.1.tar.gz 987672 SHA256 57d605ad0bfa12648cbb4ae835ded2099d901b935065bf1030011a8373f1414b SHA512 a7fb5c716778fcade322c72664194f7da95ce0333d8e1a7b3d14adfd04a2a1c63b789ed38ff0c62b5985c75f73fdcffae37c4018280062c5c379fd503c7aeff4 WHIRLPOOL d775493f50eeca499538447e139294f15e9276f1b4f0e2b621a5d48f4f28c2ff92e0377e3b7b2d75e3d68532001d7d8ff59d84b5500501e14fcfd2e30776d7ba
diff --git a/media-video/calyp/calyp-2.0.1.ebuild b/media-video/calyp/calyp-2.0.1.ebuild
new file mode 100644
index 0000000..7f81e46
--- /dev/null
+++ b/media-video/calyp/calyp-2.0.1.ebuild
@@ -0,0 +1,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
+}