git: 235f1834fe7b - 2025Q2 - x11-wm/theseus-ship: unbreak after 5871ae6a0942

From: Jan Beich <jbeich_at_FreeBSD.org>
Date: Fri, 20 Jun 2025 20:06:03 UTC
The branch 2025Q2 has been updated by jbeich:

URL: https://cgit.FreeBSD.org/ports/commit/?id=235f1834fe7b765173c6c2fa24627cec03d2add7

commit 235f1834fe7b765173c6c2fa24627cec03d2add7
Author:     Jesper Schmitz Mouridsen <jsm@FreeBSD.org>
AuthorDate: 2025-06-18 22:02:47 +0000
Commit:     Jan Beich <jbeich@FreeBSD.org>
CommitDate: 2025-06-20 20:05:17 +0000

    x11-wm/theseus-ship: unbreak after 5871ae6a0942
    
    CMake Error at CMakeLists.txt:69 (find_package):
      Could not find a package configuration file provided by "KDecoration2"
      (requested version 6) with any of the following names:
    
        KDecoration2Config.cmake
        kdecoration2-config.cmake
    
    (cherry picked from commit dd2e365fac257cbc60875ad360f9caf119d59130)
---
 x11-wm/theseus-ship/Makefile               |  5 +++-
 x11-wm/theseus-ship/distinfo               |  2 ++
 x11-wm/theseus-ship/files/patch-plasma-6.1 | 39 ------------------------------
 3 files changed, 6 insertions(+), 40 deletions(-)

diff --git a/x11-wm/theseus-ship/Makefile b/x11-wm/theseus-ship/Makefile
index eebc9e1907c9..0c03a7652cce 100644
--- a/x11-wm/theseus-ship/Makefile
+++ b/x11-wm/theseus-ship/Makefile
@@ -1,9 +1,12 @@
 PORTNAME=	theseus-ship
 DISTVERSIONPREFIX=	v
 DISTVERSION=	6.2.0
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	x11-wm # wayland: https://github.com/winft/theseus-ship/issues/9
 
+PATCH_SITES=	https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/commit/
+PATCHFILES+=	01030427325c.patch:-p1 # https://github.com/winft/theseus-ship/pull/17
+
 MAINTAINER=	jbeich@FreeBSD.org
 COMMENT=	Wayland and X11 compositor for KDE Plasma Desktop
 WWW=		https://github.com/winft/theseus-ship
diff --git a/x11-wm/theseus-ship/distinfo b/x11-wm/theseus-ship/distinfo
index d03b229652b4..fc9fcdc4cad3 100644
--- a/x11-wm/theseus-ship/distinfo
+++ b/x11-wm/theseus-ship/distinfo
@@ -1,3 +1,5 @@
 TIMESTAMP = 1728505622
 SHA256 (winft-theseus-ship-v6.2.0_GH0.tar.gz) = 1f3567a4b1dd1a69046fe8669d624f4245733a72354025f127e732f4600fde18
 SIZE (winft-theseus-ship-v6.2.0_GH0.tar.gz) = 2693734
+SHA256 (01030427325c.patch) = 0bc1b46f324391ebeaf557b2b281deaa84182db1c7af4cf95f5b9508cf8a10b2
+SIZE (01030427325c.patch) = 56954
diff --git a/x11-wm/theseus-ship/files/patch-plasma-6.1 b/x11-wm/theseus-ship/files/patch-plasma-6.1
deleted file mode 100644
index bb6349fdc8a5..000000000000
--- a/x11-wm/theseus-ship/files/patch-plasma-6.1
+++ /dev/null
@@ -1,39 +0,0 @@
-Drop after x11/plasma6-libplasma >= 6.2.0 update
-Drop after x11-wm/plasma6-kdecoration >= 6.2.0
-
-CMake Warning at CMakeLists.txt:59 (find_package):
-  Could not find a configuration file for package "Plasma" that is compatible
-  with requested version "6.1".
-
-  The following configuration files were considered but not accepted:
-
-    /usr/local/lib/cmake/Plasma/PlasmaConfig.cmake, version: 6.1.2
-
-CMake Error at CMakeLists.txt:69 (find_package):
-  Could not find a configuration file for package "KDecoration2" that is
-  compatible with requested version "6.2".
-
-  The following configuration files were considered but not accepted:
-
-    /usr/local/lib/cmake/KDecoration2/KDecoration2Config.cmake, version: 6.1.2
-
---- CMakeLists.txt.orig	2024-10-09 20:27:02 UTC
-+++ CMakeLists.txt
-@@ -57,7 +57,7 @@ set_package_properties(KF6Kirigami PROPERTIES
-     TYPE RUNTIME
- )
- 
--find_package(Plasma ${CMAKE_PROJECT_VERSION_MAJOR}.${CMAKE_PROJECT_VERSION_MINOR}
-+find_package(Plasma ${CMAKE_PROJECT_VERSION_MAJOR}
-   CONFIG
- )
- set_package_properties(Plasma PROPERTIES
-@@ -66,7 +66,7 @@ set_package_properties(Plasma PROPERTIES
-     TYPE RUNTIME
- )
- 
--find_package(KDecoration2 ${CMAKE_PROJECT_VERSION_MAJOR}.${CMAKE_PROJECT_VERSION_MINOR}
-+find_package(KDecoration2 ${CMAKE_PROJECT_VERSION_MAJOR}
-   CONFIG REQUIRED
- )
-