summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'kde-apps/klines')
-rw-r--r--kde-apps/klines/Manifest1
-rw-r--r--kde-apps/klines/files/klines-19.08.3-qt-5.14.patch24
-rw-r--r--kde-apps/klines/klines-19.08.3.ebuild38
3 files changed, 63 insertions, 0 deletions
diff --git a/kde-apps/klines/Manifest b/kde-apps/klines/Manifest
index 48ca5aa01c5c..42004265180a 100644
--- a/kde-apps/klines/Manifest
+++ b/kde-apps/klines/Manifest
@@ -1,2 +1,3 @@
DIST klines-19.04.3.tar.xz 1781072 BLAKE2B 0f5fc6c4ed932789ed005424d203a207868999f762c7335b5230d630fe262a0403a8e782213f10cbd92dc9585a66fb65d4656b7fdc5386c64b74bb98c2e4b02f SHA512 08062210b9dd0b47b3a9cbb022579752a72bd509e5f4e9d32242442b01f3e14eea1a0fd22cb77feddb98e82e5615dcb36830e0cf87767622ad25b5613a25aa56
DIST klines-19.08.2.tar.xz 1780672 BLAKE2B 8d7234bb084aee0cabae4372b455ead1d6c53bac58021cc2f8f005dc30fc0bbd9798c411d1039699f2e60d5b60d4505e1df53e2aa208a5876b4219ea6a788576 SHA512 b1bf8d6960f5a48f687574b10abed362cacfdd4b644f9148e913206a809b4a9215b08bd4492be5df3c5e02d76a0894a5c9290f692f74779c476c5d2862c698cb
+DIST klines-19.08.3.tar.xz 1781396 BLAKE2B d763f9f7e957688ccc5706bd0066e58e9c262c752b29d484897fe81666bd68fc795cea12ec35ab84a7fac9a674d732c87c88145230ff4c8bed545a3ff7cf913a SHA512 485ff5f504eaea9d40251428b48ea629b042a6b4ec58cf571510e1f257369030774dcb8861095eb7114e1adb09fb19d08d7e9fb14c91cacbf9d28c27da450f8c
diff --git a/kde-apps/klines/files/klines-19.08.3-qt-5.14.patch b/kde-apps/klines/files/klines-19.08.3-qt-5.14.patch
new file mode 100644
index 000000000000..d7507ede611b
--- /dev/null
+++ b/kde-apps/klines/files/klines-19.08.3-qt-5.14.patch
@@ -0,0 +1,24 @@
+From 88d61f11f762cb922a7bef7b7cb1bfbb5bb148c5 Mon Sep 17 00:00:00 2001
+From: Laurent Montel <montel@kde.org>
+Date: Wed, 30 Oct 2019 13:34:13 +0100
+Subject: Make it compile against qt5.15, This enum is unused
+
+---
+ mwidget.cpp | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/mwidget.cpp b/mwidget.cpp
+index e813ebe..3e31f6b 100644
+--- a/mwidget.cpp
++++ b/mwidget.cpp
+@@ -39,7 +39,7 @@ MainWidget::MainWidget( QWidget* parent )
+ klview->setHorizontalScrollBarPolicy( Qt::ScrollBarAlwaysOff );
+ klview->setFrameStyle(QFrame::NoFrame);
+
+- klview->setOptimizationFlags( QGraphicsView::DontClipPainter |
++ klview->setOptimizationFlags(
+ QGraphicsView::DontSavePainterState |
+ QGraphicsView::DontAdjustForAntialiasing );
+
+--
+cgit v1.1
diff --git a/kde-apps/klines/klines-19.08.3.ebuild b/kde-apps/klines/klines-19.08.3.ebuild
new file mode 100644
index 000000000000..3aa2c7be5b66
--- /dev/null
+++ b/kde-apps/klines/klines-19.08.3.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+ECM_HANDBOOK="forceoptional"
+KDE_SELINUX_MODULE="games"
+PVCUT=$(ver_cut 1-3)
+KFMIN=5.60.0
+QTMIN=5.12.3
+inherit ecm kde.org
+
+DESCRIPTION="A little KDE game about balls and how to get rid of them"
+HOMEPAGE="https://kde.org/applications/games/klines/
+https://games.kde.org/game.php?game=klines"
+LICENSE="GPL-2" # TODO: CHECK
+SLOT="5"
+KEYWORDS="~amd64 ~arm64 ~x86"
+IUSE=""
+
+DEPEND="
+ >=kde-frameworks/kconfig-${KFMIN}:5
+ >=kde-frameworks/kconfigwidgets-${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}"
+
+DOCS=( AUTHORS )
+
+PATCHES=( "${FILESDIR}"/${P}-qt-5.14.patch )