git: 9d51f203f94a - main - multimedia/lms: update 3.52.0 → 3.53.1

From: Yuri Victorovich <yuri_at_FreeBSD.org>
Date: Sun, 12 May 2024 08:07:05 UTC
The branch main has been updated by yuri:

URL: https://cgit.FreeBSD.org/ports/commit/?id=9d51f203f94a7da909ce9614cd77cb9463acc74b

commit 9d51f203f94a7da909ce9614cd77cb9463acc74b
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2024-05-12 07:56:14 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2024-05-12 08:06:50 +0000

    multimedia/lms: update 3.52.0 → 3.53.1
    
    Reported by:    portscout
---
 multimedia/lms/Makefile                   |  6 +++---
 multimedia/lms/distinfo                   |  6 +++---
 multimedia/lms/files/patch-CMakeLists.txt | 20 --------------------
 multimedia/lms/pkg-plist                  |  1 -
 4 files changed, 6 insertions(+), 27 deletions(-)

diff --git a/multimedia/lms/Makefile b/multimedia/lms/Makefile
index 3a7d23d7b227..a7a74942c10e 100644
--- a/multimedia/lms/Makefile
+++ b/multimedia/lms/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	lms
 DISTVERSIONPREFIX=	v
-DISTVERSION=	3.52.0
+DISTVERSION=	3.53.1
 CATEGORIES=	multimedia
 
 MAINTAINER=	yuri@FreeBSD.org
@@ -38,11 +38,11 @@ OPTIONS_DEFAULT=		STB # STB is prefered by the upstream
 
 STB_DESC=			Use STB as image library (uses less memory)
 STB_BUILD_DEPENDS=		${LOCALBASE}/include/stb/stb_image.h:devel/stb
-STB_CMAKE_BOOL=			FREEBSD_USE_STB
+STB_CMAKE_CMAKE_ON=		-DLMS_IMAGE_BACKEND:STRING=stb
 
 MAGICK_DESC=			Use GraphicsMagick++ as image library
 MAGICK_LIB_DEPENDS=		libGraphicsMagick.so:graphics/GraphicsMagick
-MAGICK_CMAKE_BOOL=		FREEBSD_USE_MAGICK
+MAGICK_CMAKE_ON=		-DLMS_IMAGE_BACKEND:STRING=graphicsmagick
 
 .include <bsd.port.options.mk>
 .if ${OPSYS} == FreeBSD && ${OSVERSION} < 1400000
diff --git a/multimedia/lms/distinfo b/multimedia/lms/distinfo
index 4525a8c5223f..759f981b9089 100644
--- a/multimedia/lms/distinfo
+++ b/multimedia/lms/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1713844119
-SHA256 (epoupon-lms-v3.52.0_GH0.tar.gz) = 32808d658e1eb0f2d2b8c301f654f6e8cf1b0ac1eb8505eb77f6f23e55e5bb21
-SIZE (epoupon-lms-v3.52.0_GH0.tar.gz) = 422542
+TIMESTAMP = 1715323869
+SHA256 (epoupon-lms-v3.53.1_GH0.tar.gz) = f661d0133d98882a76d39db0b7d3d25bf4ff04a6d5ac9116fa6dec808140d296
+SIZE (epoupon-lms-v3.53.1_GH0.tar.gz) = 423697
diff --git a/multimedia/lms/files/patch-CMakeLists.txt b/multimedia/lms/files/patch-CMakeLists.txt
deleted file mode 100644
index 921660903616..000000000000
--- a/multimedia/lms/files/patch-CMakeLists.txt
+++ /dev/null
@@ -1,20 +0,0 @@
---- CMakeLists.txt.orig	2023-07-02 19:48:46 UTC
-+++ CMakeLists.txt
-@@ -19,11 +19,15 @@ find_package(Boost REQUIRED COMPONENTS system program_
- find_package(Wt REQUIRED COMPONENTS Wt Dbo DboSqlite3 HTTP)
- pkg_check_modules(Taglib REQUIRED IMPORTED_TARGET taglib)
- pkg_check_modules(Config++ REQUIRED IMPORTED_TARGET libconfig++)
--pkg_check_modules(GraphicsMagick++ IMPORTED_TARGET GraphicsMagick++)
-+if (FREEBSD_USE_MAGICK)
-+	pkg_check_modules(GraphicsMagick++ IMPORTED_TARGET GraphicsMagick++)
-+endif()
- pkg_check_modules(LIBAV IMPORTED_TARGET libavcodec libavutil libavformat)
- pkg_check_modules(Archive REQUIRED IMPORTED_TARGET libarchive)
- find_package(PAM)
--find_package(STB)
-+if (FREEBSD_USE_STB)
-+	find_package(STB)
-+endif()
- 
- # WT
- if (NOT Wt_FOUND)
diff --git a/multimedia/lms/pkg-plist b/multimedia/lms/pkg-plist
index 4930958521d5..efef1c171d0a 100644
--- a/multimedia/lms/pkg-plist
+++ b/multimedia/lms/pkg-plist
@@ -42,7 +42,6 @@ lib/liblmssubsonic.so
 %%DATADIR%%/approot/playqueue.xml
 %%DATADIR%%/approot/%%CMAKE_BUILD_TYPE%%.xml
 %%DATADIR%%/approot/%%CMAKE_BUILD_TYPE%%s.xml
-%%DATADIR%%/approot/search.xml
 %%DATADIR%%/approot/settings.xml
 %%DATADIR%%/approot/tracklist.xml
 %%DATADIR%%/approot/tracklists.xml