* [gentoo-commits] repo/gentoo:master commit in: kde-apps/kshisen/files/, kde-apps/kshisen/
@ 2022-03-24 10:46 Andreas Sturmlechner
0 siblings, 0 replies; only message in thread
From: Andreas Sturmlechner @ 2022-03-24 10:46 UTC (permalink / raw
To: gentoo-commits
commit: 1cf7dacf1ded9594c109812f5dbdfbe812989d11
Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Thu Mar 24 09:59:48 2022 +0000
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Thu Mar 24 10:46:18 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1cf7dacf
kde-apps/kshisen: Add missing KCoreAddons dep and link
Upstream commit 7d20a5e5db803335890e97c36a491b34ae19efc5
Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
.../files/kshisen-21.12.3-missing-dep.patch | 24 ++++++++++++++++++++++
.../files/kshisen-21.12.3-missing-link.patch | 24 ++++++++++++++++++++++
kde-apps/kshisen/kshisen-21.12.3.ebuild | 8 ++++++--
3 files changed, 54 insertions(+), 2 deletions(-)
diff --git a/kde-apps/kshisen/files/kshisen-21.12.3-missing-dep.patch b/kde-apps/kshisen/files/kshisen-21.12.3-missing-dep.patch
new file mode 100644
index 000000000000..cb2562c29d1f
--- /dev/null
+++ b/kde-apps/kshisen/files/kshisen-21.12.3-missing-dep.patch
@@ -0,0 +1,24 @@
+From 7d20a5e5db803335890e97c36a491b34ae19efc5 Mon Sep 17 00:00:00 2001
+From: Nicolas Fella <nicolas.fella@gmx.de>
+Date: Sun, 20 Mar 2022 16:00:16 +0100
+Subject: [PATCH] Add missing find_package for KCoreAddons
+
+---
+ CMakeLists.txt | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index 178e643..88ab8c5 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -40,6 +40,7 @@ find_package(Qt${QT_MAJOR_VERSION} ${QT_MIN_VERSION} REQUIRED NO_MODULE COMPONEN
+ find_package(Qt${QT_MAJOR_VERSION}QuickWidgets ${REQUIRED_QT_VERSION} CONFIG)
+
+ find_package(KF5 ${KF5_MIN_VERSION} REQUIRED COMPONENTS
++ CoreAddons
+ Config
+ Crash
+ DBusAddons
+--
+GitLab
+
diff --git a/kde-apps/kshisen/files/kshisen-21.12.3-missing-link.patch b/kde-apps/kshisen/files/kshisen-21.12.3-missing-link.patch
new file mode 100644
index 000000000000..3e1876a11363
--- /dev/null
+++ b/kde-apps/kshisen/files/kshisen-21.12.3-missing-link.patch
@@ -0,0 +1,24 @@
+From f082a03135631972ec8b2ec257e11b31cae7641c Mon Sep 17 00:00:00 2001
+From: Nicolas Fella <nicolas.fella@gmx.de>
+Date: Sun, 20 Mar 2022 15:54:08 +0100
+Subject: [PATCH] Add missing KCoreAddons link
+
+---
+ src/CMakeLists.txt | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
+index 09c287d..b0a3a1a 100644
+--- a/src/CMakeLists.txt
++++ b/src/CMakeLists.txt
+@@ -39,6 +39,7 @@ target_link_libraries(kshisen
+ KF5KDEGames
+ KF5KDEGamesPrivate
+ KF5KMahjongglib
++ KF5::CoreAddons
+ KF5::Crash
+ KF5::DBusAddons
+ KF5::I18n
+--
+GitLab
+
diff --git a/kde-apps/kshisen/kshisen-21.12.3.ebuild b/kde-apps/kshisen/kshisen-21.12.3.ebuild
index 01da359f97f4..90638ee2cc62 100644
--- a/kde-apps/kshisen/kshisen-21.12.3.ebuild
+++ b/kde-apps/kshisen/kshisen-21.12.3.ebuild
@@ -11,8 +11,7 @@ QTMIN=5.15.2
inherit ecm kde.org
DESCRIPTION="Solitaire-like game played using the standard set of Mahjong tiles"
-HOMEPAGE="https://apps.kde.org/kshisen/
-https://games.kde.org/games/kshisen/"
+HOMEPAGE="https://apps.kde.org/kshisen/ https://games.kde.org/games/kshisen/"
LICENSE="GPL-2" # TODO: CHECK
SLOT="5"
@@ -34,3 +33,8 @@ DEPEND="
>=kde-frameworks/kxmlgui-${KFMIN}:5
"
RDEPEND="${DEPEND}"
+
+PATCHES=(
+ "${FILESDIR}/${P}-missing-dep.patch"
+ "${FILESDIR}/${P}-missing-link.patch"
+)
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2022-03-24 10:46 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-03-24 10:46 [gentoo-commits] repo/gentoo:master commit in: kde-apps/kshisen/files/, kde-apps/kshisen/ Andreas Sturmlechner
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox