From 5f5e0a7258a76eccc3dc79434a1ae11dd7f60110 Mon Sep 17 00:00:00 2001 From: Joao Carreira Date: Sat, 23 Jan 2021 15:16:30 +0000 Subject: media-video/calyp: fix 1.0.0 dependencies Package-Manager: Portage-3.0.14, Repoman-3.0.2 Signed-off-by: Joao Carreira --- media-video/calyp/calyp-1.0.0-r1.ebuild | 45 +++++++++++++++++++++++++++++++++ media-video/calyp/calyp-1.0.0.ebuild | 45 --------------------------------- media-video/calyp/calyp-9999.ebuild | 8 +++--- 3 files changed, 49 insertions(+), 49 deletions(-) create mode 100644 media-video/calyp/calyp-1.0.0-r1.ebuild delete mode 100644 media-video/calyp/calyp-1.0.0.ebuild diff --git a/media-video/calyp/calyp-1.0.0-r1.ebuild b/media-video/calyp/calyp-1.0.0-r1.ebuild new file mode 100644 index 0000000..7f81e46 --- /dev/null +++ b/media-video/calyp/calyp-1.0.0-r1.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 +} diff --git a/media-video/calyp/calyp-1.0.0.ebuild b/media-video/calyp/calyp-1.0.0.ebuild deleted file mode 100644 index 3f99e78..0000000 --- a/media-video/calyp/calyp-1.0.0.ebuild +++ /dev/null @@ -1,45 +0,0 @@ -# Copyright 1999-2018 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -inherit eutils cmake-utils - -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? ( virtual/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 d1d9728..a1faee0 100644 --- a/media-video/calyp/calyp-9999.ebuild +++ b/media-video/calyp/calyp-9999.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2019 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=6 +EAPI=7 -inherit eutils cmake-utils git-r3 +inherit eutils cmake git-r3 DESCRIPTION="Calyp is an open-source QT based raw video player" HOMEPAGE="https://github.com/pixlra/calyp" @@ -27,7 +27,7 @@ DEPEND=" dev-qt/qtprintsupport:5 dev-qt/qtwidgets:5 ) - ffmpeg? ( virtual/ffmpeg ) + ffmpeg? ( media-video/ffmpeg ) opencv? ( media-libs/opencv ) " -- cgit v1.2.3-65-gdbad