git: efb313eda85c - main - audio/strawberry: Update to 1.1.0

From: Jason E. Hale <jhale_at_FreeBSD.org>
Date: Sun, 21 Jul 2024 14:52:07 UTC
The branch main has been updated by jhale:

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

commit efb313eda85cf9e4d5a2b77121fd15add958d439
Author:     Jason E. Hale <jhale@FreeBSD.org>
AuthorDate: 2024-07-20 09:44:21 +0000
Commit:     Jason E. Hale <jhale@FreeBSD.org>
CommitDate: 2024-07-21 14:50:31 +0000

    audio/strawberry: Update to 1.1.0
    
    Unflavorize. With this new minor release of Strawberry, now seems to be
    the most appropriate time to drop local Qt5 support. Qt5 has enjoyed an
    incredibly good run, but it's well past time to start welcoming Qt6 into
    our lives.
    
    Iconv support has been dropped upstream, so the UNICODE options have
    been subsequently removed and a hard dependency on devel/icu has been
    added. ICU has been the default ever since the options were introduced,
    so hopefully no big surprises there.
    
    Remove bad URL from MASTER_SITES and update LICENSE (file headers
    indicate GPL 3.0 or higher).
    
    https://github.com/strawberrymusicplayer/strawberry/releases/tag/1.1.0
---
 MOVED                     |  2 ++
 audio/strawberry/Makefile | 40 +++++++++-------------------------------
 audio/strawberry/distinfo |  6 +++---
 3 files changed, 14 insertions(+), 34 deletions(-)

