aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdriaan de Groot <adridg@FreeBSD.org>2021-01-29 23:16:07 +0000
committerAdriaan de Groot <adridg@FreeBSD.org>2021-01-29 23:16:07 +0000
commit49b8552bf5a1dd3dc3577557bf6508b4ce69a940 (patch)
tree6f76e308cb6e76f12d4609281a0f73e942eb6aac
parent113e4739e17530043696ed0ec06494abe113de4d (diff)
downloadports-49b8552bf5a1dd3dc3577557bf6508b4ce69a940.tar.gz
ports-49b8552bf5a1dd3dc3577557bf6508b4ce69a940.zip
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.
Notes
Notes: svn path=/head/; revision=563262
-rw-r--r--deskutils/Makefile1
-rw-r--r--deskutils/calindori/Makefile25
-rw-r--r--deskutils/calindori/distinfo3
-rw-r--r--deskutils/calindori/files/patch-CMakeLists.txt21
-rw-r--r--deskutils/calindori/files/patch-src_CMakeLists.txt14
-rw-r--r--deskutils/calindori/pkg-descr10
-rw-r--r--deskutils/calindori/pkg-plist62
7 files changed, 136 insertions, 0 deletions
diff --git a/deskutils/Makefile b/deskutils/Makefile
index 8797c0bd594b..8ac15e9fc26d 100644
--- a/deskutils/Makefile
+++ b/deskutils/Makefile
@@ -29,6 +29,7 @@
SUBDIR += calendar
SUBDIR += calendar-data
SUBDIR += calibre
+ SUBDIR += calindori
SUBDIR += cartotheque
SUBDIR += cfiles
SUBDIR += charmtimetracker
diff --git a/deskutils/calindori/Makefile b/deskutils/calindori/Makefile
new file mode 100644
index 000000000000..8c172804b05d
--- /dev/null
+++ b/deskutils/calindori/Makefile
@@ -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>
diff --git a/deskutils/calindori/distinfo b/deskutils/calindori/distinfo
new file mode 100644
index 000000000000..e09678c76859
--- /dev/null
+++ b/deskutils/calindori/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1611959896
+SHA256 (calindori-1.3.tar.xz) = 80f7d436b7ec28711c514b616464289ce85c064146ff0b0dda2139fa143c568e
+SIZE (calindori-1.3.tar.xz) = 1002820
diff --git a/deskutils/calindori/files/patch-CMakeLists.txt b/deskutils/calindori/files/patch-CMakeLists.txt
new file mode 100644
index 000000000000..dfd0b9123732
--- /dev/null
+++ b/deskutils/calindori/files/patch-CMakeLists.txt
@@ -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
diff --git a/deskutils/calindori/files/patch-src_CMakeLists.txt b/deskutils/calindori/files/patch-src_CMakeLists.txt
new file mode 100644
index 000000000000..7bc80199602c
--- /dev/null
+++ b/deskutils/calindori/files/patch-src_CMakeLists.txt
@@ -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)
diff --git a/deskutils/calindori/pkg-descr b/deskutils/calindori/pkg-descr
new file mode 100644
index 000000000000..52682949c5ab
--- /dev/null
+++ b/deskutils/calindori/pkg-descr
@@ -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
diff --git a/deskutils/calindori/pkg-plist b/deskutils/calindori/pkg-plist
new file mode 100644
index 000000000000..b47ac66b0ca7
--- /dev/null
+++ b/deskutils/calindori/pkg-plist
@@ -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