1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-04 01:48:54 +00:00

audio/mixxx: update to 2.3.4

ChangeLog at:	https://github.com/mixxxdj/mixxx/blob/2.3.2/CHANGELOG.md
PR:		259059
Reported by:	fbsd-bugzilla  _at_  schlachter.ca
This commit is contained in:
Jose Alonso Cardenas Marquez 2022-03-07 16:29:03 -05:00
parent 8a441ed356
commit 32dc463939
6 changed files with 34 additions and 45 deletions

View File

@ -1,8 +1,8 @@
# Created by: Jean-Yves Lefort <jylefort@brutele.be>
PORTNAME= mixxx
DISTVERSION= 2.3.0
PORTREVISION= 6
DISTVERSION= 2.3.2
PORTREVISION= 0
CATEGORIES= audio
MAINTAINER= acm@FreeBSD.org
@ -80,9 +80,11 @@ WAVPACK_CMAKE_BOOL= WAVPACK
post-patch:
@${REINPLACE_CMD} -e "s|^Exec=.*|Exec=mixxx|" \
${WRKSRC}/res/linux/mixxx.desktop
${WRKSRC}/res/linux/org.mixxx.Mixxx.desktop
@${REINPLACE_CMD} -e "s,(Q_OS_LINUX),(Q_OS_LINUX) || defined(Q_OS_FREEBSD),g" \
${WRKSRC}/src/util/screensaver.h
@${REINPLACE_CMD} -e "s|QUIET hidapi-libusb|QUIET hidapi|" \
${WRKSRC}/cmake/modules/Findhidapi.cmake
.for i in midi/midimessage.h
@${ECHO_CMD} >> ${WRKSRC}/src/controllers/${i}
.endfor

View File

@ -1,3 +1,3 @@
TIMESTAMP = 1625856636
SHA256 (mixxxdj-mixxx-2.3.0_GH0.tar.gz) = ea0dad33bafa9f7a3523f19efa7c3163070fc8b946e93159907a2efb6037babe
SIZE (mixxxdj-mixxx-2.3.0_GH0.tar.gz) = 39736601
TIMESTAMP = 1646682590
SHA256 (mixxxdj-mixxx-2.3.2_GH0.tar.gz) = b6a0ed80bfbda5b65014e75ffd132f8a7474b260ef18d1e4e2c203e21bb28695
SIZE (mixxxdj-mixxx-2.3.2_GH0.tar.gz) = 40138947

View File

