summaryrefslogtreecommitdiff
path: root/user/spectacle
diff options
context:
space:
mode:
Diffstat (limited to 'user/spectacle')
-rw-r--r--user/spectacle/APKBUILD12
-rw-r--r--user/spectacle/qt5.9.patch23
2 files changed, 5 insertions, 30 deletions
diff --git a/user/spectacle/APKBUILD b/user/spectacle/APKBUILD
index 0eab09c31..2a9add16f 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.2
+pkgver=19.12.0
pkgrel=0
pkgdesc="Application for capturing desktop screenshots"
url="https://www.kde.org/applications/graphics/spectacle/"
@@ -14,9 +14,8 @@ makedepends="cmake extra-cmake-modules qt5-qtbase-dev qt5-qtdeclarative-dev
kdoctools-dev kdeclarative-dev xcb-util-image-dev xcb-util-cursor-dev
libxcb-dev xcb-util-renderutil-dev knewstuff-dev libkipi-dev"
subpackages="$pkgname-doc $pkgname-lang"
-source="https://download.kde.org/stable/applications/$pkgver/src/spectacle-$pkgver.tar.xz
+source="https://download.kde.org/stable/release-service/$pkgver/src/spectacle-$pkgver.tar.xz
no-wayland.patch
- qt5.9.patch
"
build() {
@@ -31,7 +30,7 @@ build() {
-DCMAKE_CXX_FLAGS="$CXXFLAGS" \
-DCMAKE_C_FLAGS="$CFLAGS" \
-DBUILD_TESTING=OFF \
- ${CMAKE_CROSSOPTS}
+ ${CMAKE_CROSSOPTS} .
make
}
@@ -43,6 +42,5 @@ package() {
make DESTDIR="$pkgdir" install
}
-sha512sums="a03dbe13aa0e0cea07b6505ead130946233574863fc5994d42a971d8a9ae0a24be5e4dfab38640857d5bb89f33dc3736bad7e87a3a76aa83b450156e8db96723 spectacle-19.08.2.tar.xz
-36665d1b7d8b7c8004e457179f03fff1eed3865ee3e558f44f19022b80e39bbb2659de3e7b9affe654d5dbc5077890b38b6b4351f3a43324733749fbd36880ac no-wayland.patch
-781e1611026a45232fa117b90a1520bed380e512ae2e0690785a960f897342284ce0c553d8fb22caf10fd34c3823ee7dacb770815c871808345c1bb05126b74f qt5.9.patch"
+sha512sums="b1ae329943876d4f634d3112304ab4f21a6fa24526ad15d19e2a058506c41a40c872c62ce58ed988c416334d08219c4d93fc57adcb8292ad32cc260b9ffee6c7 spectacle-19.12.0.tar.xz
+36665d1b7d8b7c8004e457179f03fff1eed3865ee3e558f44f19022b80e39bbb2659de3e7b9affe654d5dbc5077890b38b6b4351f3a43324733749fbd36880ac no-wayland.patch"
diff --git a/user/spectacle/qt5.9.patch b/user/spectacle/qt5.9.patch
deleted file mode 100644
index aa830f86b..000000000
--- a/user/spectacle/qt5.9.patch
+++ /dev/null
@@ -1,23 +0,0 @@
---- spectacle-19.04.0/CMakeLists.txt.old 2019-04-12 00:06:23.000000000 +0000
-+++ spectacle-19.04.0/CMakeLists.txt 2019-04-18 22:57:10.598054362 +0000
-@@ -11,7 +11,7 @@
- # Spectacle project
- project(Spectacle VERSION ${SPECTACLE_VERSION})
-
--set(QT_MIN_VERSION "5.10.0")
-+set(QT_MIN_VERSION "5.9.0")
- set(KF5_MIN_VERSION "5.53.0")
- set(PLASMA_MIN_VERSION "5.12.0")
-
---- spectacle-19.04.0/src/SpectacleCore.cpp.old 2019-04-11 07:37:14.000000000 +0000
-+++ spectacle-19.04.0/src/SpectacleCore.cpp 2019-04-18 22:57:46.694193923 +0000
-@@ -165,8 +165,7 @@
- break;
- case Actions::StartNewInstance:
- QProcess newInstance;
-- newInstance.setProgram(QStringLiteral("spectacle"));
-- newInstance.startDetached();
-+ newInstance.startDetached(QStringLiteral("spectacle"));
- break;
- }
- }