summaryrefslogtreecommitdiff
path: root/deskutils
diff options
context:
space:
mode:
authorAlexey Dokuchaev <danfe@FreeBSD.org>2022-10-24 15:06:36 +0000
committerAlexey Dokuchaev <danfe@FreeBSD.org>2022-10-24 15:06:36 +0000
commit9d8a8f96492f69cdc4dd2e289726b5a77f2614c2 (patch)
treeabe772a99ebd3476c819c72a361f29a78f40a42e /deskutils
parentAdd comms/py-pyserial-asyncio: Async I/O support for pyserial (diff)
deskutils/notes: new port had been added (+)
An open-source and cross-platform note-taking application that is beautiful and sleek looking, yet still powerful.
Diffstat (limited to 'deskutils')
-rw-r--r--deskutils/Makefile1
-rw-r--r--deskutils/notes/Makefile43
-rw-r--r--deskutils/notes/distinfo9
-rw-r--r--deskutils/notes/pkg-descr4
-rw-r--r--deskutils/notes/pkg-plist12
5 files changed, 69 insertions, 0 deletions
diff --git a/deskutils/Makefile b/deskutils/Makefile
index 00e440e60b8e..f505ee6e565e 100644
--- a/deskutils/Makefile
+++ b/deskutils/Makefile
@@ -183,6 +183,7 @@
SUBDIR += nextcloudclient
SUBDIR += note
SUBDIR += notekit
+ SUBDIR += notes
SUBDIR += noti
SUBDIR += notification-daemon
SUBDIR += notify-osd
diff --git a/deskutils/notes/Makefile b/deskutils/notes/Makefile
new file mode 100644
index 000000000000..aac4a8753d1c
--- /dev/null
+++ b/deskutils/notes/Makefile
@@ -0,0 +1,43 @@
+PORTNAME= notes
+PORTVERSION= 2.0.0
+DISTVERSIONPREFIX= v
+CATEGORIES= deskutils
+
+MAINTAINER= danfe@FreeBSD.org
+COMMENT= Beautiful and powerful note-taking application
+WWW= https://www.get-notes.com/
+
+LICENSE= MPL20
+
+USES= qmake qt:5
+USE_QT= buildtools:build concurrent core gui network sql widgets
+
+USE_GITHUB= yes
+GH_ACCOUNT= nuttyartist alex-spataru:qsu b00f:qas pbek:qmdte
+GH_PROJECT= QSimpleUpdater:qsu qautostart:qas qmarkdowntextedit:qmdte
+GH_TAGNAME= 62567ee:qsu 5be8fea:qas f69e622:qmdte
+GH_SUBDIR= 3rdParty/QSimpleUpdater:qsu 3rdParty/qautostart:qas \
+ 3rdParty/qmarkdowntextedit:qmdte
+
+post-patch:
+ @${REINPLACE_CMD} -e '/^OBJECTS_DIR = obj/d' ${WRKSRC}/src/Notes.pro
+ @${REINPLACE_CMD} -e 's,Q_OS_LINUX,Q_OS_UNIX,' \
+ ${WRKSRC}/src/updaterwindow.cpp
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/src/Notes \
+ ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
+ ${INSTALL_DATA} ${WRKSRC}/packaging/linux/common/*.desktop \
+ ${STAGEDIR}${PREFIX}/share/applications
+.for n in 16 22 24 32 48 64 128 256 512
+ @${MKDIR} ${STAGEDIR}${PREFIX}/share/icons/hicolor/${n}x${n}/apps
+ ${INSTALL_DATA} \
+ ${WRKSRC}/packaging/linux/common/icons/${n}x${n}/${PORTNAME}.png \
+ ${STAGEDIR}${PREFIX}/share/icons/hicolor/${n}x${n}/apps
+.endfor
+ @${MKDIR} ${STAGEDIR}${PREFIX}/share/icons/hicolor/scalable/apps
+ ${INSTALL_DATA} \
+ ${WRKSRC}/packaging/linux/common/icons/scalable/${PORTNAME}.svg \
+ ${STAGEDIR}${PREFIX}/share/icons/hicolor/scalable/apps
+
+.include <bsd.port.mk>
diff --git a/deskutils/notes/distinfo b/deskutils/notes/distinfo
new file mode 100644
index 000000000000..e85c798d8e79
--- /dev/null
+++ b/deskutils/notes/distinfo
@@ -0,0 +1,9 @@
+TIMESTAMP = 1662537566
+SHA256 (nuttyartist-notes-v2.0.0_GH0.tar.gz) = 0240a3b4e9f3cf9027e2a6c9d04f02c3b0dadf07de02cd0b90e7fdad0b5a8e07
+SIZE (nuttyartist-notes-v2.0.0_GH0.tar.gz) = 6285787
+SHA256 (alex-spataru-QSimpleUpdater-62567ee_GH0.tar.gz) = b99d4ae20aaa82bcc6450f69757840ba07a9e75f177037f3419abf124fcf131d
+SIZE (alex-spataru-QSimpleUpdater-62567ee_GH0.tar.gz) = 455283
+SHA256 (b00f-qautostart-5be8fea_GH0.tar.gz) = 72ab1cdf4cdeeade12d7aed2a0d15994e8a1b8a59d590be0000067b0c3f8e949
+SIZE (b00f-qautostart-5be8fea_GH0.tar.gz) = 3587
+SHA256 (pbek-qmarkdowntextedit-f69e622_GH0.tar.gz) = 40e9fb63c4b65d71c97707bceb54cbd1b7a07432726e2a487ab49436136c08a7
+SIZE (pbek-qmarkdowntextedit-f69e622_GH0.tar.gz) = 300541
diff --git a/deskutils/notes/pkg-descr b/deskutils/notes/pkg-descr
new file mode 100644
index 000000000000..d33bace6af4e
--- /dev/null
+++ b/deskutils/notes/pkg-descr
@@ -0,0 +1,4 @@
+Notes is an open-source and cross-platform note-taking application that
+is beautiful and sleek looking, yet still powerful. It is fast native
+program (written in C++ with Qt) with a low memory footprint, supporting
+markdown and not tracking users in any way.
diff --git a/deskutils/notes/pkg-plist b/deskutils/notes/pkg-plist
new file mode 100644
index 000000000000..ff0ef1b06b27
--- /dev/null
+++ b/deskutils/notes/pkg-plist
@@ -0,0 +1,12 @@
+bin/notes
+share/applications/notes.desktop
+share/icons/hicolor/128x128/apps/notes.png
+share/icons/hicolor/16x16/apps/notes.png
+share/icons/hicolor/22x22/apps/notes.png
+share/icons/hicolor/24x24/apps/notes.png
+share/icons/hicolor/256x256/apps/notes.png
+share/icons/hicolor/32x32/apps/notes.png
+share/icons/hicolor/48x48/apps/notes.png
+share/icons/hicolor/512x512/apps/notes.png
+share/icons/hicolor/64x64/apps/notes.png
+share/icons/hicolor/scalable/apps/notes.svg