diff options
author | Andreas Sturmlechner <asturm@gentoo.org> | 2020-03-19 02:34:04 +0100 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2020-03-19 02:34:50 +0100 |
commit | 69bda468b16a78ac6fcd84b1c08671bc6ea74726 (patch) | |
tree | ffa226d7d06da09349b8cb8129a85a23ce627174 /kde-apps/kollision | |
parent | ecm.eclass: Drop KDE Applications 19.08.3 support (diff) | |
download | gentoo-69bda468b16a78ac6fcd84b1c08671bc6ea74726.tar.gz gentoo-69bda468b16a78ac6fcd84b1c08671bc6ea74726.tar.bz2 gentoo-69bda468b16a78ac6fcd84b1c08671bc6ea74726.zip |
kde-apps: Re-add KDE Applications 19.08.3 for arm64 only
Package-Manager: Portage-2.3.94, Repoman-2.3.21
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'kde-apps/kollision')
-rw-r--r-- | kde-apps/kollision/Manifest | 1 | ||||
-rw-r--r-- | kde-apps/kollision/files/kollision-19.08.3-qt-5.14-1.patch | 56 | ||||
-rw-r--r-- | kde-apps/kollision/files/kollision-19.08.3-qt-5.14-2.patch | 24 | ||||
-rw-r--r-- | kde-apps/kollision/kollision-19.08.3.ebuild | 36 |
4 files changed, 117 insertions, 0 deletions
diff --git a/kde-apps/kollision/Manifest b/kde-apps/kollision/Manifest index cac1f36867a7..e89b8e8d9d14 100644 --- a/kde-apps/kollision/Manifest +++ b/kde-apps/kollision/Manifest @@ -1 +1,2 @@ +DIST kollision-19.08.3.tar.xz 280844 BLAKE2B e9f2aa8de4d414676775427c1940390db6298b9bc0aab338f57d85513a20d4efe0cf02b0ff5c755010d68b53b5db36a8c74661da64990b8a9a2fbaea5a96fe05 SHA512 e19d14db64942cc0c1355ba465bc64c6721fc3e723c60ab1ef7b48525747ddebb43551772eaddc15dccdf991e8c11452686cb5590c22b66bf90ca088850e133f DIST kollision-19.12.3.tar.xz 280964 BLAKE2B 5f74c6c4f845981f30848c9efb9f714134dbe4a7fd34900b732d3d7c91b34751af2731188732fab9f836fc3c4997245ad73adcdefbd97962527f17590eec14f4 SHA512 ee37178bdae73db5f0b854dc892100306d9e53afaff8b631555ee50dfd198dee948bac68ad3839c4372055ac1cbf4a6c7610b62fdf511aa9ad5ded47bfdc8141 diff --git a/kde-apps/kollision/files/kollision-19.08.3-qt-5.14-1.patch b/kde-apps/kollision/files/kollision-19.08.3-qt-5.14-1.patch new file mode 100644 index 000000000000..8995827a83ee --- /dev/null +++ b/kde-apps/kollision/files/kollision-19.08.3-qt-5.14-1.patch @@ -0,0 +1,56 @@ +From 77958df9caf1c12ff92380ea4ea382572c2e8447 Mon Sep 17 00:00:00 2001 +From: Laurent Montel <montel@kde.org> +Date: Tue, 17 Sep 2019 13:39:36 +0200 +Subject: Make it compiles against qt5.14 + +--- + animator.h | 4 ++-- + mainarea.h | 4 ++-- + 2 files changed, 4 insertions(+), 4 deletions(-) + +diff --git a/animator.h b/animator.h +index 3fc944e..5a501f4 100644 +--- a/animator.h ++++ b/animator.h +@@ -12,7 +12,7 @@ + + #include "animation.h" + #include <QTimer> +-#include <QTime> ++#include <QElapsedTimer> + + class Animator : public AnimationGroup + { +@@ -27,7 +27,7 @@ public slots: + void tick(); + private: + QTimer m_timer; +- QTime m_time; ++ QElapsedTimer m_time; + }; + + #endif // ANIMATOR_H +diff --git a/mainarea.h b/mainarea.h +index 782ad21..2a6bae1 100644 +--- a/mainarea.h ++++ b/mainarea.h +@@ -11,7 +11,7 @@ + #ifndef MAINAREA_H + #define MAINAREA_H + +-#include <QTimer> ++#include <QElapsedTimer> + #include <QTime> + #include <QList> + #include <QGraphicsScene> +@@ -35,7 +35,7 @@ private: + QTimer m_timer; + int m_lastTime; + int m_lastGameTime; +- QTime m_time; ++ QElapsedTimer m_time; + + /// time interval between two balls being added + int m_ball_timeout; +-- +cgit v1.1 diff --git a/kde-apps/kollision/files/kollision-19.08.3-qt-5.14-2.patch b/kde-apps/kollision/files/kollision-19.08.3-qt-5.14-2.patch new file mode 100644 index 000000000000..d665345c7120 --- /dev/null +++ b/kde-apps/kollision/files/kollision-19.08.3-qt-5.14-2.patch @@ -0,0 +1,24 @@ +From 09de155160c41b2746623a3e4b338da7d79f553a Mon Sep 17 00:00:00 2001 +From: Laurent Montel <montel@kde.org> +Date: Wed, 30 Oct 2019 13:33:41 +0100 +Subject: Make it compile against qt5.15, This enum is unused + +--- + mainwindow.cpp | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/mainwindow.cpp b/mainwindow.cpp +index 7ac41c8..ad453fe 100644 +--- a/mainwindow.cpp ++++ b/mainwindow.cpp +@@ -29,7 +29,7 @@ MainWindow::MainWindow() + { + m_main = new MainArea(); + QGraphicsView* view = new QGraphicsView(m_main, this); +- view->setOptimizationFlags( QGraphicsView::DontClipPainter | ++ view->setOptimizationFlags( + QGraphicsView::DontSavePainterState | + QGraphicsView::DontAdjustForAntialiasing ); + // view->setViewportUpdateMode( QGraphicsView::FullViewportUpdate ); +-- +cgit v1.1 diff --git a/kde-apps/kollision/kollision-19.08.3.ebuild b/kde-apps/kollision/kollision-19.08.3.ebuild new file mode 100644 index 000000000000..9f61556d781b --- /dev/null +++ b/kde-apps/kollision/kollision-19.08.3.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +ECM_HANDBOOK="forceoptional" +PVCUT=$(ver_cut 1-3) +KFMIN=5.60.0 +QTMIN=5.12.3 +inherit ecm kde.org + +DESCRIPTION="Simple ball dodging game" +HOMEPAGE=" + https://kde.org/applications/games/kollision/ + https://games.kde.org/game.php?game=kollision +" +LICENSE="GPL-2" # TODO: CHECK +SLOT="5" +KEYWORDS="arm64" +IUSE="" + +DEPEND=" + >=kde-frameworks/kconfig-${KFMIN}:5 + >=kde-frameworks/kcoreaddons-${KFMIN}:5 + >=kde-frameworks/kcrash-${KFMIN}:5 + >=kde-frameworks/kdbusaddons-${KFMIN}:5 + >=kde-frameworks/ki18n-${KFMIN}:5 + >=kde-frameworks/kwidgetsaddons-${KFMIN}:5 + >=kde-frameworks/kxmlgui-${KFMIN}:5 + >=kde-apps/libkdegames-${PVCUT}:5 + >=dev-qt/qtgui-${QTMIN}:5 + >=dev-qt/qtwidgets-${QTMIN}:5 +" +RDEPEND="${DEPEND}" + +PATCHES=( "${FILESDIR}"/${P}-qt-5.14-{1,2}.patch ) |