1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-26 09:46:09 +00:00

deskutils/todour: new port had been added (+)

Todour is a cross-platform application for handling todo.txt files.

PR:		260243
Submitted by:	mizhka
This commit is contained in:
Alexey Dokuchaev 2021-12-06 11:28:56 +00:00
parent 8ac3694748
commit a1eb3aeeec
5 changed files with 61 additions and 0 deletions

View File

@ -245,6 +245,7 @@
SUBDIR += thinkingrock
SUBDIR += timewarrior
SUBDIR += todo
SUBDIR += todour
SUBDIR += toolboxkit
SUBDIR += tpb
SUBDIR += treeline

36
deskutils/todour/Makefile Normal file
View File

@ -0,0 +1,36 @@
PORTNAME= ${GH_PROJECT:tl}
PORTVERSION= 2.20
DISTVERSIONPREFIX= v
CATEGORIES= deskutils
MAINTAINER= mizhka@FreeBSD.org
COMMENT= Qt-based UI for editing of todo.txt files
LICENSE= GPLv2
USES= qmake qt:5
USE_QT= buildtools_build core gui network widgets
USE_GITHUB= yes
GH_ACCOUNT= SverrirValgeirsson
GH_PROJECT= Todour
GH_TUPLE= gamecreature:QtAwesome:86f3bb8:gamecreature/QtAwesome \
falceeffect:UGlobalHotkey:2edc485:falceeffect/UGlobalHotkey
DESKTOP_ENTRIES="${GH_PROJECT}" "${COMMENT}" "${PORTNAME}" "${PORTNAME}" \
"Utility;TextTools;" false
PLIST_FILES= bin/${PORTNAME} \
share/icons/hicolor/512x512/apps/${PORTNAME}.png
post-patch:
@${REINPLACE_CMD} -e 's,$$$$system(perl ver.*,${PORTVERSION},' \
${WRKSRC}/Todour.pro
do-install:
${INSTALL_PROGRAM} ${INSTALL_WRKSRC}/Todour \
${STAGEDIR}${PREFIX}/bin/${PORTNAME}
@${MKDIR} ${STAGEDIR}${PREFIX}/share/icons/hicolor/512x512/apps
${INSTALL_DATA} ${INSTALL_WRKSRC}/newicon.png \
${STAGEDIR}${PREFIX}/share/icons/hicolor/512x512/apps/${PORTNAME}.png
.include <bsd.port.mk>

View File

@ -0,0 +1,7 @@
TIMESTAMP = 1615671221
SHA256 (SverrirValgeirsson-Todour-v2.20_GH0.tar.gz) = f6a145ef9558697e3f9cf0c4ac4344419854f6bae1cd688a9d4bf865a78f6bc6
SIZE (SverrirValgeirsson-Todour-v2.20_GH0.tar.gz) = 176971
SHA256 (gamecreature-QtAwesome-86f3bb8_GH0.tar.gz) = c6d3ab27e1598ed5864cbf0c04c1cb542dec15a41eda1e79c16b28f8ce4c218b
SIZE (gamecreature-QtAwesome-86f3bb8_GH0.tar.gz) = 125556
SHA256 (falceeffect-UGlobalHotkey-2edc485_GH0.tar.gz) = 87e40b98e5d775f257aa4eb0d9683526426d20adb45491ab4b430915218c8b4b
SIZE (falceeffect-UGlobalHotkey-2edc485_GH0.tar.gz) = 5857

View File

@ -0,0 +1,10 @@
--- main.cpp.orig 2021-03-13 21:33:41 UTC
+++ main.cpp
@@ -5,6 +5,7 @@ int main(int argc, char *argv[])
{
QApplication a(argc, argv);
MainWindow w;
+ a.setWindowIcon(QIcon(":/icons/newicon.png"));
w.show();
return a.exec();

View File

@ -0,0 +1,7 @@
Todour is an application for handling todo.txt files (as made famous by
Gina Trapani of Lifehacker) on Windows, macOS, and Unix-like operating
systems. The format is especially practical for an approach similar to
the one suggested in the book ``Getting Things Done'' by David Allen,
often referred to as GTD.
WWW: https://nerdur.com/todour-pl/