diff options
author | Steve Wills <swills@FreeBSD.org> | 2020-11-08 21:27:00 +0000 |
---|---|---|
committer | Steve Wills <swills@FreeBSD.org> | 2020-11-08 21:27:00 +0000 |
commit | fe145904df572e1d698a6901d734757c04524455 (patch) | |
tree | 3bfe0535329bc116898751dff6b28ae29b71694e /deskutils | |
parent | math/scilab: (diff) |
deskutils/birdtray: create port
Birdtray is a free system tray notification for new mail for Thunderbird
WWW: https://github.com/gyunaev/birdtray
Notes
Notes:
svn path=/head/; revision=554651
Diffstat (limited to 'deskutils')
-rw-r--r-- | deskutils/Makefile | 1 | ||||
-rw-r--r-- | deskutils/birdtray/Makefile | 26 | ||||
-rw-r--r-- | deskutils/birdtray/distinfo | 3 | ||||
-rw-r--r-- | deskutils/birdtray/files/patch-src_utils.cpp | 11 | ||||
-rw-r--r-- | deskutils/birdtray/pkg-descr | 3 | ||||
-rw-r--r-- | deskutils/birdtray/pkg-plist | 28 |
6 files changed, 72 insertions, 0 deletions
diff --git a/deskutils/Makefile b/deskutils/Makefile index 9418cc435ca6..bd306e0ccb76 100644 --- a/deskutils/Makefile +++ b/deskutils/Makefile @@ -18,6 +18,7 @@ SUBDIR += basket SUBDIR += belcard SUBDIR += bigyear + SUBDIR += birdtray SUBDIR += bijiben SUBDIR += bitcollider SUBDIR += cairo-dock diff --git a/deskutils/birdtray/Makefile b/deskutils/birdtray/Makefile new file mode 100644 index 000000000000..4bbba674ae07 --- /dev/null +++ b/deskutils/birdtray/Makefile @@ -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> diff --git a/deskutils/birdtray/distinfo b/deskutils/birdtray/distinfo new file mode 100644 index 000000000000..0f816c37968f --- /dev/null +++ b/deskutils/birdtray/distinfo @@ -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 diff --git a/deskutils/birdtray/files/patch-src_utils.cpp b/deskutils/birdtray/files/patch-src_utils.cpp new file mode 100644 index 000000000000..5407c1bd9934 --- /dev/null +++ b/deskutils/birdtray/files/patch-src_utils.cpp @@ -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 + } + diff --git a/deskutils/birdtray/pkg-descr b/deskutils/birdtray/pkg-descr new file mode 100644 index 000000000000..e1c54d9651f5 --- /dev/null +++ b/deskutils/birdtray/pkg-descr @@ -0,0 +1,3 @@ +Birdtray is a free system tray notification for new mail for Thunderbird + +WWW: https://github.com/gyunaev/birdtray diff --git a/deskutils/birdtray/pkg-plist b/deskutils/birdtray/pkg-plist new file mode 100644 index 000000000000..080b45238798 --- /dev/null +++ b/deskutils/birdtray/pkg-plist @@ -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 |