aboutsummaryrefslogtreecommitdiff
path: root/sysutils/plasma5-plasma-disks
diff options
context:
space:
mode:
authorTobias C. Berner <tcberner@FreeBSD.org>2020-10-15 02:54:33 +0000
committerTobias C. Berner <tcberner@FreeBSD.org>2020-10-15 02:54:33 +0000
commit95b62e9a35d0530819b177562bf7c13da2fdcfa7 (patch)
tree3f9b3531ecc6c9e9b68d12f0f4e006a5b05e232a /sysutils/plasma5-plasma-disks
parent3788358060b18eaca762ce578c33318af9980c0a (diff)
downloadports-95b62e9a35d0530819b177562bf7c13da2fdcfa7.tar.gz
ports-95b62e9a35d0530819b177562bf7c13da2fdcfa7.zip
Update KDE Plasma Desktop to 5.20.0
Everyday utilities and tools, such as the Panels, Task Manager, Notifications and System Settings, have all been overhauled to make them more usable, efficient, and friendlier. Meanwhile, developers are hard at work adapting Plasma and all its bits and pieces to Wayland. Once done, Plasma will not only be readier for the future, but will also work better with touchscreens and multiple screens with different refresh rates and DPIs. Plasma will also offer better support for hardware-accelerated graphics, be more secure, and enjoy many more advantages. Although still work in progress, 5.20 already offers users many of the benefits of Plasma on Wayland. Read on to find out more about the new features and improvements included in Plasma 5.20... Full announcement: https://kde.org/announcements/plasma-5.20.0 Changelog: https://kde.org/announcements/plasma-5.19.5-5.20.0-changelog -- Thanks to mikael@ for the new port sysutils/plasma5-plasma-disks
Notes
Notes: svn path=/head/; revision=552372
Diffstat (limited to 'sysutils/plasma5-plasma-disks')
-rw-r--r--sysutils/plasma5-plasma-disks/Makefile39
-rw-r--r--sysutils/plasma5-plasma-disks/distinfo3
-rw-r--r--sysutils/plasma5-plasma-disks/files/patch-src_helper.cpp14
-rw-r--r--sysutils/plasma5-plasma-disks/pkg-descr3
-rw-r--r--sysutils/plasma5-plasma-disks/pkg-plist32
5 files changed, 91 insertions, 0 deletions
diff --git a/sysutils/plasma5-plasma-disks/Makefile b/sysutils/plasma5-plasma-disks/Makefile
new file mode 100644
index 000000000000..4c07c5adfa33
--- /dev/null
+++ b/sysutils/plasma5-plasma-disks/Makefile
@@ -0,0 +1,39 @@
+# $FreeBSD$
+
+PORTNAME= plasma-disks
+DISTVERSION= ${KDE_PLASMA_VERSION}
+CATEGORIES= sysutils kde kde-plasma
+
+MAINTAINER= kde@FreeBSD.org
+COMMENT= Monitors S.M.A.R.T. capable devices for imminent failure
+
+# XXX license
+# https://invent.kde.org/plasma/plasma-disks/-/tree/master/LICENSES
+LICENSE= BSD3CLAUSE CC0-1.0 GPLv2 GPLv3 LGPL3 # FSF KDE-GPL KDE-LGPL
+LICENSE_COMB= multi
+#LICENSE_NAME_KDE-GPL= LicenseRef KDE Accepted GPL
+#LICENSE_NAME_KDE-LGPL= LicenseRef KDE Accepted LGPL
+LICENSE_FILE_BSD3CLAUSE= ${WRKSRC}/LICENSES/BSD-3-Clause.txt
+LICENSE_FILE_CC0-1.0= ${WRKSRC}/LICENSES/CC0-1.0.txt
+LICENSE_FILE_GPLv2= ${WRKSRC}/LICENSES/GPL-2.0-only.txt
+LICENSE_FILE_GPLv3= ${WRKSRC}/LICENSES/GPL-3.0-only.txt
+LICENSE_FILE_LGPLv3= ${WRKSRC}/LICENSES/LGPL-3.0-only.txt
+#LICENSE_FILE_FSF= ${WRKSRC}/LICENSES/FSFAP.txt
+#LICENSE_PERMS_KDE-GPL= gpl3
+#LICENSE_PERMS_KDE-LGPL= gpl3
+
+RUN_DEPENDS= smartmontools>0:sysutils/smartmontools
+
+USES= cmake kde:5 qt:5 tar:xz
+
+USE_KDE= activities config configwidgets coreaddons ecm ksysguard \
+ plasma-framework codecs service kio windowsystem auth i18n \
+ kdeclarative solid notifications dbusaddons widgetsaddons
+USE_QT= core dbus buildtools_build qmake_build quickcontrols network \
+ gui xml concurrent declarative widgets
+
+post-patch:
+ ${REINPLACE_CMD} "s|LOCALBASE|${LOCALBASE}|" \
+ ${WRKSRC}/src/helper.cpp
+
+.include <bsd.port.mk>
diff --git a/sysutils/plasma5-plasma-disks/distinfo b/sysutils/plasma5-plasma-disks/distinfo
new file mode 100644
index 000000000000..b168636c4996
--- /dev/null
+++ b/sysutils/plasma5-plasma-disks/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1602342045
+SHA256 (KDE/plasma/5.20.0/plasma-disks-5.20.0.tar.xz) = 187abd14a94864cfadfd19375ac93813194cf5e2d89e6863d52599bd7bf923e8
+SIZE (KDE/plasma/5.20.0/plasma-disks-5.20.0.tar.xz) = 60536
diff --git a/sysutils/plasma5-plasma-disks/files/patch-src_helper.cpp b/sysutils/plasma5-plasma-disks/files/patch-src_helper.cpp
new file mode 100644
index 000000000000..f90596b45f0c
--- /dev/null
+++ b/sysutils/plasma5-plasma-disks/files/patch-src_helper.cpp
@@ -0,0 +1,14 @@
+The standard $PATH environment does not include the the location
+where we expect smartmontools to be.
+
+--- src/helper.cpp.orig 2020-09-04 15:52:07 UTC
++++ src/helper.cpp
+@@ -30,7 +30,7 @@ ActionReply SMARTHelper::smartctl(const QVariantMap &a
+ }
+
+ // PATH is super minimal when invoked through dbus
+- setenv("PATH", "/usr/sbin:/sbin", 1);
++ setenv("PATH", "LOCALBASE/sbin:/usr/sbin:/sbin", 1);
+ QProcess p;
+ // json=c is badly documented and means "gimme json but don't pretty print"
+ p.start(QStringLiteral("smartctl"),
diff --git a/sysutils/plasma5-plasma-disks/pkg-descr b/sysutils/plasma5-plasma-disks/pkg-descr
new file mode 100644
index 000000000000..868f6fcd7d70
--- /dev/null
+++ b/sysutils/plasma5-plasma-disks/pkg-descr
@@ -0,0 +1,3 @@
+Monitors S.M.A.R.T. capable devices for imminent failure.
+
+WWW: https://invent.kde.org/plasma/plasma-disks
diff --git a/sysutils/plasma5-plasma-disks/pkg-plist b/sysutils/plasma5-plasma-disks/pkg-plist
new file mode 100644
index 000000000000..8bedffc19299
--- /dev/null
+++ b/sysutils/plasma5-plasma-disks/pkg-plist
@@ -0,0 +1,32 @@
+lib/libexec/kauth/kded-smart-helper
+%%QT_PLUGINDIR%%/kcms/smart.so
+%%QT_PLUGINDIR%%/kf5/kded/smart.so
+share/dbus-1/system-services/org.kde.kded.smart.service
+share/dbus-1/system.d/org.kde.kded.smart.conf
+share/knotifications5/org.kde.kded.smart.notifyrc
+share/kpackage/kcms/plasma_disks/contents/main.qml
+share/kpackage/kcms/plasma_disks/metadata.desktop
+share/kpackage/kcms/plasma_disks/metadata.json
+share/kservices5/smart.desktop
+share/locale/ca/LC_MESSAGES/plasma_disks.mo
+share/locale/ca@valencia/LC_MESSAGES/plasma_disks.mo
+share/locale/cs/LC_MESSAGES/plasma_disks.mo
+share/locale/da/LC_MESSAGES/plasma_disks.mo
+share/locale/de/LC_MESSAGES/plasma_disks.mo
+share/locale/en_GB/LC_MESSAGES/plasma_disks.mo
+share/locale/es/LC_MESSAGES/plasma_disks.mo
+share/locale/eu/LC_MESSAGES/plasma_disks.mo
+share/locale/fi/LC_MESSAGES/plasma_disks.mo
+share/locale/fr/LC_MESSAGES/plasma_disks.mo
+share/locale/it/LC_MESSAGES/plasma_disks.mo
+share/locale/ko/LC_MESSAGES/plasma_disks.mo
+share/locale/nl/LC_MESSAGES/plasma_disks.mo
+share/locale/nn/LC_MESSAGES/plasma_disks.mo
+share/locale/pt_BR/LC_MESSAGES/plasma_disks.mo
+share/locale/ro/LC_MESSAGES/plasma_disks.mo
+share/locale/sk/LC_MESSAGES/plasma_disks.mo
+share/locale/sl/LC_MESSAGES/plasma_disks.mo
+share/locale/sv/LC_MESSAGES/plasma_disks.mo
+share/locale/uk/LC_MESSAGES/plasma_disks.mo
+share/metainfo/org.kde.plasma.disks.metainfo.xml
+share/polkit-1/actions/org.kde.kded.smart.policy