git: 89db557c2a09 - main - x11-themes/plasma5-breeze: Correct version

From: Jason E. Hale <jhale_at_FreeBSD.org>
Date: Sun, 16 Jun 2024 08:49:54 UTC
The branch main has been updated by jhale:

URL: https://cgit.FreeBSD.org/ports/commit/?id=89db557c2a0917847980afd5b47671a83bc8ce17

commit 89db557c2a0917847980afd5b47671a83bc8ce17
Author:     Jason E. Hale <jhale@FreeBSD.org>
AuthorDate: 2024-06-16 05:05:24 +0000
Commit:     Jason E. Hale <jhale@FreeBSD.org>
CommitDate: 2024-06-16 08:30:15 +0000

    x11-themes/plasma5-breeze: Correct version
    
    This corrects the shlib version and propagates to other packages via
    CMake that depend on the exact version of plasma5-breeze as their own,
    like plasma5-plasma-workspace.
    
    MFH:            2024Q2
---
 x11-themes/plasma5-breeze/Makefile                   |  1 +
 x11-themes/plasma5-breeze/files/patch-CMakeLists.txt | 10 ++++++++++
 x11-themes/plasma5-breeze/pkg-plist                  |  2 +-
 3 files changed, 12 insertions(+), 1 deletion(-)

diff --git a/x11-themes/plasma5-breeze/Makefile b/x11-themes/plasma5-breeze/Makefile
index bcc32d466496..8188a48635bf 100644
--- a/x11-themes/plasma5-breeze/Makefile
+++ b/x11-themes/plasma5-breeze/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	breeze
 DISTVERSION=	${KDE_PLASMA_VERSION}
+PORTREVISION=	1
 CATEGORIES=	x11-themes kde kde-plasma
 
 MAINTAINER=	kde@FreeBSD.org
diff --git a/x11-themes/plasma5-breeze/files/patch-CMakeLists.txt b/x11-themes/plasma5-breeze/files/patch-CMakeLists.txt
new file mode 100644
index 000000000000..292ee6598d1e
--- /dev/null
+++ b/x11-themes/plasma5-breeze/files/patch-CMakeLists.txt
@@ -0,0 +1,10 @@
+--- CMakeLists.txt.orig	2024-03-06 11:58:27 UTC
++++ CMakeLists.txt
+@@ -1,6 +1,6 @@ project(breeze)
+ cmake_minimum_required(VERSION 3.16)
+ project(breeze)
+-set(PROJECT_VERSION "5.27.10")
++set(PROJECT_VERSION "5.27.11")
+ set(PROJECT_VERSION_MAJOR 5)
+ 
+ set(KF5_MIN_VERSION "5.102.0")
diff --git a/x11-themes/plasma5-breeze/pkg-plist b/x11-themes/plasma5-breeze/pkg-plist
index 9f1bb5e1c85b..7954bcd59659 100644
--- a/x11-themes/plasma5-breeze/pkg-plist
+++ b/x11-themes/plasma5-breeze/pkg-plist
@@ -5,7 +5,7 @@ lib/kconf_update_bin/breezehighcontrasttobreezedark
 lib/kconf_update_bin/breezetobreezeclassic
 lib/kconf_update_bin/breezetobreezelight
 lib/libbreezecommon5.so.5
-lib/libbreezecommon5.so.5.27.10
+lib/libbreezecommon5.so.%%KDE_PLASMA_VERSION%%
 %%QT_PLUGINDIR%%/org.kde.kdecoration2/breezedecoration.so
 %%QT_PLUGINDIR%%/plasma/kcms/breeze/kcm_breezedecoration.so
 %%QT_PLUGINDIR%%/plasma/kcms/systemsettings_qwidgets/breezestyleconfig.so