1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-26 00:55:14 +00:00

New port: desktutils/calindori (a mobile-friendly calendar)

Calindori is mostly developed as a Plasma Mobile application
(for Linux phones) but it works well as a desktop-based
iCalendar viewer.

There's a pair of patches -- submitted upstream -- to remove
QTest, since it's not used otherwise.
This commit is contained in:
Adriaan de Groot 2021-01-29 23:16:07 +00:00
parent 113e4739e1
commit 49b8552bf5
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=563262
7 changed files with 136 additions and 0 deletions

View File

@ -29,6 +29,7 @@
SUBDIR += calendar
SUBDIR += calendar-data
SUBDIR += calibre
SUBDIR += calindori
SUBDIR += cartotheque
SUBDIR += cfiles
SUBDIR += charmtimetracker

View File

@ -0,0 +1,25 @@
# $FreeBSD$
PORTNAME= calindori
DISTVERSION= 1.3
CATEGORIES= deskutils
MASTER_SITES= KDE/stable/${PORTNAME}/
MAINTAINER= adridg@FreeBSD.org
COMMENT= Calendar application for desktop and phone
LICENSE= GPLv3+
LICENSE_FILE= ${WRKSRC}/LICENSES/GPL-3.0-or-later.txt
USES= cmake compiler:c++17-lang gl kde:5 pkgconfig qt:5 tar:xz
USE_GL= gl
USE_QT= core dbus declarative gui \
network quickcontrols quickcontrols2 \
svg widgets \
buildtools_build linguist_build qmake_build
USE_KDE= calendarcore config coreaddons dbusaddons i18n kirigami2 notifications service \
ecm_build
CMAKE_OFF= BUILD_TESTING
.include <bsd.port.mk>

View File

@ -0,0 +1,3 @@
TIMESTAMP = 1611959896
SHA256 (calindori-1.3.tar.xz) = 80f7d436b7ec28711c514b616464289ce85c064146ff0b0dda2139fa143c568e
SIZE (calindori-1.3.tar.xz) = 1002820

View File

