diff options
author | Andreas Sturmlechner <asturm@gentoo.org> | 2022-03-24 10:59:48 +0100 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2022-03-24 11:46:18 +0100 |
commit | 1cf7dacf1ded9594c109812f5dbdfbe812989d11 (patch) | |
tree | cd44a3c280b91e476169c57fb90953fe06436b1d /kde-apps/kshisen | |
parent | kde-apps/bovo: Add missing KCoreAddons link (diff) | |
download | gentoo-1cf7dacf1ded9594c109812f5dbdfbe812989d11.tar.gz gentoo-1cf7dacf1ded9594c109812f5dbdfbe812989d11.tar.bz2 gentoo-1cf7dacf1ded9594c109812f5dbdfbe812989d11.zip |
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@gentoo.org>
Diffstat (limited to 'kde-apps/kshisen')
-rw-r--r-- | kde-apps/kshisen/files/kshisen-21.12.3-missing-dep.patch | 24 | ||||
-rw-r--r-- | kde-apps/kshisen/files/kshisen-21.12.3-missing-link.patch | 24 | ||||
-rw-r--r-- | 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" +) |