@ -1,14 +0,0 @@
--- cmake/modules/FindLibUSB.cmake.orig 2021-06-28 20:04:59 UTC
+++ cmake/modules/FindLibUSB.cmake
@@ -57,7 +57,11 @@ find_path(LibUSB_INCLUDE_DIR
mark_as_advanced(LibUSB_INCLUDE_DIR)
find_library(LibUSB_LIBRARY
+if(${CMAKE_SYSTEM_NAME} MATCHES "FreeBSD")
+ NAMES usb
+else
NAMES usb-1.0
+endif()
PATHS ${PC_LibUSB_LIBRARY_DIRS}
DOC "LibUSB library"
)

View File

@ -1,11 +0,0 @@
--- lib/rigtorp/SPSCQueue/include/rigtorp/SPSCQueue.h.orig 2021-06-28 20:04:59 UTC
+++ lib/rigtorp/SPSCQueue/include/rigtorp/SPSCQueue.h
@@ -189,7 +189,7 @@ template <typename T, typename Allocator = std::alloca
// on macOS there is a bug in libc++ where __cpp_lib_hardware_interference_size
// is defined but std::hardware_destructive_interference_size is not actually implemented
// https://bugs.llvm.org/show_bug.cgi?id=41423
-#if defined(__cpp_lib_hardware_interference_size) && ! defined(__APPLE__)
+#if defined(__cpp_lib_hardware_interference_size) && ! defined(__APPLE__) && ! defined(__FreeBSD__)
static constexpr size_t kCacheLineSize =
std::hardware_destructive_interference_size;
#else

View File

@ -1,11 +0,0 @@
--- src/util/versionstore.cpp.orig 2021-07-17 15:58:25 UTC
+++ src/util/versionstore.cpp
@@ -77,6 +77,8 @@ QString VersionStore::platform() {
QString base = QStringLiteral("Linux");
#elif defined(__WINDOWS__)
QString base = QStringLiteral("Windows");
+#elif defined(__FreeBSD__)
+ QString base = QStringLiteral("FreeBSD");
#else
QString base = QStringLiteral("Unknown OS");
#endif

View File

@ -1,8 +1,16 @@
bin/mixxx
share/applications/mixxx.desktop
share/applications/org.mixxx.Mixxx.desktop
%%PORTDOCS%%%%DOCSDIR%%/COPYING
%%PORTDOCS%%%%DOCSDIR%%/LICENSE
%%PORTDOCS%%%%DOCSDIR%%/Mixxx-Keyboard-Shortcuts.pdf
%%PORTDOCS%%%%DOCSDIR%%/README.md
share/icons/hicolor/128x128/apps/mixxx.png
share/icons/hicolor/256x256/apps/mixxx.png
share/icons/hicolor/32x32/apps/mixxx.png
share/icons/hicolor/512x512/apps/mixxx.png
share/icons/hicolor/64x64/apps/mixxx.png
share/icons/hicolor/scalable/apps/mixxx.svg
share/metainfo/mixxx.metainfo.xml
share/metainfo/org.mixxx.Mixxx.metainfo.xml
%%DATADIR%%/controllers/.eslintrc.json
%%DATADIR%%/controllers/Akai MPD24.midi.xml
%%DATADIR%%/controllers/Akai-LPD8-RK-scripts.js
@ -163,6 +171,7 @@ share/metainfo/mixxx.metainfo.xml
%%DATADIR%%/controllers/Numark MIXTRACK.midi.xml
%%DATADIR%%/controllers/Numark Mixtrack 2.midi.xml
%%DATADIR%%/controllers/Numark Mixtrack Platinum.midi.xml
%%DATADIR%%/controllers/Numark Mixtrack Pro FX.midi.xml
%%DATADIR%%/controllers/Numark Mixtrack Pro.midi.xml
%%DATADIR%%/controllers/Numark N4.midi.xml
%%DATADIR%%/controllers/Numark NS7.midi.xml
@ -176,6 +185,7 @@ share/metainfo/mixxx.metainfo.xml
%%DATADIR%%/controllers/Numark-Mixtrack-3-scripts.js
%%DATADIR%%/controllers/Numark-Mixtrack-3.midi.xml
%%DATADIR%%/controllers/Numark-Mixtrack-Platinum-scripts.js
%%DATADIR%%/controllers/Numark-Mixtrack-Pro-FX-scripts.js
%%DATADIR%%/controllers/Numark-Mixtrack-Pro-scripts.js
%%DATADIR%%/controllers/Numark-N4-scripts.js
%%DATADIR%%/controllers/Numark-NS7-scripts.js
@ -183,6 +193,8 @@ share/metainfo/mixxx.metainfo.xml
%%DATADIR%%/controllers/Numark-Total-Control-scripts.js
%%DATADIR%%/controllers/Numark-V7-scripts.js
%%DATADIR%%/controllers/Numark-iDJ-Live-II-scripts.js
%%DATADIR%%/controllers/Numark_DJ2GO2_Touch.midi.xml
%%DATADIR%%/controllers/Numark_DJ2GO2_Touch_scripts.js
%%DATADIR%%/controllers/Pioneer CDJ HID.hid.xml
%%DATADIR%%/controllers/Pioneer CDJ-2000.midi.xml
%%DATADIR%%/controllers/Pioneer CDJ-350 Ch1.midi.xml
@ -201,6 +213,8 @@ share/metainfo/mixxx.metainfo.xml
%%DATADIR%%/controllers/Pioneer-DDJ-SB.midi.xml
%%DATADIR%%/controllers/Pioneer-DDJ-SB2-scripts.js
%%DATADIR%%/controllers/Pioneer-DDJ-SB2.midi.xml
%%DATADIR%%/controllers/Pioneer-DDJ-SB3-scripts.js
%%DATADIR%%/controllers/Pioneer-DDJ-SB3.midi.xml
%%DATADIR%%/controllers/Pioneer-DDJ-SX-scripts.js
%%DATADIR%%/controllers/README.txt
%%DATADIR%%/controllers/Reloop Beatmix 2-4.midi.xml
@ -284,7 +298,7 @@ share/metainfo/mixxx.metainfo.xml
%%DATADIR%%/controllers/novation-launchpad/.gitignore
%%DATADIR%%/controllers/novation-launchpad/LICENSE
%%DATADIR%%/controllers/novation-launchpad/Makefile
%%DATADIR%%/controllers/novation-launchpad/README.MD
%%DATADIR%%/controllers/novation-launchpad/README.md
%%DATADIR%%/controllers/novation-launchpad/docs/lp-1.png
%%DATADIR%%/controllers/novation-launchpad/docs/lp-2.png
%%DATADIR%%/controllers/novation-launchpad/docs/lp-3.png
@ -491,6 +505,8 @@ share/metainfo/mixxx.metainfo.xml
%%DATADIR%%/skins/Deere/icon/ic_lib_spinbox_up_white.svg
%%DATADIR%%/skins/Deere/icon/ic_library_bpm_locked.svg
%%DATADIR%%/skins/Deere/icon/ic_library_bpm_unlocked.svg
%%DATADIR%%/skins/Deere/icon/ic_library_checkbox.svg
%%DATADIR%%/skins/Deere/icon/ic_library_checkbox_checked.svg
%%DATADIR%%/skins/Deere/icon/ic_library_checkmark_blue.svg
%%DATADIR%%/skins/Deere/icon/ic_library_checkmark_grey.svg
%%DATADIR%%/skins/Deere/icon/ic_library_checkmark_orange.svg
@ -734,6 +750,8 @@ share/metainfo/mixxx.metainfo.xml
%%DATADIR%%/skins/LateNight/classic/buttons/btn__lib_bpm_locked_orange.svg
%%DATADIR%%/skins/LateNight/classic/buttons/btn__lib_bpm_unlocked_grey.svg
%%DATADIR%%/skins/LateNight/classic/buttons/btn__lib_bpm_up.svg
%%DATADIR%%/skins/LateNight/classic/buttons/btn__lib_checkbox.svg
%%DATADIR%%/skins/LateNight/classic/buttons/btn__lib_checkbox_checked.svg
%%DATADIR%%/skins/LateNight/classic/buttons/btn__lib_checkmark_grey.svg
%%DATADIR%%/skins/LateNight/classic/buttons/btn__lib_checkmark_indeterminate_grey.svg
%%DATADIR%%/skins/LateNight/classic/buttons/btn__lib_checkmark_indeterminate_orange.svg
@ -1200,6 +1218,7 @@ share/metainfo/mixxx.metainfo.xml
%%DATADIR%%/skins/LateNight/palemoon/buttons/btn__lib_bpm_locked_black.svg
%%DATADIR%%/skins/LateNight/palemoon/buttons/btn__lib_bpm_locked_blue.svg
%%DATADIR%%/skins/LateNight/palemoon/buttons/btn__lib_bpm_unlocked_grey.svg
%%DATADIR%%/skins/LateNight/palemoon/buttons/btn__lib_checkbox.svg
%%DATADIR%%/skins/LateNight/palemoon/buttons/btn__lib_checkmark_blue.svg
%%DATADIR%%/skins/LateNight/palemoon/buttons/btn__lib_checkmark_grey.svg
%%DATADIR%%/skins/LateNight/palemoon/buttons/btn__lib_checkmark_indeterminate_blue.svg
@ -1611,6 +1630,8 @@ share/metainfo/mixxx.metainfo.xml
%%DATADIR%%/skins/Shade/btn/btn_kill_overdown_summer.png
%%DATADIR%%/skins/Shade/btn/btn_lib_bpm_locked.svg
%%DATADIR%%/skins/Shade/btn/btn_lib_bpm_unlocked.svg
%%DATADIR%%/skins/Shade/btn/btn_lib_checkbox.svg
%%DATADIR%%/skins/Shade/btn/btn_lib_checkbox_checked.svg
%%DATADIR%%/skins/Shade/btn/btn_lib_checkmark.svg
%%DATADIR%%/skins/Shade/btn/btn_lib_checkmark_black.svg
%%DATADIR%%/skins/Shade/btn/btn_lib_checkmark_dark_grey.svg
@ -2246,6 +2267,8 @@ share/metainfo/mixxx.metainfo.xml
%%DATADIR%%/skins/Tango/buttons/btn_keylock_on.svg
%%DATADIR%%/skins/Tango/buttons/btn_lib_bpm_locked.svg
%%DATADIR%%/skins/Tango/buttons/btn_lib_bpm_unlocked.svg
%%DATADIR%%/skins/Tango/buttons/btn_lib_checkbox.svg
%%DATADIR%%/skins/Tango/buttons/btn_lib_checkbox_checked.svg
%%DATADIR%%/skins/Tango/buttons/btn_lib_checkmark.svg
%%DATADIR%%/skins/Tango/buttons/btn_lib_checkmark_dark_grey.svg
%%DATADIR%%/skins/Tango/buttons/btn_lib_checkmark_grey.svg