1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-25 00:51:21 +00:00

deskutils/birdtray: create port

Birdtray is a free system tray notification for new mail for Thunderbird

WWW: https://github.com/gyunaev/birdtray
This commit is contained in:
Steve Wills 2020-11-08 21:27:00 +00:00
parent 2141a80f94
commit fe145904df
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=554651
6 changed files with 72 additions and 0 deletions

View File

@ -18,6 +18,7 @@
SUBDIR += basket
SUBDIR += belcard
SUBDIR += bigyear
SUBDIR += birdtray
SUBDIR += bijiben
SUBDIR += bitcollider
SUBDIR += cairo-dock

View File

@ -0,0 +1,26 @@
# $FreeBSD$
PORTNAME= birdtray
PORTVERSION= 1.9.0
DISTVERSIONPREFIX= v
CATEGORIES= deskutils mail
MAINTAINER= swills@FreeBSD.org
COMMENT= System tray new mail notification for Thunderbird
LICENSE= GPLv3
LICENSE_FILE= ${WRKSRC}/LICENSE.txt
USES= cmake compiler:c++11-lib gettext kde:5 localbase qt:5 tar:xz \
xorg
USE_XORG= x11
USE_KDE= i18n
USE_QT= core gui network svg widgets x11extras buildtools_build \
qmake_build
USE_GITHUB= yes
GH_ACCOUNT= gyunaev
post-patch:
@${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|g' ${WRKSRC}/src/utils.cpp
.include <bsd.port.mk>

View File

@ -0,0 +1,3 @@
TIMESTAMP = 1604862618
SHA256 (gyunaev-birdtray-v1.9.0_GH0.tar.gz) = 672256bfadbde2841dcd6bad00662aeba825a4f041fa9a1980763f9eb29294d0
SIZE (gyunaev-birdtray-v1.9.0_GH0.tar.gz) = 810297

View File

@ -0,0 +1,11 @@
--- src/utils.cpp.orig 2020-11-08 19:41:30 UTC
+++ src/utils.cpp
@@ -200,7 +200,7 @@ QStringList Utils::getDefaultThunderbirdCommand() {
#elif defined (Q_OS_WIN)
return {R"("%ProgramFiles(x86)%\Mozilla Thunderbird\thunderbird.exe")"};
#else
- return { "/usr/bin/thunderbird" };
+ return { "%%LOCALBASE%%/bin/thunderbird" };
#endif
}

View File

@ -0,0 +1,3 @@
Birdtray is a free system tray notification for new mail for Thunderbird
WWW: https://github.com/gyunaev/birdtray

View File

@ -0,0 +1,28 @@
bin/birdtray
share/applications/com.ulduzsoft.Birdtray.desktop
share/icons/hicolor/128x128/apps/com.ulduzsoft.Birdtray.png
share/icons/hicolor/32x32/apps/com.ulduzsoft.Birdtray.png
share/icons/hicolor/48x48/apps/com.ulduzsoft.Birdtray.png
share/icons/hicolor/64x64/apps/com.ulduzsoft.Birdtray.png
share/icons/hicolor/scalable/apps/com.ulduzsoft.Birdtray.svg
share/metainfo/com.ulduzsoft.Birdtray.appdata.xml
share/ulduzsoft/birdtray/translations/dynamic_de.qm
share/ulduzsoft/birdtray/translations/dynamic_en.qm
share/ulduzsoft/birdtray/translations/dynamic_es.qm
share/ulduzsoft/birdtray/translations/dynamic_it.qm
share/ulduzsoft/birdtray/translations/dynamic_nl.qm
share/ulduzsoft/birdtray/translations/dynamic_pl.qm
share/ulduzsoft/birdtray/translations/dynamic_pt.qm
share/ulduzsoft/birdtray/translations/dynamic_ru.qm
share/ulduzsoft/birdtray/translations/dynamic_sv.qm
share/ulduzsoft/birdtray/translations/dynamic_tr.qm
share/ulduzsoft/birdtray/translations/main_de.qm
share/ulduzsoft/birdtray/translations/main_en.qm
share/ulduzsoft/birdtray/translations/main_es.qm
share/ulduzsoft/birdtray/translations/main_it.qm
share/ulduzsoft/birdtray/translations/main_nl.qm
share/ulduzsoft/birdtray/translations/main_pl.qm
share/ulduzsoft/birdtray/translations/main_pt.qm
share/ulduzsoft/birdtray/translations/main_ru.qm
share/ulduzsoft/birdtray/translations/main_sv.qm
share/ulduzsoft/birdtray/translations/main_tr.qm