mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-26 10:30:32 +00:00
muse: Use wrapQtAppsHook.
Fixes this error:
qt.qpa.plugin: Could not find the Qt platform plugin "xcb" in ""
This application failed to start because no Qt platform plugin could
be initialized. Reinstalling the application may fix this problem.
Aborted (core dumped)
Also, remove the unnecessary build input `gitFull`, and enable
parallel building.
Signed-off-by: Anders Kaseorg <andersk@mit.edu>
(cherry picked from commit 1bcb6fb027)
This commit is contained in:
committed by
worldofpeace
parent
4fb1fd69e8
commit
1dadefec57
@@ -1,7 +1,9 @@
|
||||
{ stdenv
|
||||
, fetchFromGitHub
|
||||
, libjack2
|
||||
, qt5
|
||||
, wrapQtAppsHook
|
||||
, qtsvg
|
||||
, qttools
|
||||
, cmake
|
||||
, libsndfile
|
||||
, libsamplerate
|
||||
@@ -13,7 +15,6 @@
|
||||
, dssi
|
||||
, liblo
|
||||
, pkgconfig
|
||||
, gitAndTools
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
@@ -45,14 +46,14 @@ stdenv.mkDerivation {
|
||||
|
||||
nativeBuildInputs = [
|
||||
pkgconfig
|
||||
gitAndTools.gitFull
|
||||
wrapQtAppsHook
|
||||
qttools
|
||||
cmake
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
libjack2
|
||||
qt5.qtsvg
|
||||
qt5.qttools
|
||||
cmake
|
||||
qtsvg
|
||||
libsndfile
|
||||
libsamplerate
|
||||
ladspaH
|
||||
@@ -65,15 +66,4 @@ stdenv.mkDerivation {
|
||||
];
|
||||
|
||||
sourceRoot = "source/muse3";
|
||||
|
||||
buildPhase = ''
|
||||
cd ..
|
||||
bash compile_muse.sh
|
||||
'';
|
||||
|
||||
installPhase = ''
|
||||
mkdir $out
|
||||
cd build
|
||||
make install
|
||||
'';
|
||||
}
|
||||
|
||||
@@ -23892,7 +23892,7 @@ in
|
||||
|
||||
mupen64plus = callPackage ../misc/emulators/mupen64plus { };
|
||||
|
||||
muse = callPackage ../applications/audio/muse { };
|
||||
muse = libsForQt5.callPackage ../applications/audio/muse { };
|
||||
|
||||
musly = callPackage ../applications/audio/musly { };
|
||||
|
||||
|
||||
Reference in New Issue
Block a user