Add Tail-tray (#380047)

This commit is contained in:
Sandro
2025-02-17 23:22:18 +01:00
committed by GitHub
3 changed files with 67 additions and 0 deletions
+6
View File
@@ -22571,6 +22571,12 @@
githubId = 98333944;
name = "Sven Over";
};
Svenum = {
email = "s.ziegler@holypenguin.net";
github = "Svenum";
githubId = 43136984;
name = "Sven Ziegler";
};
svrana = {
email = "shaw@vranix.com";
github = "svrana";
+16
View File
@@ -0,0 +1,16 @@
diff --git a/tail-tray.desktop.in b/tail-tray.desktop.in
index 2d1c7be..5e859ae 100644
--- a/tail-tray.desktop.in
+++ b/tail-tray.desktop.in
@@ -2,8 +2,8 @@
Name=Tail Tray
GenericName=Tail Tray
Comment=Tailscale Tray Application
-Exec=@CMAKE_INSTALL_PREFIX@/@CMAKE_INSTALL_BINDIR@/tail-tray
-Icon=@CMAKE_INSTALL_PREFIX@/@CMAKE_INSTALL_DATAROOTDIR@/icons/hicolor/128x128/apps/tailscale.png
+Exec=@CMAKE_INSTALL_PREFIX@/bin/tail-tray
+Icon=@CMAKE_INSTALL_PREFIX@/share/icons/hicolor/128x128/apps/tailscale.png
Type=Application
Categories=Qt;KDE;Utility;X-Networking;X-Internet;X-VPN;
StartupNotify=true
+45
View File
@@ -0,0 +1,45 @@
{
lib,
fetchFromGitHub,
davfs2,
cmake,
stdenv,
fetchpatch,
pkg-config,
kdePackages,
}:
stdenv.mkDerivation rec {
pname = "tail-tray";
version = "0.2.13";
src = fetchFromGitHub {
owner = "SneWs";
repo = "tail-tray";
tag = "v${version}";
sha256 = "sha256-BzE32XvDEdlS5D8XjZ4m2OEn+6nS0F7oJYX/a/UKhJ4=";
};
nativeBuildInputs = with kdePackages; [
wrapQtAppsHook
qttools
cmake
pkg-config
];
buildInputs = with kdePackages; [
qtbase
davfs2
];
patches = [ ./desktop.patch ];
meta = {
description = "Tray icon to manage Tailscale";
homepage = "https://github.com/SneWs/tail-tray";
changelog = "https://github.com/SneWs/tail-tray/releases/tag/${version}";
license = lib.licenses.gpl3Only;
maintainers = with lib.maintainers; [ Svenum ];
platforms = lib.platforms.linux;
};
}