summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoao Carreira <jfmcarreira@gmail.com>2021-11-28 23:02:39 +0000
committerJoao Carreira <jfmcarreira@gmail.com>2021-11-28 23:02:39 +0000
commit038f32ac2822ac3fd14452d7a230aa268c7e7621 (patch)
treea2665abb4b2b5870f7e74a54275d971157ec1dbe
parentdev-cpp/type_safe: add version 0.2.2 (diff)
downloadcarreira-038f32ac2822ac3fd14452d7a230aa268c7e7621.tar.gz
carreira-038f32ac2822ac3fd14452d7a230aa268c7e7621.tar.bz2
carreira-038f32ac2822ac3fd14452d7a230aa268c7e7621.zip
media-video/calyp: version bump 2.1.0
Package-Manager: Portage-3.0.28, 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.1.0.ebuild47
-rw-r--r--media-video/calyp/calyp-9999.ebuild9
3 files changed, 48 insertions, 9 deletions
diff --git a/media-video/calyp/Manifest b/media-video/calyp/Manifest
index 1145e18..3985147 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.1.0.tar.gz 993039 SHA256 2ca65ab8b620e66d77e28543344b298d5dcb1e837227f93fc691669cb853f472 SHA512 d375da71abe12f24bd4953f85584d440e846dd5afee5fdfa01e167d2bde833743e6cdf4443ba9bf4a4b395ef91bad855468de4cb9fffe9aa6a252735cbaaa333 WHIRLPOOL 20192e6c324d07212b85e9a676c992d0b7e5771ff42a0f17f67082e73de769667a3c8cf5aeb08b364e6fc5df2fdc3562a0b84e6aa7b543642e0e6791373e80b8
diff --git a/media-video/calyp/calyp-2.1.0.ebuild b/media-video/calyp/calyp-2.1.0.ebuild
new file mode 100644
index 0000000..5078c2e
--- /dev/null
+++ b/media-video/calyp/calyp-2.1.0.ebuild
@@ -0,0 +1,47 @@
+# 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/refs/tags/${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=(
+ -DFETCHCONTENT_FULLY_DISCONNECTED=ON # avoid to fetch content
+ -DUSE_SSE=$(usex cpu_flags_x86_sse)
+ -DBUILD_APP=$(usex qt5 )
+ -DUSE_FFMPEG=$(usex ffmpeg)
+ -DUSE_OPENCV=$(usex opencv)
+ -DUSE_STATIC=$(usex static-libs)
+ )
+ cmake_src_configure
+}
diff --git a/media-video/calyp/calyp-9999.ebuild b/media-video/calyp/calyp-9999.ebuild
index d2015d9..61163d3 100644
--- a/media-video/calyp/calyp-9999.ebuild
+++ b/media-video/calyp/calyp-9999.ebuild
@@ -12,9 +12,6 @@ LICENSE="GPL-2"
EGIT_REPO_URI="https://github.com/pixlra/calyp.git"
EGIT_BRANCH="master"
-EGIT_OVERRIDE_COMMIT_FOONATHAN_TYPE_SAFE="a7741b85137017b32f076c606978a3e981aeed42"
-EGIT_OVERRIDE_BRANCH_FOONATHAN_TYPE_SAFE="main"
-
SLOT=0
KEYWORDS=""
@@ -39,12 +36,6 @@ RDEPEND="
${DEPEND}
"
-src_unpack() {
- git-r3_src_unpack
- git-r3_fetch "https://github.com/foonathan/type_safe"
- git-r3_checkout "https://github.com/foonathan/type_safe" "${S}/deps/type_safe"
-}
-
src_configure() {
local mycmakeargs=(
-DFETCHCONTENT_FULLY_DISCONNECTED=ON # avoid to fetch content