diff --git a/MOVED b/MOVED
index ce6bbd8c03c0..f7564a104fd2 100644
--- a/MOVED
+++ b/MOVED
@@ -3399,3 +3399,5 @@ devel/dia2code+||2024-07-16|Has expired: Fails to build with libxml2 2.13.0 (PR
 devel/libiqxmlrpc||2024-07-16|Has expired: Fails to build with libxml2 2.13.0 (PR 279705)
 textproc/rubygem-nokogiri111|textproc/rubygem-nokogiri|2024-07-17|Obsolete, use textproc/rubygem-nokogiri instead
 devel/rubygem-google-gax||2024-07-21|Remove obsoleted port. This gem is officially end-of-life
+audio/strawberry@qt5|audio/strawberry|2024-07-21|Unflavor. Qt5 is obsolete
+audio/strawberry@qt6|audio/strawberry|2024-07-21|Unflavor. Qt5 is obsolete
diff --git a/audio/strawberry/Makefile b/audio/strawberry/Makefile
index c3ba6ac5853f..78b65f0b7580 100644
--- a/audio/strawberry/Makefile
+++ b/audio/strawberry/Makefile
@@ -1,51 +1,37 @@
 PORTNAME=	strawberry
-DISTVERSION=	1.0.23
-PORTREVISION=	2
+DISTVERSION=	1.1.0
 CATEGORIES=	audio
-MASTER_SITES=	https://github.com/strawberrymusicplayer/${PORTNAME}/releases/download/${DISTVERSION}/ \
-		https://files.jkvinge.net/packages/strawberry/
-PKGNAMESUFFIX=	-${FLAVOR}
+MASTER_SITES=	https://github.com/strawberrymusicplayer/${PORTNAME}/releases/download/${DISTVERSION}/
 
 MAINTAINER=	jhale@FreeBSD.org
 COMMENT=	Music player and collection organizer
 WWW=		https://www.strawberrymusicplayer.org/
 
-LICENSE=	GPLv3
+LICENSE=	GPLv3+
 LICENSE_FILE=	${WRKSRC}/COPYING
 
 BUILD_DEPENDS=	boost-libs>0:devel/boost-libs
 LIB_DEPENDS=	libabsl_base.so:devel/abseil \
+		libicui18n.so:devel/icu \
 		libprotobuf.so:devel/protobuf \
 		libtag.so:audio/taglib
 
-FLAVORS=		qt6 qt5
-FLAVOR?=		${FLAVORS:[1]}
-qt5_CONFLICTS_INSTALL=	strawberry strawberry-qt6
-qt6_CONFLICTS_INSTALL=	strawberry strawberry-qt5
-
 USES=		cmake compiler:c++17-lang desktop-file-utils gettext-runtime \
-		gl gnome pkgconfig qt:${FLAVOR:S/qt//} sqlite tar:xz xorg
+		gl gnome pkgconfig qt:6 sqlite tar:xz xorg
 
 USE_GNOME=	glib20
-_USE_GL_qt5=	#
-_USE_GL_qt6=	opengl
-USE_GL=		${_USE_GL_${FLAVOR}}
-_USE_QT_qt5=	concurrent core dbus gui network sql sql-sqlite3:run widgets \
-		x11extras buildtools:build linguisttools:build qmake:build
-_USE_QT_qt6=	base sqldriver-sqlite:run tools:build
-USE_QT=		${_USE_QT_${FLAVOR}}
+USE_GL=		opengl
+USE_QT=		base sqldriver-sqlite:run tools:build
 USE_XORG=	ice sm x11 xcb xext
 
-CMAKE_ON=	BUILD_WITH_${FLAVOR:tu}
+CMAKE_ON=	BUILD_WITH_QT6
 CMAKE_OFF=	ENABLE_UDISKS2
 
 OPTIONS_MULTI=		BACKEND SOUND
 OPTIONS_MULTI_BACKEND=	GSTREAMER VLC
 OPTIONS_MULTI_SOUND=	ALSA PULSEAUDIO
-OPTIONS_SINGLE=		UNICODE
-OPTIONS_SINGLE_UNICODE=	ICONV ICU
 OPTIONS_DEFINE=		CDIO EBUR128 IPOD MOODBAR MTP MUSICBRAINZ NLS TEST
-OPTIONS_DEFAULT=	ALSA EBUR128 GSTREAMER ICU MOODBAR MUSICBRAINZ
+OPTIONS_DEFAULT=	ALSA EBUR128 GSTREAMER MOODBAR MUSICBRAINZ
 OPTIONS_SUB=		yes
 
 BACKEND_DESC=		Playback engine
@@ -71,11 +57,6 @@ GSTREAMER_USES=		gstreamer
 GSTREAMER_USE=		GSTREAMER=faac,faad,flac,lame,libav,mpg123,opus,taglib,vorbis
 GSTREAMER_CMAKE_BOOL=	ENABLE_GSTREAMER
 
-ICONV_USES=		iconv:translit
-
-ICU_LIB_DEPENDS=	libicui18n.so:devel/icu
-ICU_CMAKE_BOOL=		USE_ICU
-
 IPOD_LIB_DEPENDS=	libgpod.so:audio/libgpod \
 			libimobiledevice-1.0.so:comms/libimobiledevice \
 			libplist-2.0.so:devel/libplist
@@ -103,9 +84,6 @@ VLC_LIB_DEPENDS=	libvlc.so:multimedia/vlc
 VLC_CMAKE_BOOL=		ENABLE_VLC
 
 TEST_BUILD_DEPENDS=	googletest>=0:devel/googletest
-.if ${FLAVOR:U} == qt5
-TEST_USE=		QT=testlib:build
-.endif
 TEST_TEST_TARGET=	strawberry_tests
 
 .include <bsd.port.mk>
diff --git a/audio/strawberry/distinfo b/audio/strawberry/distinfo
index e9b46b5c482e..4c7d1650bd70 100644
--- a/audio/strawberry/distinfo
+++ b/audio/strawberry/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1705440541
-SHA256 (strawberry-1.0.23.tar.xz) = 24f63064caf62c72330e9fa0808a1ca938339831d0a4e8385986280601a54f10
-SIZE (strawberry-1.0.23.tar.xz) = 11297440
+TIMESTAMP = 1721456006
+SHA256 (strawberry-1.1.0.tar.xz) = 03ac6d9593e25694c32e42264e38dd90005d2dc5634d53f24f64bdfc706587a7
+SIZE (strawberry-1.1.0.tar.xz) = 11353132