diff --git a/x11-wm/plasma5-kwin/Makefile b/x11-wm/plasma5-kwin/Makefile index 33e6ba85af55..4489cd099df9 100644 --- a/x11-wm/plasma5-kwin/Makefile +++ b/x11-wm/plasma5-kwin/Makefile @@ -1,56 +1,59 @@ PORTNAME= kwin DISTVERSION= ${KDE_PLASMA_VERSION} +PORTREVISION= 1 CATEGORIES= x11-wm kde kde-plasma MAINTAINER= kde@FreeBSD.org COMMENT= Plasma5 window manager WWW= https://www.kde.org/plasma-desktop LICENSE= GPLv2 LIB_DEPENDS= libXcursor.so:x11/libXcursor \ libdrm.so:graphics/libdrm \ libepoxy.so:graphics/libepoxy \ libepoll-shim.so:devel/libepoll-shim \ libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 \ libinput.so:x11/libinput \ libudev.so:devel/libudev-devd \ liblcms2.so:graphics/lcms2 \ libwayland-cursor.so:graphics/wayland \ libxcb-cursor.so:x11/xcb-util-cursor \ libxcb-icccm.so:x11/xcb-util-wm \ libxcb-image.so:x11/xcb-util-image \ libxcb-keysyms.so:x11/xcb-util-keysyms \ libxkbcommon.so:x11/libxkbcommon \ libxcvt.so:x11/libxcvt BUILD_DEPENDS= ${LOCALBASE}/include/linux/input.h:devel/evdev-proto \ xwayland-devel>0:x11-servers/xwayland-devel \ - wayland-protocols>0:graphics/wayland-protocols -RUN_DEPENDS= xwayland-devel>0:x11-servers/xwayland-devel + wayland-protocols>0:graphics/wayland-protocols \ + hwdata>0:misc/hwdata +RUN_DEPENDS= xwayland-devel>0:x11-servers/xwayland-devel \ + hwdata>0:misc/hwdata CONFLICTS_INSTALL= kwinft # bin/kwin_wayland USES= cmake compiler:c++11-lib gettext gl gnome kde:5 pkgconfig \ python:3.7+,run qt:5 shebangfix tar:xz xorg USE_GL= egl gbm USE_GNOME= glib20 USE_KDE= activities attica auth breeze codecs completion config \ configwidgets coreaddons crash dbusaddons decoration \ globalaccel i18n iconthemes idletime init itemviews jobwidgets \ kcmutils kdeclarative kio kscreenlocker kwayland-integration \ newstuff notifications package plasma-framework \ plasma-wayland-protocols runner service sonnet textwidgets \ wayland widgetsaddons windowsystem xmlgui \ doctools:build ecm:build USE_LDCONFIG= yes USE_QT= concurrent core dbus declarative gui multimedia network script \ sensors uiplugin uitools widgets x11extras xml \ buildtools:build qmake:build testlib:build \ quickcontrols2:run virtualkeyboard:run USE_XORG= ice sm x11 xcb xext xi SHEBANG_FILES= kconf_update/*.py \ kconf_update/*.pl \ src/effects/strip-effect-metadata.py .include diff --git a/x11-wm/plasma5-kwin/files/patch-cmake_modules_Findhwdata.cmake b/x11-wm/plasma5-kwin/files/patch-cmake_modules_Findhwdata.cmake index 264e396e122d..1e09fac7a31c 100644 --- a/x11-wm/plasma5-kwin/files/patch-cmake_modules_Findhwdata.cmake +++ b/x11-wm/plasma5-kwin/files/patch-cmake_modules_Findhwdata.cmake @@ -1,13 +1,13 @@ ---- cmake/modules/Findhwdata.cmake.orig 2021-02-14 10:31:01 UTC +--- cmake/modules/Findhwdata.cmake.orig 2023-02-21 19:51:03 UTC +++ cmake/modules/Findhwdata.cmake -@@ -10,8 +10,8 @@ +@@ -10,8 +10,8 @@ if (UNIX AND NOT APPLE) # SPDX-License-Identifier: BSD-3-Clause if (UNIX AND NOT APPLE) - find_path(hwdata_DIR NAMES hwdata/pnp.ids HINTS /usr/share ENV XDG_DATA_DIRS) - find_file(hwdata_PNPIDS_FILE NAMES hwdata/pnp.ids HINTS /usr/share) -+ find_path(hwdata_DIR NAMES hwdata/pnp.ids HINTS ${CMAKE_INSTALL_PREFIX}/share /usr/share ENV XDG_DATA_DIRS) -+ find_file(hwdata_PNPIDS_FILE NAMES hwdata/pnp.ids HINTS ${CMAKE_INSTALL_PREFIX}/share /usr/share) ++ find_path(hwdata_DIR NAMES hwdata/pnp.ids HINTS ${CMAKE_INSTALL_PREFIX}/share/hwdata /usr/share ENV XDG_DATA_DIRS) ++ find_file(hwdata_PNPIDS_FILE NAMES hwdata/pnp.ids HINTS ${CMAKE_INSTALL_PREFIX}/share/hwdata /usr/share) if (NOT hwdata_DIR OR NOT hwdata_PNPIDS_FILE) set(hwdata_FOUND FALSE) else()