mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-10-12 17:51:11 -04:00
net-p2p/syncthingtray: Bump to 2.1.7
Signed-off-by: Esteve Varela Colominas <esteve.varela@gmail.com>
This commit is contained in:
3 files changed
+87
No files matched your search
@@ -1,2 +1,3 @@
|
||||
DIST syncthingtray-2.0.9.tar.gz 6701899 BLAKE2B 15dc3cfebd0574861e4d8bf2640ca9051a7421aa059bcecd8f96c2a8c7b2200ebd53ef82f3280389496890cf247a8ad52da2d84ae298ca3b4109848334461c44 SHA512 3e072baa6f2db047309420add8c8691e06288082165255da510f9007ab1bd6edf355e0f67a29a28d83fecce8bdf6f3aa5a56442deb91618b85165f761c2fa57d
|
||||
DIST syncthingtray-2.1.4.tar.gz 6798484 BLAKE2B 639c91b116f6986fe9300354750373098462ef418c93e04b5ea30219c6ad38058f773abe4014bd62ec89952bd4f98f0d2256af3906e0bd139712bd0846084d17 SHA512 e34dee9964d077e2ddb1d35fd650b4cf41934a5b39feae720ec5f3ce0c3fe6a400d08a4ce29fa83a2624f3666680b29f2e4ee58107b8d983f61b16b2e1248b89
|
||||
DIST syncthingtray-2.1.7.tar.gz 6830704 BLAKE2B c65dc79c70c7e1b81c5f324a10c84eca5e7b98d947e60f53f2b236ba4835b2969b58ff1f94a6edeb83a45bb2ca9d45a78f362752dea49f98bea38e54e67608dd SHA512 97c89b67a4b86934143dcea46bd6d50a54e896cf694f5b4d567271090d337e12a0a2f6dcbf9fc6b601298f315e2e87202a378325fea543b765e6391745fe72eb
|
||||
@@ -0,0 +1,29 @@
|
||||
From cf2aa323f935041a55a8852a19a63968c832f517 Mon Sep 17 00:00:00 2001
|
||||
From: Martchus <martchus@gmx.net>
|
||||
Date: Mon, 28 Sep 2026 09:43:23 +0200
|
||||
Subject: [PATCH] Fix build of Plasmoid without Qt Quick GUI
|
||||
|
||||
---
|
||||
plasmoid/lib/syncthingapplet.cpp | 6 ++++--
|
||||
1 file changed, 4 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/plasmoid/lib/syncthingapplet.cpp b/plasmoid/lib/syncthingapplet.cpp
|
||||
index 557c4575..81921564 100644
|
||||
--- a/plasmoid/lib/syncthingapplet.cpp
|
||||
+++ b/plasmoid/lib/syncthingapplet.cpp
|
||||
@@ -595,11 +595,13 @@ bool SyncthingApplet::showFileBrowser(const QString &dirId)
|
||||
void SyncthingApplet::showIgnorePatterns(const QString &dirId)
|
||||
{
|
||||
if (auto row = 0; auto *const dir = m_data.connection()->findDirInfo(dirId, row)) {
|
||||
+#if defined(GUI_QTQUICK) && defined(SYNCTHINGWIDGETS_GUI_QTQUICK_MODE_DESKTOP)
|
||||
if (m_quickUI.has_value()) {
|
||||
m_quickUI->ui.editIgnorePatterns(dir->id, dir->displayName());
|
||||
- } else {
|
||||
- showCenteredDialog(QtGui::ignorePatternsDialog(*m_data.connection(), *dir));
|
||||
+ return;
|
||||
}
|
||||
+#endif
|
||||
+ showCenteredDialog(QtGui::ignorePatternsDialog(*m_data.connection(), *dir));
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,57 @@
|
||||
# Copyright 2025-2026 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit cmake virtualx
|
||||
|
||||
DESCRIPTION="Tray application and Dolphin/Plasma integration for Syncthing"
|
||||
HOMEPAGE="https://github.com/Martchus/syncthingtray"
|
||||
|
||||
SRC_URI="https://github.com/Martchus/syncthingtray/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE="kio plasmoid test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
DEPEND="
|
||||
dev-libs/boost
|
||||
dev-qt/qtbase:6[concurrent,network]
|
||||
dev-qt/qtsvg:6
|
||||
gui-libs/qtforkawesome[qt6(+)]
|
||||
gui-libs/qtutilities[qt6(+)]
|
||||
kio? ( kde-frameworks/kio:6 )
|
||||
plasmoid? ( kde-plasma/libplasma:6 )
|
||||
"
|
||||
RDEPEND="${DEPEND}
|
||||
net-p2p/syncthing
|
||||
"
|
||||
BDEPEND="
|
||||
test? (
|
||||
dev-util/cppunit
|
||||
net-p2p/syncthing
|
||||
)
|
||||
plasmoid? ( kde-frameworks/extra-cmake-modules )
|
||||
"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/syncthingtray-2.1.7-fix-build.patch"
|
||||
)
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
-DCONFIGURATION_PACKAGE_SUFFIX_QTUTILITIES=-qt6
|
||||
-DQT_PACKAGE_PREFIX=Qt6
|
||||
-DKF_PACKAGE_PREFIX=KF6
|
||||
-DNO_FILE_ITEM_ACTION_PLUGIN=$(usex !kio)
|
||||
-DNO_PLASMOID=$(usex !plasmoid)
|
||||
-DEXCLUDE_TESTS_FROM_ALL=$(usex !test)
|
||||
)
|
||||
cmake_src_configure
|
||||
}
|
||||
|
||||
src_test() {
|
||||
virtx cmake_src_test
|
||||
}
|
||||
Reference in new issue
Block a user