Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 3 Sep 2021 13:06:36 GMT
From:      Tobias Kortkamp <tobik@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 3ccf6b0df2b0 - main - audio/mixxx: Unbreak all the options
Message-ID:  <202109031306.183D6agW068021@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by tobik:

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

commit 3ccf6b0df2b02ce02763be1011d7e95ab91ac612
Author:     Tobias Kortkamp <tobik@FreeBSD.org>
AuthorDate: 2021-09-03 13:01:56 +0000
Commit:     Tobias Kortkamp <tobik@FreeBSD.org>
CommitDate: 2021-09-03 13:01:56 +0000

    audio/mixxx: Unbreak all the options
    
    There are no opt_CMAKE_ARGS{,_OFF} helpers.  Should have been
    opt_CMAKE_{ON,OFF} but opt_CMAKE_BOOL is the better choice here.
    
    Reported by:    portscan
---
 audio/mixxx/Makefile | 25 +++++++++----------------
 1 file changed, 9 insertions(+), 16 deletions(-)

diff --git a/audio/mixxx/Makefile b/audio/mixxx/Makefile
index 753cf89e8bef..6c05d667cd70 100644
--- a/audio/mixxx/Makefile
+++ b/audio/mixxx/Makefile
@@ -2,7 +2,7 @@
 
 PORTNAME=	mixxx
 DISTVERSION=	2.3.0
-PORTREVISION=	2
+PORTREVISION=	3
 CATEGORIES=	audio
 
 MAINTAINER=	acm@FreeBSD.org
@@ -62,28 +62,21 @@ OPTIONS_SUB=		yes
 
 BROADCAST_DESC=		Live Broadcasting (Shoutcast) support
 #BROADCAST_LIB_DEPENDS=	libshout-idjc.so:audio/shout-idjc
-BROADCAST_CMAKE_ARGS=	-DBROADCAST:BOOL=ON
-BROADCAST_CMAKE_ARGS_OFF=-DBROADCAST:BOOL=OFF
+BROADCAST_CMAKE_BOOL=	BROADCAST
 FFMPEG_LIB_DEPENDS=	libavcodec.so:multimedia/ffmpeg
-FFMPEG_CMAKE_ARGS=	-DFFMPEG:BOOL=ON
-FFMPEG_CMAKE_ARGS_OFF=	-DFFMPEG:BOOL=OFF
+FFMPEG_CMAKE_BOOL=	FFMPEG
 GPERFTOOLS_LIB_DEPENDS=	libtcmalloc.so:devel/google-perftools
-GPERFTOOLS_CMAKE_ARGS=	-DPERFTOOLS:BOOL=ON
-GPERFTOOLS_CMAKE_ARGS_OFF=	-DPERFTOOLS:BOOL=OFF
-HID_DESC=			USB HID controllers support
-HID_CMAKE_ARGS=		-DHID:BOOL=ON
-HID_CMAKE_ARGS_OFF=	-DHID:BOOL=OFF
+GPERFTOOLS_CMAKE_BOOL=	GPERFTOOLS
+HID_DESC=		USB HID controllers support
+HID_CMAKE_BOOL=		HID
 OPUS_LIB_DEPENDS=	libopus.so:audio/opus \
 			libopusfile.so:audio/opusfile
-OPUS_CMAKE_ARGS=	-DOPUS:BOOL=ON
-OPUS_CMAKE_ARGS_OFF=	-DOPUS:BOOL=OFF
+OPUS_CMAKE_BOOL=	OPUS
 QTKEYCHAIN_DESC=	Secure credentials storage for Live Broadcasting profiles
 QTKEYCHAIN_LIB_DEPENDS=	libqt5keychain.so:security/qtkeychain
-QTKEYCHAIN_CMAKE_ARGS=	-DQTKEYCHAIN:BOOL:ON
-QTKEYCHAIN_CMAKE_ARGS_OFF=-DQTKEYCHAIN:BOOL:OFF
+QTKEYCHAIN_CMAKE_BOOL=	QTKEYCHAIN
 WAVPACK_LIB_DEPENDS=	libwavpack.so:audio/wavpack
-WAVPACK_CMAKE_ARGS=	-DWAVPACK:BOOL=ON
-WAVPACK_CMAKE_ARGS_OFF=	-DWAVPACK:BOOL=OFF
+WAVPACK_CMAKE_BOOL=	WAVPACK
 
 post-patch:
 	@${REINPLACE_CMD} -e "s|^Exec=.*|Exec=mixxx|" \



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202109031306.183D6agW068021>