@ -0,0 +1,21 @@
--- CMakeLists.txt.orig 2021-01-29 22:46:16 UTC
+++ CMakeLists.txt
@@ -24,12 +24,17 @@ find_package(ECM ${KF5_MIN_VERSION} REQUIRED NO_MODULE
# where to look first for cmake modules, before ${CMAKE_ROOT}/Modules/ is checked
set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} ${ECM_MODULE_PATH})
+include(CTest)
include(KDEInstallDirs)
include(KDECMakeSettings)
include(KDECompilerSettings NO_POLICY_SCOPE)
include(ECMPoQmTools)
-find_package(Qt5 ${QT_MIN_VERSION} REQUIRED NO_MODULE COMPONENTS DBus Core Quick Gui Svg Test Qml QuickControls2)
+find_package(Qt5 ${QT_MIN_VERSION} REQUIRED NO_MODULE COMPONENTS DBus Core Quick Gui Svg Qml QuickControls2)
+if (BUILD_TESTING)
+ find_package(Qt5 ${QT_MIN_VERSION} REQUIRED NO_MODULE COMPONENTS Test)
+endif()
+
find_package(KF5 ${KF5_MIN_VERSION} REQUIRED COMPONENTS
Config

View File

@ -0,0 +1,14 @@
--- src/CMakeLists.txt.orig 2021-01-29 22:46:18 UTC
+++ src/CMakeLists.txt
@@ -23,7 +23,10 @@ set(calindori_SRCS
qt5_add_resources(RESOURCES resources.qrc)
add_executable(calindori ${calindori_SRCS} ${RESOURCES})
-target_link_libraries(calindori Qt5::Core Qt5::Qml Qt5::Quick Qt5::Test Qt5::Svg Qt5::DBus KF5::ConfigCore KF5::I18n KF5::CalendarCore KF5::CoreAddons)
+target_link_libraries(calindori Qt5::Core Qt5::Qml Qt5::Quick Qt5::Svg Qt5::DBus KF5::ConfigCore KF5::I18n KF5::CalendarCore KF5::CoreAddons)
+if (BUILD_TESTING)
+ target_link_libraries(calindori Qt5::Test)
+endif()
if(ANDROID)

View File

@ -0,0 +1,10 @@
Calindori is a touch friendly calendar application. It has been designed
for mobile devices but it can also run on desktop environments. It offers:
- Monthly agenda
- Multiple calendars
- Event management
- Task management
- Calendar import
WWW: https://apps.kde.org/en/calindori

View File

@ -0,0 +1,62 @@
bin/calindac
bin/calindori
etc/xdg/autostart/org.kde.calindac.desktop
share/applications/org.kde.calindori.desktop
share/dbus-1/interfaces/org.kde.calindac.xml
share/dbus-1/interfaces/org.kde.wakeupmanager.PowerManagement.xml
share/icons/hicolor/scalable/apps/calindori.svg
share/knotifications5/calindac.notifyrc
share/locale/ca/LC_MESSAGES/calindac.qm
share/locale/ca/LC_MESSAGES/calindori_qt.qm
share/locale/ca@valencia/LC_MESSAGES/calindac.qm
share/locale/ca@valencia/LC_MESSAGES/calindori_qt.qm
share/locale/cs/LC_MESSAGES/calindac.qm
share/locale/cs/LC_MESSAGES/calindori_qt.qm
share/locale/da/LC_MESSAGES/calindac.qm
share/locale/da/LC_MESSAGES/calindori_qt.qm
share/locale/de/LC_MESSAGES/calindac.qm
share/locale/de/LC_MESSAGES/calindori_qt.qm
share/locale/el/LC_MESSAGES/calindac.qm
share/locale/el/LC_MESSAGES/calindori_qt.qm
share/locale/en_GB/LC_MESSAGES/calindac.qm
share/locale/en_GB/LC_MESSAGES/calindori_qt.qm
share/locale/es/LC_MESSAGES/calindac.qm
share/locale/es/LC_MESSAGES/calindori_qt.qm
share/locale/et/LC_MESSAGES/calindac.qm
share/locale/et/LC_MESSAGES/calindori_qt.qm
share/locale/eu/LC_MESSAGES/calindac.qm
share/locale/eu/LC_MESSAGES/calindori_qt.qm
share/locale/fi/LC_MESSAGES/calindac.qm
share/locale/fi/LC_MESSAGES/calindori_qt.qm
share/locale/fr/LC_MESSAGES/calindac.qm
share/locale/fr/LC_MESSAGES/calindori_qt.qm
share/locale/gl/LC_MESSAGES/calindac.qm
share/locale/gl/LC_MESSAGES/calindori_qt.qm
share/locale/ia/LC_MESSAGES/calindac.qm
share/locale/ia/LC_MESSAGES/calindori_qt.qm
share/locale/it/LC_MESSAGES/calindac.qm
share/locale/it/LC_MESSAGES/calindori_qt.qm
share/locale/ko/LC_MESSAGES/calindac.qm
share/locale/nl/LC_MESSAGES/calindac.qm
share/locale/nl/LC_MESSAGES/calindori_qt.qm
share/locale/nn/LC_MESSAGES/calindac.qm
share/locale/nn/LC_MESSAGES/calindori_qt.qm
share/locale/pl/LC_MESSAGES/calindac.qm
share/locale/pl/LC_MESSAGES/calindori_qt.qm
share/locale/pt/LC_MESSAGES/calindac.qm
share/locale/pt/LC_MESSAGES/calindori_qt.qm
share/locale/pt_BR/LC_MESSAGES/calindac.qm
share/locale/pt_BR/LC_MESSAGES/calindori_qt.qm
share/locale/ru/LC_MESSAGES/calindac.qm
share/locale/ru/LC_MESSAGES/calindori_qt.qm
share/locale/sk/LC_MESSAGES/calindac.qm
share/locale/sk/LC_MESSAGES/calindori_qt.qm
share/locale/sl/LC_MESSAGES/calindac.qm
share/locale/sl/LC_MESSAGES/calindori_qt.qm
share/locale/sv/LC_MESSAGES/calindac.qm
share/locale/sv/LC_MESSAGES/calindori_qt.qm
share/locale/uk/LC_MESSAGES/calindac.qm
share/locale/uk/LC_MESSAGES/calindori_qt.qm
share/locale/zh_TW/LC_MESSAGES/calindac.qm
share/locale/zh_TW/LC_MESSAGES/calindori_qt.qm
share/metainfo/org.kde.calindori.appdata.xml