summaryrefslogtreecommitdiff
path: root/user/kdiamond
diff options
context:
space:
mode:
Diffstat (limited to 'user/kdiamond')
-rw-r--r--user/kdiamond/APKBUILD12
-rw-r--r--user/kdiamond/ridiculous-qt.patch11
2 files changed, 17 insertions, 6 deletions
diff --git a/user/kdiamond/APKBUILD b/user/kdiamond/APKBUILD
index 03b3d2691..76d596f51 100644
--- a/user/kdiamond/APKBUILD
+++ b/user/kdiamond/APKBUILD
@@ -1,7 +1,7 @@
# Contributor: A. Wilcox <awilfox@adelielinux.org>
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=kdiamond
-pkgver=19.04.3
+pkgver=19.08.0
pkgrel=0
pkgdesc="Three-in-a-row game"
url="https://games.kde.org/game.php?game=kdiamond"
@@ -13,10 +13,11 @@ makedepends="cmake extra-cmake-modules qt5-qtbase-dev kcoreaddons-dev
ki18n-dev kconfigwidgets-dev kxmlgui-dev knotifications-dev
knotifyconfig-dev libkdegames-dev"
subpackages="$pkgname-doc $pkgname-lang"
-source="https://download.kde.org/stable/applications/$pkgver/src/kdiamond-$pkgver.tar.xz"
+source="https://download.kde.org/stable/applications/$pkgver/src/kdiamond-$pkgver.tar.xz
+ ridiculous-qt.patch
+ "
build() {
- cd "$builddir"
if [ "$CBUILD" != "$CHOST" ]; then
CMAKE_CROSSOPTS="-DCMAKE_SYSTEM_NAME=Linux -DCMAKE_HOST_SYSTEM_NAME=Linux"
fi
@@ -32,13 +33,12 @@ build() {
}
check() {
- cd "$builddir"
CTEST_OUTPUT_ON_FAILURE=TRUE ctest
}
package() {
- cd "$builddir"
make DESTDIR="$pkgdir" install
}
-sha512sums="04888283d7efeff81e9b5354fd8b1ee64e66100a36d247182781a40c74b73c3ce485c54f2e3d840297d5863a37eb2b8e849316b8acfbda6447608ebdc86f5c87 kdiamond-19.04.3.tar.xz"
+sha512sums="2215cb386ee8617e8d88df8f31782de9e36ccf7680c8f59e6215ddaa86e403a222d778a6a2e2f15f26543a9d9ec3986e5a5448d034b810de1b210bad2f8dc6fd kdiamond-19.08.0.tar.xz
+b29c091b45376fa83192b0cd2876de7323648caa597e610c3d13d883ee0df269e9aa9e5367469e0d787a147ade590e6cd1b2c04162da0e8405220067d4e44129 ridiculous-qt.patch"
diff --git a/user/kdiamond/ridiculous-qt.patch b/user/kdiamond/ridiculous-qt.patch
new file mode 100644
index 000000000..8e042f59a
--- /dev/null
+++ b/user/kdiamond/ridiculous-qt.patch
@@ -0,0 +1,11 @@
+--- kdiamond-19.08.0/CMakeLists.txt.old 2019-08-09 00:27:58.000000000 +0000
++++ kdiamond-19.08.0/CMakeLists.txt 2019-08-15 12:36:41.785854337 +0000
+@@ -1,7 +1,7 @@
+ cmake_minimum_required (VERSION 3.5 FATAL_ERROR)
+ project(kdiamond)
+
+-set (QT_MIN_VERSION "5.10.0")
++set (QT_MIN_VERSION "5.9.0")
+ set (KF5_MIN_VERSION "5.46.0")
+
+ find_package(ECM ${KF5_MIN_VERSION} REQUIRED CONFIG)