PORTNAME= mixxx DISTVERSION= 2.4.1 PORTREVISION= 7 CATEGORIES= audio PATCH_SITES= https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/commit/ PATCHFILES= 4e4d4e866ef86bb4d196a1903778697552cca05a.patch:-p1 \ ed547fd2b0f9dee98740fcf32c1307a092470322.patch:-p1 \ c052808ca4b27050e99ce9fab9f0b53e90377eed.patch:-p1 \ c4b3a7e91c56cea7f9bd1c18c1fe01d9da705144.patch:-p1 \ ccc3e69b73bf98b4a909442760976d1786d38195.patch:-p1 \ cc0148fc768dd9cd3ad82c0746bb901bd37ad7d1.patch:-p1 MAINTAINER= acm@FreeBSD.org COMMENT= DJ mixing application WWW= https://mixxx.org/ LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= benchmark>0:devel/benchmark \ googletest>0:devel/googletest \ lv2>=1.14.0:audio/lv2 \ microsoft-gsl>0:devel/microsoft-gsl LIB_DEPENDS= libabsl_base.so:devel/abseil \ libchromaprint.so:audio/chromaprint \ libFLAC.so:audio/flac \ libfftw3.so:math/fftw3 \ libhidapi.so:comms/hidapi \ libid3tag.so:audio/libid3tag \ libmad.so:audio/libmad \ libmodplug.so:audio/libmodplug \ libportaudio.so:audio/portaudio \ libSoundTouch.so:audio/soundtouch \ librubberband.so:audio/rubberband \ libsndfile.so:audio/libsndfile \ libogg.so:audio/libogg \ libvorbisfile.so:audio/libvorbis \ libtag.so:audio/taglib \ libprotobuf.so:devel/protobuf \ liblilv-0.so:audio/lilv \ libportmidi.so:audio/portmidi \ libupower-glib.so:sysutils/upower \ libkeyfinder.so:audio/libkeyfinder \ libmp3lame.so:audio/lame USES= cmake:testing compiler:c++20-lang ebur128 gl iconv ninja qt:5 pkgconfig \ sqlite ssl xorg USE_XORG= ice sm x11 xext USE_GL= gl glu USE_GITHUB= yes GH_ACCOUNT= mixxxdj USE_QT= buildtools concurrent core dbus declarative gui linguisttools:build \ network opengl printsupport qmake:build sql sql-sqlite3 svg testlib \ widgets x11extras xml CONFLICTS= mixxx22* CMAKE_ARGS+= -DINSTALL_USER_UDEV_RULES:BOOL=OFF \ -DOPTIMIZE:STRING=portable \ -DBATTERY:BOOL=OFF \ -DFAAD:BOOL=OFF \ -DMODPLUG:BOOL=ON \ -DMAD:BOOL=ON PORTDOCS= * OPTIONS_DEFINE= BROADCAST DOCS ENGINEPRIME FFMPEG GPERFTOOLS HID OPUS \ QTKEYCHAIN WAVPACK OPTIONS_DEFAULT= BROADCAST FFMPEG HID OPUS QTKEYCHAIN WAVPACK OPTIONS_SUB= yes BROADCAST_DESC= Live Broadcasting (Shoutcast) support #BROADCAST_LIB_DEPENDS= libshout-idjc.so:audio/shout-idjc BROADCAST_CMAKE_BOOL= BROADCAST ENGINEPRIME_DESC= Denon Engine Prime library export support ENGINEPRIME_LIB_DEPENDS= libdjinterop.so:audio/libdjinterop ENGINEPRIME_CMAKE_BOOL= ENGINEPRIME FFMPEG_LIB_DEPENDS= libavcodec.so:multimedia/ffmpeg FFMPEG_CMAKE_BOOL= FFMPEG GPERFTOOLS_LIB_DEPENDS= libtcmalloc.so:devel/google-perftools 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_BOOL= OPUS QTKEYCHAIN_DESC= Secure credentials storage for Live Broadcasting profiles QTKEYCHAIN_LIB_DEPENDS= libqt5keychain.so:security/qtkeychain@qt5 QTKEYCHAIN_CMAKE_BOOL= QTKEYCHAIN WAVPACK_LIB_DEPENDS= libwavpack.so:audio/wavpack WAVPACK_CMAKE_BOOL= WAVPACK post-patch: @${REINPLACE_CMD} -e "s|^Exec=.*|Exec=mixxx|" \ ${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 .include