aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--community/coretoppings/APKBUILD10
-rw-r--r--community/coretoppings/fix-qt5.12-build.patch13
2 files changed, 19 insertions, 4 deletions
diff --git a/community/coretoppings/APKBUILD b/community/coretoppings/APKBUILD
index 77db8002c1..981aa2e5e3 100644
--- a/community/coretoppings/APKBUILD
+++ b/community/coretoppings/APKBUILD
@@ -1,15 +1,16 @@
# Contributor: rahmanshaber <rahmanshaber@yahoo.com>
# Maintainer: rahmanshaber <rahmanshaber@yahoo.com>
pkgname=coretoppings
-pkgver=4.0.0
+pkgver=4.1.0
pkgrel=0
pkgdesc="An activity viewer from the CoreApps family."
arch="all !armhf !s390x !mips64" # qt5-qtlocation, polkit
url="https://gitlab.com/cubocore"
license="GPL-3.0-or-later"
depends="qt5-qtsvg"
-makedepends="qt5-qtbase-dev libcprime-dev qt5-qtx11extras-dev qt5-qtconnectivity-dev qt5-qtlocation-dev libcsys-dev libxcomposite-dev xcb-util-dev libxrender-dev xcb-util-wm-dev"
-source="$pkgname-$pkgver.tar.gz::https://gitlab.com/cubocore/coretoppings/-/archive/v$pkgver/coretoppings-v$pkgver.tar.gz"
+makedepends="qt5-qtbase-dev libcprime-dev qt5-qtx11extras-dev qt5-qtconnectivity-dev qt5-qtlocation-dev libcsys-dev libdbusmenu-qt-dev libxcomposite-dev xcb-util-dev libxrender-dev xcb-util-wm-dev"
+source="$pkgname-$pkgver.tar.gz::https://gitlab.com/cubocore/coretoppings/-/archive/v$pkgver/coretoppings-v$pkgver.tar.gz
+ fix-qt5.12-build.patch"
builddir="$srcdir/$pkgname-v$pkgver"
options="!check" # No test suite
@@ -22,4 +23,5 @@ package() {
INSTALL_ROOT="$pkgdir" make install
}
-sha512sums="469eacf5fa33388d57f7f3b0b84886fee97942b2d77418e454334f62dcaad891f499ec9b5bf4930b46757a2ec67b3cc2f1656530804811ac6eff74c25d110536 coretoppings-4.0.0.tar.gz"
+sha512sums="bbad49c322f5fbf39633a6a56269b3bddde42c8e515b6c25471dbf74f59f24b2217a89593d06b67dda6cca0ef3fc93b50fec1ab7cd523ff23b3c8bad76f0d71e coretoppings-4.1.0.tar.gz
+a7094149d1f2da50baf9d6eb618016eef94a751a27ebe9ae19d00d83f2749f220a9e3d1847482e3c183a5f8e2a91c7ee97f52d95427d8e0d96c7f13ef49dc1fb fix-qt5.12-build.patch"
diff --git a/community/coretoppings/fix-qt5.12-build.patch b/community/coretoppings/fix-qt5.12-build.patch
new file mode 100644
index 0000000000..37f641c23c
--- /dev/null
+++ b/community/coretoppings/fix-qt5.12-build.patch
@@ -0,0 +1,13 @@
+diff --git a/sni/statusnotifierbutton.cpp b/sni/statusnotifierbutton.cpp
+index d07eb6b0163fc33db8e4e03731df7ee31ce671b2..c339657d538ded7544520386a31e01237e423304 100644
+--- a/sni/statusnotifierbutton.cpp
++++ b/sni/statusnotifierbutton.cpp
+@@ -267,7 +267,7 @@ void StatusNotifierButton::mouseReleaseEvent(QMouseEvent *event)
+ {
+ if (event->button() == Qt::LeftButton)
+ interface->Activate(QCursor::pos().x(), QCursor::pos().y());
+- else if (event->button() == Qt::MidButton)
++ else if (event->button() == Qt::MiddleButton)
+ interface->SecondaryActivate(QCursor::pos().x(), QCursor::pos().y());
+ else if (Qt::RightButton == event->button())
+ {