From 542e878a66ed0f6dd84cbba87b068e7b5a4fdcd2 Mon Sep 17 00:00:00 2001 From: Gleb Popov Date: Wed, 3 Apr 2024 09:12:53 +0300 Subject: [PATCH] sysutils/plasma5-discover: Enable PackageKit backend PR: 265352 Sponsored by: Serenity Cybersecurity, LLC --- sysutils/plasma5-discover/Makefile | 6 +++--- sysutils/plasma5-discover/pkg-plist | 4 ++++ 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/sysutils/plasma5-discover/Makefile b/sysutils/plasma5-discover/Makefile index 032f63b6cbbc..3d2c1b490e40 100644 --- a/sysutils/plasma5-discover/Makefile +++ b/sysutils/plasma5-discover/Makefile @@ -1,14 +1,14 @@ PORTNAME= discover DISTVERSION= ${KDE_PLASMA_VERSION} +PORTREVISION= 1 CATEGORIES= sysutils kde kde-plasma MAINTAINER= kde@FreeBSD.org COMMENT= Plasma5 package management tools WWW= https://www.kde.org/plasma-desktop -# TODO: update packagekit-qt5 -#LIB_DEPENDS= libpackagekit-qt.so:ports-mgmt/packagekit-qt5 -LIB_DEPENDS= libAppStreamQt5.so:devel/appstream-qt@qt5 +LIB_DEPENDS= libAppStreamQt5.so:devel/appstream-qt@qt5 \ + libpackagekitqt5.so:ports-mgmt/packagekit-qt@qt5 USES= cmake compiler:c++11-lib cpe desktop-file-utils gettext kde:5 \ pkgconfig qt:5 tar:xz xorg diff --git a/sysutils/plasma5-discover/pkg-plist b/sysutils/plasma5-discover/pkg-plist index ad920a481be2..22d38f595c83 100644 --- a/sysutils/plasma5-discover/pkg-plist +++ b/sysutils/plasma5-discover/pkg-plist @@ -4,7 +4,9 @@ etc/xdg/autostart/org.kde.discover.notifier.desktop lib/libexec/DiscoverNotifier lib/plasma-discover/libDiscoverCommon.so lib/plasma-discover/libDiscoverNotifiers.so +%%QT_PLUGINDIR%%/discover-notifier/DiscoverPackageKitNotifier.so %%QT_PLUGINDIR%%/discover/kns-backend.so +%%QT_PLUGINDIR%%/discover/packagekit-backend.so %%QT_PLUGINDIR%%/plasma/kcms/systemsettings/kcm_updates.so share/applications/kcm_updates.desktop share/applications/org.kde.discover.desktop @@ -20,6 +22,7 @@ share/icons/hicolor/scalable/apps/plasmadiscover.svg share/knotifications5/discoverabstractnotifier.notifyrc share/kpackage/kcms/kcm_updates/contents/ui/main.qml share/kxmlgui5/plasmadiscover/plasmadiscoverui.rc +share/libdiscover/categories/packagekit-backend-categories.xml share/locale/ar/LC_MESSAGES/kcm_updates.mo share/locale/ar/LC_MESSAGES/libdiscover.mo share/locale/ar/LC_MESSAGES/plasma-discover-notifier.mo @@ -228,4 +231,5 @@ share/locale/zh_TW/LC_MESSAGES/libdiscover.mo share/locale/zh_TW/LC_MESSAGES/plasma-discover-notifier.mo share/locale/zh_TW/LC_MESSAGES/plasma-discover.mo share/metainfo/org.kde.discover.appdata.xml +share/metainfo/org.kde.discover.packagekit.appdata.xml share/qlogging-categories5/discover.categories