mixxx: 2.4.2 -> 2.5.0 (#368403)
Changes performed: - build with Qt6, as per upstream recommendation - use qtWrapperArgs attr, as shown in Nixpkgs manual - fix license - add changelog
This commit is contained in:
parent
2c0af53cca
commit
4abac0552e
@ -1,7 +1,6 @@
|
|||||||
{
|
{
|
||||||
lib,
|
lib,
|
||||||
stdenv,
|
stdenv,
|
||||||
mkDerivation,
|
|
||||||
fetchFromGitHub,
|
fetchFromGitHub,
|
||||||
chromaprint,
|
chromaprint,
|
||||||
cmake,
|
cmake,
|
||||||
@ -38,11 +37,11 @@
|
|||||||
portaudio,
|
portaudio,
|
||||||
portmidi,
|
portmidi,
|
||||||
protobuf,
|
protobuf,
|
||||||
|
qt5compat,
|
||||||
qtbase,
|
qtbase,
|
||||||
|
qtdeclarative,
|
||||||
qtkeychain,
|
qtkeychain,
|
||||||
qtscript,
|
|
||||||
qtsvg,
|
qtsvg,
|
||||||
qtx11extras,
|
|
||||||
rubberband,
|
rubberband,
|
||||||
serd,
|
serd,
|
||||||
sord,
|
sord,
|
||||||
@ -53,28 +52,26 @@
|
|||||||
upower,
|
upower,
|
||||||
vamp-plugin-sdk,
|
vamp-plugin-sdk,
|
||||||
wavpack,
|
wavpack,
|
||||||
wrapGAppsHook3,
|
wrapQtAppsHook,
|
||||||
}:
|
}:
|
||||||
|
|
||||||
mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "mixxx";
|
pname = "mixxx";
|
||||||
version = "2.4.2";
|
version = "2.5.0";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "mixxxdj";
|
owner = "mixxxdj";
|
||||||
repo = "mixxx";
|
repo = "mixxx";
|
||||||
rev = version;
|
rev = version;
|
||||||
hash = "sha256-YfpFRLosIIND+HnZN+76ZY0dQqEJaFkWZS84gZOCdfc=";
|
hash = "sha256-1ZE2hVwacZve0+IOQs+htK/kl7zFsOWkh/KcrnI6u/M=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
cmake
|
cmake
|
||||||
pkg-config
|
pkg-config
|
||||||
wrapGAppsHook3
|
wrapQtAppsHook
|
||||||
];
|
];
|
||||||
|
|
||||||
dontWrapGApps = true;
|
|
||||||
|
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
chromaprint
|
chromaprint
|
||||||
faad2
|
faad2
|
||||||
@ -109,11 +106,11 @@ mkDerivation rec {
|
|||||||
portaudio
|
portaudio
|
||||||
portmidi
|
portmidi
|
||||||
protobuf
|
protobuf
|
||||||
|
qt5compat
|
||||||
qtbase
|
qtbase
|
||||||
|
qtdeclarative
|
||||||
qtkeychain
|
qtkeychain
|
||||||
qtscript
|
|
||||||
qtsvg
|
qtsvg
|
||||||
qtx11extras
|
|
||||||
rubberband
|
rubberband
|
||||||
serd
|
serd
|
||||||
sord
|
sord
|
||||||
@ -126,9 +123,7 @@ mkDerivation rec {
|
|||||||
wavpack
|
wavpack
|
||||||
];
|
];
|
||||||
|
|
||||||
preFixup = ''
|
qtWrapperArgs = [ "--set LOCALE_ARCHIVE ${glibcLocales}/lib/locale/locale-archive" ];
|
||||||
qtWrapperArgs+=(--set LOCALE_ARCHIVE ${glibcLocales}/lib/locale/locale-archive ''${gappsWrapperArgs[@]})
|
|
||||||
'';
|
|
||||||
|
|
||||||
# mixxx installs udev rules to DATADIR instead of SYSCONFDIR
|
# mixxx installs udev rules to DATADIR instead of SYSCONFDIR
|
||||||
# let's disable this and install udev rules manually via postInstall
|
# let's disable this and install udev rules manually via postInstall
|
||||||
@ -151,10 +146,11 @@ mkDerivation rec {
|
|||||||
homepage = "https://mixxx.org";
|
homepage = "https://mixxx.org";
|
||||||
description = "Digital DJ mixing software";
|
description = "Digital DJ mixing software";
|
||||||
mainProgram = "mixxx";
|
mainProgram = "mixxx";
|
||||||
license = licenses.gpl2Plus;
|
changelog = "https://github.com/mixxxdj/mixxx/blob/${version}/CHANGELOG.md";
|
||||||
|
license = licenses.gpl2;
|
||||||
maintainers = with maintainers; [
|
maintainers = with maintainers; [
|
||||||
bfortz
|
|
||||||
benley
|
benley
|
||||||
|
bfortz
|
||||||
];
|
];
|
||||||
platforms = platforms.linux;
|
platforms = platforms.linux;
|
||||||
};
|
};
|
||||||
|
|||||||
@ -14602,7 +14602,7 @@ with pkgs;
|
|||||||
|
|
||||||
minitube = libsForQt5.callPackage ../applications/video/minitube { };
|
minitube = libsForQt5.callPackage ../applications/video/minitube { };
|
||||||
|
|
||||||
mixxx = libsForQt5.callPackage ../applications/audio/mixxx { };
|
mixxx = qt6Packages.callPackage ../applications/audio/mixxx { };
|
||||||
|
|
||||||
mldonkey = callPackage ../applications/networking/p2p/mldonkey {
|
mldonkey = callPackage ../applications/networking/p2p/mldonkey {
|
||||||
ocamlPackages = ocaml-ng.ocamlPackages_4_14_unsafe_string;
|
ocamlPackages = ocaml-ng.ocamlPackages_4_14_unsafe_string;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user