[Bug 272635] deskutils/copyq: Fix wayland detection and remove qt5 runtime deps from qt6 flavor

From: <bugzilla-noreply_at_freebsd.org>
Date: Fri, 21 Jul 2023 06:29:52 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=272635

            Bug ID: 272635
           Summary: deskutils/copyq: Fix wayland detection and remove qt5
                    runtime deps from qt6 flavor
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: eduardo@FreeBSD.org
          Reporter: jhale@FreeBSD.org
          Assignee: eduardo@FreeBSD.org
             Flags: maintainer-feedback?(eduardo@FreeBSD.org)

Fix detection of wayland.xml and empty version strings. ECM uses pkgconfig for
this functionality and it was missing from USES.
CMake Warning at /usr/local/share/ECM/find-modules/FindWayland.cmake:130
(message):
  Could not find wayland.xml in
Call Stack (most recent call first):
  src/platform/x11/systemclipboard/CMakeLists.txt:2 (find_package)
-- Found Wayland_Server: /usr/local/lib/libwayland-server.so (found version "")
-- Found Wayland_Cursor: /usr/local/lib/libwayland-cursor.so (found version "")
-- Found Wayland_Egl: /usr/local/lib/libwayland-egl.so (found version "")

Remove unneeded and unused kf5-knotifications from the qt6 flavor. It just
pulls in qt5 runtime dependencies which makes a qt6 flavor kind of moot.
Qt5 build dependencies are still required for ECM.
CMake Warning at src/notifications.cmake:4 (message):
  Native notifications are not supported with Qt 6
Call Stack (most recent call first):
  src/CMakeLists.txt:24 (include)

Defining QtWaylandScanner_EXECUTABLE is no longer needed, see:
https://github.com/hluk/CopyQ/pull/2133

Add missing desktop-file-utils to USES.

Add patch to silence CMake warnings.

-- 
You are receiving this mail because:
You are the assignee for the bug.