git: 3ccf6b0df2b0 - main - audio/mixxx: Unbreak all the options
Tobias Kortkamp
tobik at FreeBSD.org
Fri Sep 3 13:06:37 UTC 2021
The branch main has been updated by tobik:
URL: https://cgit.FreeBSD.org/ports/commit/?id=3ccf6b0df2b02ce02763be1011d7e95ab91ac612
commit 3ccf6b0df2b02ce02763be1011d7e95ab91ac612
Author: Tobias Kortkamp <tobik at FreeBSD.org>
AuthorDate: 2021-09-03 13:01:56 +0000
Commit: Tobias Kortkamp <tobik at 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 at 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|" \
More information about the dev-commits-ports-all
mailing list