summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoao Carreira <jfmcarreira@gmail.com>2021-11-27 23:23:41 +0000
committerJoao Carreira <jfmcarreira@gmail.com>2021-11-27 23:23:41 +0000
commitce845a2655985710c7554f34bf4b849355bb0b11 (patch)
tree3cc875a42557958f6ccb630a5037ee2918e36180
parentmedia-video/calyp: version bump 2.0.1 (diff)
downloadcarreira-ce845a2655985710c7554f34bf4b849355bb0b11.tar.gz
carreira-ce845a2655985710c7554f34bf4b849355bb0b11.tar.bz2
carreira-ce845a2655985710c7554f34bf4b849355bb0b11.zip
media-video/calyp: update 9999 build
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.0.1.ebuild45
-rw-r--r--media-video/calyp/calyp-9999.ebuild10
3 files changed, 10 insertions, 46 deletions
diff --git a/media-video/calyp/Manifest b/media-video/calyp/Manifest
index 0e5b609..1145e18 100644
--- a/media-video/calyp/Manifest
+++ b/media-video/calyp/Manifest
@@ -1,2 +1 @@
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
deleted file mode 100644
index 7f81e46..0000000
--- a/media-video/calyp/calyp-2.0.1.ebuild
+++ /dev/null
@@ -1,45 +0,0 @@
-# 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
-}
diff --git a/media-video/calyp/calyp-9999.ebuild b/media-video/calyp/calyp-9999.ebuild
index e242ad8..d2015d9 100644
--- a/media-video/calyp/calyp-9999.ebuild
+++ b/media-video/calyp/calyp-9999.ebuild
@@ -12,6 +12,9 @@ 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=""
@@ -36,8 +39,15 @@ 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
-DUSE_SSE=$(usex cpu_flags_x86_sse)
-DBUILD_APP=$(usex qt5 )
-DUSE_FFMPEG=$(usex ffmpeg)