diff options
author | Andreas Sturmlechner <asturm@gentoo.org> | 2019-11-10 20:11:31 +0100 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2019-11-10 22:30:22 +0100 |
commit | 3fa6d920893766911f27b7775c0492b409944e6a (patch) | |
tree | 108d14d03f0cae1229fb85b03791e4cc3f3a8bb9 /kde-apps/kollision | |
parent | kde-frameworks: Add KDE Frameworks 5.64.0 (diff) | |
download | gentoo-3fa6d920893766911f27b7775c0492b409944e6a.tar.gz gentoo-3fa6d920893766911f27b7775c0492b409944e6a.tar.bz2 gentoo-3fa6d920893766911f27b7775c0492b409944e6a.zip |
kde-apps: Add KDE Applications 19.08.3
Package-Manager: Portage-2.3.79, Repoman-2.3.18
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 98a121733185..a76996fb6293 100644 --- a/kde-apps/kollision/Manifest +++ b/kde-apps/kollision/Manifest @@ -1,2 +1,3 @@ DIST kollision-19.04.3.tar.xz 280592 BLAKE2B 067f8393159c12446bde93c88bdcc4e1cde2ac4affff5d4c0ee5d95a9c96b009af8531bbb40e9c48622be0b5ead8f18b9129529e42bee483362acb6420baa6f0 SHA512 5b18ab96f5227f2900dbe5a5255f5e837bb34990661273327eeef53cdba7aed53cdf282f7287ea2fd0fd4849aa3009f96dc3d59bb23459bcf6477d3338ade74a DIST kollision-19.08.2.tar.xz 280732 BLAKE2B 3946acaf54ad6f13911812d628726cb21f731fbfb691178380e3b04c783a4570b934562c7b5b67adb5ead9e05a6f5b0f044ff5a90971a5da5fd55846e1c5416e SHA512 3f53ddda075ccc0afb41d2a85db7fd2192fb6c78703b11ea09969f77c8c860efa45a86aafb870d911fd5d5486af280fa235f9ba204f42539d2bbbe61d7dbe921 +DIST kollision-19.08.3.tar.xz 280844 BLAKE2B e9f2aa8de4d414676775427c1940390db6298b9bc0aab338f57d85513a20d4efe0cf02b0ff5c755010d68b53b5db36a8c74661da64990b8a9a2fbaea5a96fe05 SHA512 e19d14db64942cc0c1355ba465bc64c6721fc3e723c60ab1ef7b48525747ddebb43551772eaddc15dccdf991e8c11452686cb5590c22b66bf90ca088850e133f 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..c36210ecc3ca --- /dev/null +++ b/kde-apps/kollision/kollision-19.08.3.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2019 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="~amd64 ~arm64 ~x86" +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 ) |