mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-04-07 03:10:15 -04:00
net-p2p/syncthingtray: New package
This is a useful indicator for syncthing, integrating it better into desktop linux. It has a focus on working well under KDE, but is desktop-agnostic (except for gnome, which has no tray >.>) Signed-off-by: Esteve Varela Colominas <esteve.varela@gmail.com>
This commit is contained in:
1
net-p2p/syncthingtray/Manifest
Normal file
1
net-p2p/syncthingtray/Manifest
Normal file
@@ -0,0 +1 @@
|
||||
DIST syncthingtray-2.0.2.tar.gz 5966470 BLAKE2B 398663366283ff20ef221e36ffb7131b1515a2bbf53f5267d17bc1e33adba9db8bcbf149a09b06c2503cebcd3e12bef5987311981dbbbc903606ec29329d372a SHA512 107c1bde886121d3eb44f5432e691b147f83aae28f89f82320159c3a18bff8840fd40d4df3f84a091c6de28f7ae8436592e0b23fc476088f121cc58477cff95b
|
||||
15
net-p2p/syncthingtray/metadata.xml
Normal file
15
net-p2p/syncthingtray/metadata.xml
Normal file
@@ -0,0 +1,15 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>esteve.varela@gmail.com</email>
|
||||
<name>Esteve Varela Colominas</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<remote-id type="github">Martchus/syncthingtray</remote-id>
|
||||
</upstream>
|
||||
<use>
|
||||
<flag name="kio">Enable file item action plugin in <pkg>kde-apps/dolphin</pkg></flag>
|
||||
<flag name="plasmoid">Enable plasmoid for KDE Plasma</flag>
|
||||
</use>
|
||||
</pkgmetadata>
|
||||
59
net-p2p/syncthingtray/syncthingtray-2.0.2.ebuild
Normal file
59
net-p2p/syncthingtray/syncthingtray-2.0.2.ebuild
Normal file
@@ -0,0 +1,59 @@
|
||||
# Copyright 2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
inherit cmake
|
||||
|
||||
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 +qt6 test"
|
||||
REQUIRED_USE="
|
||||
plasmoid? ( qt6 )
|
||||
"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
DEPEND="
|
||||
dev-libs/boost
|
||||
!qt6? (
|
||||
dev-qt/qtconcurrent:5
|
||||
dev-qt/qtnetwork:5
|
||||
dev-qt/qtsvg:5
|
||||
gui-libs/qtforkawesome[qt5]
|
||||
gui-libs/qtutilities[qt5]
|
||||
kio? ( kde-frameworks/kio:5 )
|
||||
)
|
||||
qt6? (
|
||||
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="
|
||||
qt6? (
|
||||
plasmoid? ( kde-frameworks/extra-cmake-modules )
|
||||
)
|
||||
"
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
-DCONFIGURATION_PACKAGE_SUFFIX_QTUTILITIES=-$(usex !qt6 qt5 qt6)
|
||||
-DQT_PACKAGE_PREFIX=$(usex !qt6 Qt5 Qt6)
|
||||
-DKF_PACKAGE_PREFIX=$(usex !qt6 KF5 KF6)
|
||||
-DNO_FILE_ITEM_ACTION_PLUGIN=$(usex !kio)
|
||||
-DNO_PLASMOID=$(usex !plasmoid)
|
||||
-DEXCLUDE_TESTS_FROM_ALL=$(usex !test)
|
||||
)
|
||||
cmake_src_configure
|
||||
}
|
||||
Reference in New Issue
Block a user