PORTNAME= plasma-desktop DISTVERSION= ${KDE_PLASMA_VERSION} PORTREVISION= 2 CATEGORIES= x11 kde kde-plasma PATCH_SITES= https://invent.kde.org/plasma/plasma-desktop/-/commit/ PATCHFILES= 02726a1ca0189f71f46513078cbc82af9daa9425.patch:-p1 # Fix build with LLVM >= 19 MAINTAINER= kde@FreeBSD.org COMMENT= Plasma5 plasma desktop WWW= https://www.kde.org/plasma-desktop # TODO: update packagekit-qt5 #LIB_DEPENDS= libpackagekit-qt.so:ports-mgmt/packagekit-qt5 LIB_DEPENDS= libboost_system.so:devel/boost-libs \ libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 \ libxkbcommon.so:x11/libxkbcommon \ libxcb-image.so:x11/xcb-util-image \ libxcb-keysyms.so:x11/xcb-util-keysyms \ libxcb-util.so:x11/xcb-util \ libxkbfile.so:x11/libxkbfile \ libwayland-client.so:graphics/wayland RUN_DEPENDS= iso-codes>=0:misc/iso-codes \ xf86-input-evdev>0:x11-drivers/xf86-input-evdev \ xf86-input-libinput>0:x11-drivers/xf86-input-libinput \ xdg-user-dir:devel/xdg-user-dirs \ setxkbmap:x11/setxkbmap BUILD_DEPENDS= xf86-input-evdev>0:x11-drivers/xf86-input-evdev \ xf86-input-synaptics>0:x11-drivers/xf86-input-synaptics \ xf86-input-libinput>0:x11-drivers/xf86-input-libinput \ xdg-user-dir:devel/xdg-user-dirs \ wayland-protocols>=1.18:graphics/wayland-protocols USES= cmake compiler:c++11-lib cpe desktop-file-utils gettext gnome \ kde:5 pkgconfig qt:5 shebangfix tar:xz xorg \ python:run USE_GNOME= glib20 USE_KDE= activities activities-stats attica auth baloo bookmarks codecs \ completion config configwidgets coreaddons crash dbusaddons \ filemetadata globalaccel guiaddons i18n iconthemes init \ itemmodels itemviews jobwidgets kcmutils kdeclarative \ kdelibs4support kio libksysguard newstuff \ notifications notifyconfig package parts phonon plasma-framework \ plasma-workspace runner service solid sonnet textwidgets \ unitconversion widgetsaddons windowsystem xmlgui \ doctools:build ecm:build \ drkonqi:run infocenter:run kde-cli-tools:run kmenuedit:run \ ksysguard:run polkit-kde-agent-1:run systemsettings:run USE_QT= concurrent core dbus declarative gui network \ printsupport sql wayland widgets x11extras xml \ buildtools:build qmake:build USE_XORG= ice sm x11 xcb xcursor xext xfixes xft xi xrender CPE_VENDOR= kde CMAKE_ON= WANT_SYNAPTICS SHEBANG_FILES= kcms/ksmserver/kconf_update/*.py \ kcms/keyboard/*.py OPTIONS_SUB= yes OPTIONS_DEFINE= ACCOUNTS PIPEWIRE OPTIONS_DEFAULT= ACCOUNTS PIPEWIRE OPTIONS_GROUP= IM OPTIONS_GROUP_IM= IBUS SCIM IM_DESC= Input Method Support IBUS_CMAKE_BOOL_OFF= CMAKE_DISABLE_FIND_PACKAGE_IBus IBUS_LIB_DEPENDS= libibus-1.0.so:textproc/ibus IBUS_DESC= Enable IBUS backend for input dialog SCIM_CMAKE_BOOL_OFF= CMAKE_DISABLE_FIND_PACKAGE_SCIM SCIM_LIB_DEPENDS= libscim-1.0.so:textproc/scim SCIM_DESC= Enable SCIM backend for input dialog ACCOUNTS_LIB_DEPENDS= libkaccounts.so:net-im/kaccounts-integration \ libaccounts-qt5.so:net-im/libaccounts-qt@qt5 ACCOUNTS_USE= gnome=intltool ACCOUNTS_DESC= Accounts management library support PIPEWIRE_DESC= Use runtime dependency QML module 'org.kde.pipewire' PIPEWIRE_USE= KDE=kpipewire PIPEWIRE_CMAKE_BOOL_OFF= CMAKE_DISABLE_FIND_PACKAGE_org.kde.pipewire-QMLModule post-patch: # Set the correct iso-codes directory ${REINPLACE_CMD} -e '/isoCodesXmlDir/ s#/usr/share#${LOCALBASE}/share#g' \ ${PATCH_WRKSRC}/kcms/keyboard/iso_codes.h .include