Merge pull request #84450 from akhramov/master

rockbox-utility: add wrapQtAppsHook
This commit is contained in:
Jörg Thalheim 2020-04-06 12:20:43 +01:00 committed by GitHub
commit 5af0a6c7f4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,6 +1,6 @@
{ stdenv, fetchurl, pkgconfig, libusb1
, qtbase, qttools, makeWrapper, qmake
, withEspeak ? false, espeak ? null }:
, withEspeak ? false, espeak ? null, qt5 }:
let inherit (stdenv.lib) getDev; in
@ -15,7 +15,7 @@ stdenv.mkDerivation rec {
buildInputs = [ libusb1 qtbase qttools ]
++ stdenv.lib.optional withEspeak espeak;
nativeBuildInputs = [ makeWrapper pkgconfig qmake ];
nativeBuildInputs = [ makeWrapper pkgconfig qmake qt5.wrapQtAppsHook ];
postPatch = ''
sed -i rbutil/rbutilqt/rbutilqt.pro \