summaryrefslogtreecommitdiff
path: root/user/spectacle
diff options
context:
space:
mode:
Diffstat (limited to 'user/spectacle')
-rw-r--r--user/spectacle/APKBUILD8
-rw-r--r--user/spectacle/kconfig.patch40
2 files changed, 3 insertions, 45 deletions
diff --git a/user/spectacle/APKBUILD b/user/spectacle/APKBUILD
index 653b3487f..9592e765f 100644
--- a/user/spectacle/APKBUILD
+++ b/user/spectacle/APKBUILD
@@ -1,7 +1,7 @@
# Contributor: A. Wilcox <awilfox@adelielinux.org>
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=spectacle
-pkgver=19.08.0
+pkgver=19.08.1
pkgrel=0
pkgdesc="Application for capturing desktop screenshots"
url="https://www.kde.org/applications/graphics/spectacle/"
@@ -16,7 +16,6 @@ makedepends="cmake extra-cmake-modules qt5-qtbase-dev qt5-qtdeclarative-dev
subpackages="$pkgname-doc $pkgname-lang"
source="https://download.kde.org/stable/applications/$pkgver/src/spectacle-$pkgver.tar.xz
qt5.9.patch
- kconfig.patch
"
build() {
@@ -43,6 +42,5 @@ package() {
make DESTDIR="$pkgdir" install
}
-sha512sums="3581db1a0135e0942c3ddddeb8b8bf7d913e0bb45576a5a3982d24793bfab75f9ae66dc40db5708cdcadd950bd977a7c85ad44e20d8c8b50c2cf0e219cb89a97 spectacle-19.08.0.tar.xz
-781e1611026a45232fa117b90a1520bed380e512ae2e0690785a960f897342284ce0c553d8fb22caf10fd34c3823ee7dacb770815c871808345c1bb05126b74f qt5.9.patch
-9119ea6e7662f92a6daa37f16fbc634668cc179b872bc07173227b44821a2ebfbe15f083e3203a4abebd5380fffbb647e506c56466b743a8dd29e798cebd84e3 kconfig.patch"
+sha512sums="0ebaff47cbb3406747a49d7f814f154b4e139a7f4461da389fcf65b347f9272e2c85a772886fb0819cfc539d1d878e5acda622331cf5220ef263412663f24fa6 spectacle-19.08.1.tar.xz
+781e1611026a45232fa117b90a1520bed380e512ae2e0690785a960f897342284ce0c553d8fb22caf10fd34c3823ee7dacb770815c871808345c1bb05126b74f qt5.9.patch"
diff --git a/user/spectacle/kconfig.patch b/user/spectacle/kconfig.patch
deleted file mode 100644
index 2d1860f2e..000000000
--- a/user/spectacle/kconfig.patch
+++ /dev/null
@@ -1,40 +0,0 @@
-From cab0844fef8bc6e7491978307245aadf65d64409 Mon Sep 17 00:00:00 2001
-From: "A. Wilcox" <AWilcox@Wilcox-Tech.com>
-Date: Thu, 15 Aug 2019 09:05:28 -0500
-Subject: [PATCH] Define QT_NO_FOREACH only if KConfig > 5.56.0
-
-Spectacle cannot be compiled with KConfig <= 5.56.0 otherwise, because
-KConfig uses Q_FOREACH in its public headers.
-
-Tested on: KConfig 5.54.0 / Qt 5.9.7
----
- CMakeLists.txt | 6 +++++-
- 1 file changed, 5 insertions(+), 1 deletion(-)
-
-diff --git a/CMakeLists.txt b/CMakeLists.txt
-index 78eae41..79eb869 100644
---- a/CMakeLists.txt
-+++ b/CMakeLists.txt
-@@ -40,7 +40,7 @@ include(FeatureSummary)
- include(ECMQtDeclareLoggingCategory)
- include(ECMAddTests)
-
--add_definitions(-DQT_NO_URL_CAST_FROM_STRING -DQT_NO_CAST_FROM_ASCII -DQT_NO_FOREACH)
-+add_definitions(-DQT_NO_URL_CAST_FROM_STRING -DQT_NO_CAST_FROM_ASCII)
-
- find_package(
- Qt5 ${QT_MIN_VERSION} CONFIG REQUIRED
-@@ -67,6 +67,10 @@ find_package(
- XmlGui
- )
-
-+if(${KF5Config_VERSION} STRGREATER "5.56.0")
-+ add_definitions(-DQT_NO_FOREACH)
-+endif()
-+
- # optional components
-
- find_package(KF5Kipi)
---
-2.22.0
-