mixxx: 2.2.4 -> 2.3.0
* version update
* replace scons with cmake
* add new dependencies:
- hidapi, lame, libebur128, libkeyfinder, libmodplug, libsecret,
qtkeychain, serd, sord, soundtouch, sratom, wavpack
* use latest libshout again - streaming issues have been fixed
2021-06-30 00:05:30 +01:00
|
|
|
{ lib
|
2021-07-18 14:26:08 +01:00
|
|
|
, stdenv
|
mixxx: 2.2.4 -> 2.3.0
* version update
* replace scons with cmake
* add new dependencies:
- hidapi, lame, libebur128, libkeyfinder, libmodplug, libsecret,
qtkeychain, serd, sord, soundtouch, sratom, wavpack
* use latest libshout again - streaming issues have been fixed
2021-06-30 00:05:30 +01:00
|
|
|
, mkDerivation
|
|
|
|
, fetchurl
|
|
|
|
, fetchFromGitHub
|
|
|
|
, chromaprint
|
|
|
|
, cmake
|
|
|
|
, faad2
|
|
|
|
, ffmpeg
|
|
|
|
, fftw
|
|
|
|
, flac
|
|
|
|
, glibcLocales
|
|
|
|
, hidapi
|
|
|
|
, lame
|
|
|
|
, libebur128
|
|
|
|
, libGLU
|
|
|
|
, libid3tag
|
|
|
|
, libkeyfinder
|
|
|
|
, libmad
|
|
|
|
, libmodplug
|
|
|
|
, libopus
|
|
|
|
, libsecret
|
|
|
|
, libshout
|
|
|
|
, libsndfile
|
|
|
|
, libusb1
|
|
|
|
, libvorbis
|
|
|
|
, libxcb
|
|
|
|
, lilv
|
|
|
|
, lv2
|
|
|
|
, mp4v2
|
|
|
|
, opusfile
|
|
|
|
, pcre
|
|
|
|
, pkg-config
|
|
|
|
, portaudio
|
|
|
|
, portmidi
|
|
|
|
, protobuf
|
|
|
|
, qtbase
|
|
|
|
, qtkeychain
|
|
|
|
, qtscript
|
|
|
|
, qtsvg
|
|
|
|
, qtx11extras
|
|
|
|
, rubberband
|
|
|
|
, serd
|
|
|
|
, sord
|
|
|
|
, soundtouch
|
|
|
|
, sratom
|
|
|
|
, sqlite
|
|
|
|
, taglib
|
|
|
|
, upower
|
|
|
|
, vamp-plugin-sdk
|
|
|
|
, wavpack
|
2013-10-28 02:16:32 +00:00
|
|
|
}:
|
|
|
|
|
2019-08-04 22:11:09 +01:00
|
|
|
mkDerivation rec {
|
2019-08-15 13:41:18 +01:00
|
|
|
pname = "mixxx";
|
mixxx: 2.2.4 -> 2.3.0
* version update
* replace scons with cmake
* add new dependencies:
- hidapi, lame, libebur128, libkeyfinder, libmodplug, libsecret,
qtkeychain, serd, sord, soundtouch, sratom, wavpack
* use latest libshout again - streaming issues have been fixed
2021-06-30 00:05:30 +01:00
|
|
|
version = "2.3.0";
|
2013-10-28 02:16:32 +00:00
|
|
|
|
2018-08-26 12:13:18 +01:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "mixxxdj";
|
|
|
|
repo = "mixxx";
|
mixxx: 2.2.4 -> 2.3.0
* version update
* replace scons with cmake
* add new dependencies:
- hidapi, lame, libebur128, libkeyfinder, libmodplug, libsecret,
qtkeychain, serd, sord, soundtouch, sratom, wavpack
* use latest libshout again - streaming issues have been fixed
2021-06-30 00:05:30 +01:00
|
|
|
rev = version;
|
|
|
|
sha256 = "18sx4l3zzbn5142xfv5bp0crdd615a5728fkprqacnx3zpa144x6";
|
2013-10-28 02:16:32 +00:00
|
|
|
};
|
|
|
|
|
mixxx: 2.2.4 -> 2.3.0
* version update
* replace scons with cmake
* add new dependencies:
- hidapi, lame, libebur128, libkeyfinder, libmodplug, libsecret,
qtkeychain, serd, sord, soundtouch, sratom, wavpack
* use latest libshout again - streaming issues have been fixed
2021-06-30 00:05:30 +01:00
|
|
|
nativeBuildInputs = [ cmake pkg-config ];
|
|
|
|
|
2013-10-28 02:16:32 +00:00
|
|
|
buildInputs = [
|
mixxx: 2.2.4 -> 2.3.0
* version update
* replace scons with cmake
* add new dependencies:
- hidapi, lame, libebur128, libkeyfinder, libmodplug, libsecret,
qtkeychain, serd, sord, soundtouch, sratom, wavpack
* use latest libshout again - streaming issues have been fixed
2021-06-30 00:05:30 +01:00
|
|
|
chromaprint
|
|
|
|
faad2
|
|
|
|
ffmpeg
|
|
|
|
fftw
|
|
|
|
flac
|
|
|
|
glibcLocales
|
|
|
|
hidapi
|
|
|
|
lame
|
|
|
|
libebur128
|
|
|
|
libGLU
|
|
|
|
libid3tag
|
|
|
|
libkeyfinder
|
|
|
|
libmad
|
|
|
|
libmodplug
|
|
|
|
libopus
|
|
|
|
libsecret
|
|
|
|
libshout
|
|
|
|
libsndfile
|
|
|
|
libusb1
|
|
|
|
libvorbis
|
|
|
|
libxcb
|
|
|
|
lilv
|
|
|
|
lv2
|
|
|
|
mp4v2
|
|
|
|
opusfile
|
|
|
|
pcre
|
|
|
|
portaudio
|
|
|
|
portmidi
|
|
|
|
protobuf
|
|
|
|
qtbase
|
|
|
|
qtkeychain
|
|
|
|
qtscript
|
|
|
|
qtsvg
|
|
|
|
qtx11extras
|
|
|
|
rubberband
|
|
|
|
serd
|
|
|
|
sord
|
|
|
|
soundtouch
|
|
|
|
sratom
|
|
|
|
sqlite
|
|
|
|
taglib
|
|
|
|
upower
|
|
|
|
vamp-plugin-sdk
|
|
|
|
wavpack
|
2013-10-28 02:16:32 +00:00
|
|
|
];
|
|
|
|
|
2019-08-07 17:52:43 +01:00
|
|
|
qtWrapperArgs = [
|
|
|
|
"--set LOCALE_ARCHIVE ${glibcLocales}/lib/locale/locale-archive"
|
|
|
|
];
|
2018-11-12 02:52:07 +00:00
|
|
|
|
2021-07-18 14:26:08 +01:00
|
|
|
# mixxx installs udev rules to DATADIR instead of SYSCONFDIR
|
|
|
|
# let's disable this and install udev rules manually via postInstall
|
|
|
|
# see https://github.com/mixxxdj/mixxx/blob/2.3.0/CMakeLists.txt#L1381-L1392
|
|
|
|
cmakeFlags = [
|
|
|
|
"-DINSTALL_USER_UDEV_RULES=OFF"
|
|
|
|
];
|
|
|
|
|
|
|
|
postInstall = lib.optionalString stdenv.isLinux ''
|
|
|
|
rules="$src/res/linux/mixxx-usb-uaccess.rules"
|
|
|
|
if [ ! -f "$rules" ]; then
|
|
|
|
echo "$rules is missing, must update the Nix file."
|
|
|
|
exit 1
|
|
|
|
fi
|
|
|
|
mkdir -p "$out/lib/udev/rules.d"
|
|
|
|
cp "$rules" "$out/lib/udev/rules.d/69-mixxx-usb-uaccess.rules"
|
|
|
|
'';
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://mixxx.org";
|
2013-10-28 02:16:32 +00:00
|
|
|
description = "Digital DJ mixing software";
|
2016-01-23 14:46:44 +00:00
|
|
|
license = licenses.gpl2Plus;
|
mixxx: 2.2.4 -> 2.3.0
* version update
* replace scons with cmake
* add new dependencies:
- hidapi, lame, libebur128, libkeyfinder, libmodplug, libsecret,
qtkeychain, serd, sord, soundtouch, sratom, wavpack
* use latest libshout again - streaming issues have been fixed
2021-06-30 00:05:30 +01:00
|
|
|
maintainers = with maintainers; [ goibhniu bfortz ];
|
2016-01-23 14:46:44 +00:00
|
|
|
platforms = platforms.linux;
|
2013-10-28 02:16:32 +00:00
|
|
|
};
|
|
|
|
}
|