summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVadim Misbakh-Soloviov <mva@gentoo.org>2022-04-04 23:24:59 +0700
committerVadim Misbakh-Soloviov <mva@gentoo.org>2022-04-04 23:25:19 +0700
commite32644aeb68691880ac94f527757589a106d6496 (patch)
treeb483f2e3b9f37d50c47d1833fb78ff5268d01eb5 /app-misc/qcma
parentapp-misc/qcma: fixing to support ffmpeg5 (diff)
downloadgentoo-e32644aeb68691880ac94f527757589a106d6496.tar.gz
gentoo-e32644aeb68691880ac94f527757589a106d6496.tar.bz2
gentoo-e32644aeb68691880ac94f527757589a106d6496.zip
app-misc/qcma: EAPI8
Package-Manager: Portage-3.0.30, Repoman-3.0.1 Signed-off-by: Vadim Misbakh-Soloviov <mva@gentoo.org>
Diffstat (limited to 'app-misc/qcma')
-rw-r--r--app-misc/qcma/qcma-0.4.1-r1.ebuild45
-rw-r--r--app-misc/qcma/qcma-0.4.2_pre20181227-r1.ebuild47
-rw-r--r--app-misc/qcma/qcma-9999.ebuild2
3 files changed, 93 insertions, 1 deletions
diff --git a/app-misc/qcma/qcma-0.4.1-r1.ebuild b/app-misc/qcma/qcma-0.4.1-r1.ebuild
new file mode 100644
index 000000000000..ea81a432ca9f
--- /dev/null
+++ b/app-misc/qcma/qcma-0.4.1-r1.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit qmake-utils
+
+DESCRIPTION="Cross-platform content manager assistant for the PS Vita"
+HOMEPAGE="https://github.com/codestation/qcma"
+SRC_URI="https://github.com/codestation/qcma/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~x86"
+IUSE="+ffmpeg"
+
+DEPEND="
+ dev-libs/glib:2
+ dev-qt/qtcore:5
+ dev-qt/qtgui:5
+ dev-qt/qtnetwork:5
+ dev-qt/qtsql:5
+ dev-qt/qtwidgets:5
+ media-libs/vitamtp:0
+ ffmpeg? ( media-video/ffmpeg:0 )
+ x11-libs/libnotify:0
+"
+RDEPEND="${DEPEND}"
+BDEPEND="
+ dev-qt/linguist-tools
+"
+
+src_prepare() {
+ # http://ffmpeg.org/pipermail/ffmpeg-devel/2018-February/225051.html
+ sed -r \
+ -e '/av_register_all/d' \
+ -i "${S}"/common/avdecoder.h || die "Failed to fix ffmpeg stuff"
+ rm ChangeLog || die "Failed to rm changelog" # Triggers QA warn (symlink to nowhere)
+ default
+}
+
+src_configure() {
+ lrelease common/resources/translations/*.ts
+ eqmake5 PREFIX="${D}"/usr qcma.pro CONFIG+="QT5_SUFFIX" $(usex ffmpeg "" CONFIG+="DISABLE_FFMPEG")
+}
diff --git a/app-misc/qcma/qcma-0.4.2_pre20181227-r1.ebuild b/app-misc/qcma/qcma-0.4.2_pre20181227-r1.ebuild
new file mode 100644
index 000000000000..5883caf3eddf
--- /dev/null
+++ b/app-misc/qcma/qcma-0.4.2_pre20181227-r1.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit qmake-utils vcs-snapshot
+
+GIT_COMMIT="65f0eab8ca0640447d2e84cdc5fadc66d2c07efb"
+
+DESCRIPTION="Cross-platform content manager assistant for the PS Vita"
+HOMEPAGE="https://github.com/codestation/qcma"
+SRC_URI="https://github.com/codestation/qcma/archive/${GIT_COMMIT}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~x86"
+IUSE="+ffmpeg"
+
+DEPEND="
+ dev-libs/glib:2
+ dev-qt/qtcore:5
+ dev-qt/qtgui:5
+ dev-qt/qtnetwork:5
+ dev-qt/qtsql:5
+ dev-qt/qtwidgets:5
+ media-libs/vitamtp:0
+ ffmpeg? ( media-video/ffmpeg:0 )
+ x11-libs/libnotify:0
+"
+RDEPEND="${DEPEND}"
+BDEPEND="
+ dev-qt/linguist-tools
+"
+
+src_prepare() {
+ # http://ffmpeg.org/pipermail/ffmpeg-devel/2018-February/225051.html
+ sed -r \
+ -e '/av_register_all/d' \
+ -i "${S}"/common/avdecoder.h || die "Failed to fix ffmpeg stuff"
+ rm ChangeLog || die "Failed to rm changelog" # Triggers QA warn (symlink to nowhere)
+ default
+}
+
+src_configure() {
+ lrelease common/resources/translations/*.ts
+ eqmake5 PREFIX="${D}"/usr qcma.pro CONFIG+="QT5_SUFFIX" $(usex ffmpeg "" CONFIG+="DISABLE_FFMPEG")
+}
diff --git a/app-misc/qcma/qcma-9999.ebuild b/app-misc/qcma/qcma-9999.ebuild
index 2af991e90295..8522119a39a7 100644
--- a/app-misc/qcma/qcma-9999.ebuild
+++ b/app-misc/qcma/qcma-9999.ebuild
@@ -1,7 +1,7 @@
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=7
+EAPI=8
inherit qmake-utils git-r3