summaryrefslogtreecommitdiff
path: root/user/ksnakeduel
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2019-08-15 16:05:09 +0000
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2019-08-15 16:05:09 +0000
commit2ceb6f3abca081464614cf99a42ae76c396c8f26 (patch)
tree1b8dddf72f0e88e1c0a4a3c809089b3a99423697 /user/ksnakeduel
parentf1086867c788eec4c8cd02317f8970105289efc0 (diff)
downloadpackages-2ceb6f3abca081464614cf99a42ae76c396c8f26.tar.gz
packages-2ceb6f3abca081464614cf99a42ae76c396c8f26.tar.bz2
packages-2ceb6f3abca081464614cf99a42ae76c396c8f26.tar.xz
packages-2ceb6f3abca081464614cf99a42ae76c396c8f26.zip
user/[KDE Applications]: Bump to 19.08.0
Diffstat (limited to 'user/ksnakeduel')
-rw-r--r--user/ksnakeduel/APKBUILD12
-rw-r--r--user/ksnakeduel/ridiculous-qt.patch11
2 files changed, 17 insertions, 6 deletions
diff --git a/user/ksnakeduel/APKBUILD b/user/ksnakeduel/APKBUILD
index 0d16a38d6..990da0b75 100644
--- a/user/ksnakeduel/APKBUILD
+++ b/user/ksnakeduel/APKBUILD
@@ -1,7 +1,7 @@
# Contributor: A. Wilcox <awilfox@adelielinux.org>
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=ksnakeduel
-pkgver=19.04.3
+pkgver=19.08.0
pkgrel=0
pkgdesc="Tron-like game"
url="https://www.kde.org/applications/games/ksnakeduel/"
@@ -13,10 +13,11 @@ makedepends="cmake extra-cmake-modules qt5-qtbase-dev qt5-qtsvg-dev kconfig-dev
kdbusaddons-dev kguiaddons-dev kwidgetsaddons-dev kxmlgui-dev
libkdegames-dev"
subpackages="$pkgname-doc $pkgname-lang"
-source="https://download.kde.org/stable/applications/$pkgver/src/ksnakeduel-$pkgver.tar.xz"
+source="https://download.kde.org/stable/applications/$pkgver/src/ksnakeduel-$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="b56b8aa7223aff96fbddd016bcd907f28786ca65426a4881c4c2432108b8efeaf8b176a3cf803161a4e351d958e0f00580a2e0190766e51401a8b8850e1e1658 ksnakeduel-19.04.3.tar.xz"
+sha512sums="91eb1d9b7fdb7350a43282b422df5b66dd5cce636545c41d9d08beb2438d820e034e46bfe61d42ea29fa9ea43b05bb928d349cdc92c1eee857a66eca52e6551b ksnakeduel-19.08.0.tar.xz
+8f21639ca5b17f6b0bd5d76c65fb59e29c9e8b6cceb95d2c86795b9f20d6d282926c75e0eaba2b1878a0bd9698c1d7326b549e4a2f8c7802254a1d516672fcbb ridiculous-qt.patch"
diff --git a/user/ksnakeduel/ridiculous-qt.patch b/user/ksnakeduel/ridiculous-qt.patch
new file mode 100644
index 000000000..14cc95264
--- /dev/null
+++ b/user/ksnakeduel/ridiculous-qt.patch
@@ -0,0 +1,11 @@
+--- ksnakeduel-19.08.0/CMakeLists.txt.old 2019-08-09 00:30:10.000000000 +0000
++++ ksnakeduel-19.08.0/CMakeLists.txt 2019-08-15 13:12:41.473994535 +0000
+@@ -1,7 +1,7 @@
+ cmake_minimum_required (VERSION 3.5 FATAL_ERROR)
+ project(ksnakeduel)
+
+-set (QT_MIN_VERSION "5.10.0")
++set (QT_MIN_VERSION "5.9.0")
+ set (KF5_MIN_VERSION "5.40.0")
+
+ find_package(ECM ${KF5_MIN_VERSION} REQUIRED CONFIG)