git: 7414f24176d5 - main - audio/strawberry: Use iconv:translit

From: Nuno Teixeira <eduardo_at_FreeBSD.org>
Date: Tue, 19 Jul 2022 08:36:45 UTC
The branch main has been updated by eduardo:

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

commit 7414f24176d5de3e3c5ef7159532545a2bbf616d
Author:     Nuno Teixeira <eduardo@FreeBSD.org>
AuthorDate: 2022-07-19 08:28:55 +0000
Commit:     Nuno Teixeira <eduardo@FreeBSD.org>
CommitDate: 2022-07-19 08:36:30 +0000

    audio/strawberry: Use iconv:translit
    
     - use USES= 'iconv:translit' instead of 'iconv' to pet Q/A checks
       about converters/libiconv not declared as a dependency.
       Source code gives some hints about 'translit':
       "src/core/utilities.cpp:  iconv_t conv = iconv_open("ASCII//TRANSLIT", "UTF-8");"
     - reorder variables (pet portfmt)
     - bump PORTREVISION
    
    PR:             265290
---
 audio/strawberry/Makefile | 28 ++++++++++++++--------------
 1 file changed, 14 insertions(+), 14 deletions(-)

diff --git a/audio/strawberry/Makefile b/audio/strawberry/Makefile
index 685b0748800c..7f8e68ada979 100644
--- a/audio/strawberry/Makefile
+++ b/audio/strawberry/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	strawberry
 DISTVERSION=	1.0.6
+PORTREVISION=	1
 CATEGORIES=	audio
 MASTER_SITES=	https://github.com/strawberrymusicplayer/${PORTNAME}/releases/download/${DISTVERSION}/ \
 		https://files.jkvinge.net/packages/strawberry/
@@ -16,22 +17,24 @@ LIB_DEPENDS=	libgnutls.so:security/gnutls \
 		libtag.so:audio/taglib
 TEST_DEPENDS=	googletest>=0:devel/googletest
 
-USES=		compiler:c++11-lang cmake desktop-file-utils gnome \
-		gettext-runtime gettext-tools gstreamer iconv pkgconfig \
-		qt:5 sqlite pkgconfig tar:xz xorg
+USES=		cmake compiler:c++11-lang desktop-file-utils gettext-runtime \
+		gettext-tools gnome gstreamer iconv:translit pkgconfig qt:5 \
+		sqlite tar:xz xorg
 
 USE_GNOME=	glib20
-USE_QT=		buildtools_build concurrent core dbus gui network \
-		linguisttools qmake_build sql sql-sqlite3 testlib_build \
-		widgets x11extras
+USE_QT=		concurrent core dbus gui linguisttools network sql sql-sqlite3 \
+		widgets x11extras buildtools_build qmake_build testlib_build
 USE_XORG=	ice sm x11 xcb xext
 
-CMAKE_ARGS=	-DUSE_SYSTEM_TAGLIB=ON -DENABLE_UDISKS2=OFF \
-		-DENABLE_GSTREAMER:BOOL=true \
-		-DENABLE_TRANSLATIONS:BOOL=true
+CMAKE_ARGS=	-DENABLE_GSTREAMER:BOOL=true \
+		-DENABLE_TRANSLATIONS:BOOL=true \
+		-DENABLE_UDISKS2=OFF \
+		-DUSE_SYSTEM_TAGLIB=ON
 
 TEST_TARGET=	strawberry_test
 
+SUB_FILES=	pkg-message
+
 # NLS is not optional, as of 0.6.11,
 # src/core/utilities.cpp always includes iconv.h and calls iconv_*().
 
@@ -40,8 +43,7 @@ TEST_TARGET=	strawberry_test
 # error: member initializer 'transcode_dialog_' does not name a non-static data member or base class
 # transcode_dialog_([=]() {
 
-OPTIONS_DEFINE=		AUDIOCD IPOD MOODBAR MTPDEV MUSICBRAINZ \
-			SUBSONIC TIDAL VLC
+OPTIONS_DEFINE=	AUDIOCD IPOD MOODBAR MTPDEV MUSICBRAINZ SUBSONIC TIDAL VLC
 
 OPTIONS_DEFAULT=	ALSA MOODBAR
 
@@ -74,7 +76,7 @@ MTPDEV_LIB_DEPENDS=	libmtp.so:multimedia/libmtp
 MOODBAR_CMAKE_BOOL=	ENABLE_MOODBAR
 MOODBAR_LIB_DEPENDS=	libfftw3.so:math/fftw3
 
-MUSICBRAINZ_CMAKE_BOOL=	ENABLE_CHROMAPRINT
+MUSICBRAINZ_CMAKE_BOOL=		ENABLE_CHROMAPRINT
 MUSICBRAINZ_LIB_DEPENDS=	libchromaprint.so:audio/chromaprint
 
 PULSEAUDIO_CMAKE_BOOL=	ENABLE_LIBPULSE
@@ -87,6 +89,4 @@ TIDAL_CMAKE_BOOL=	ENABLE_TIDAL
 VLC_CMAKE_BOOL=		ENABLE_VLC
 VLC_LIB_DEPENDS=	libvlc.so:multimedia/vlc
 
-SUB_FILES=		pkg-message
-
 .include <bsd.port.mk>