rockbox-utility: add wrapQtAppsHook
It seems like all QT apps which use dynamic plugins should be wrapped with `wrapQtAppsHook`. However, rockbox-utility is still not wrapped, therefore fails to launch. This change adds `qt5.wrapQtAppsHook` to nativeBuildInputs of rockbox-utility.
This commit is contained in:
parent
1ca8ee8111
commit
861df8abd5
@ -1,6 +1,6 @@
|
|||||||
{ stdenv, fetchurl, pkgconfig, libusb1
|
{ stdenv, fetchurl, pkgconfig, libusb1
|
||||||
, qtbase, qttools, makeWrapper, qmake
|
, qtbase, qttools, makeWrapper, qmake
|
||||||
, withEspeak ? false, espeak ? null }:
|
, withEspeak ? false, espeak ? null, qt5 }:
|
||||||
|
|
||||||
let inherit (stdenv.lib) getDev; in
|
let inherit (stdenv.lib) getDev; in
|
||||||
|
|
||||||
@ -15,7 +15,7 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
buildInputs = [ libusb1 qtbase qttools ]
|
buildInputs = [ libusb1 qtbase qttools ]
|
||||||
++ stdenv.lib.optional withEspeak espeak;
|
++ stdenv.lib.optional withEspeak espeak;
|
||||||
nativeBuildInputs = [ makeWrapper pkgconfig qmake ];
|
nativeBuildInputs = [ makeWrapper pkgconfig qmake qt5.wrapQtAppsHook ];
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
sed -i rbutil/rbutilqt/rbutilqt.pro \
|
sed -i rbutil/rbutilqt/rbutilqt.pro \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user