mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-02 07:31:26 +00:00
rockbox_utility: fix path to lrelease
This commit is contained in:
parent
d3c11c512c
commit
a055cee512
@ -2,6 +2,8 @@
|
|||||||
, qtbase, qttools, makeWrapper, qmake
|
, qtbase, qttools, makeWrapper, qmake
|
||||||
, withEspeak ? false, espeak ? null }:
|
, withEspeak ? false, espeak ? null }:
|
||||||
|
|
||||||
|
let inherit (stdenv.lib) getDev; in
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "rockbox-utility-${version}";
|
name = "rockbox-utility-${version}";
|
||||||
version = "1.4.0";
|
version = "1.4.0";
|
||||||
@ -15,6 +17,11 @@ stdenv.mkDerivation rec {
|
|||||||
++ stdenv.lib.optional withEspeak espeak;
|
++ stdenv.lib.optional withEspeak espeak;
|
||||||
nativeBuildInputs = [ makeWrapper pkgconfig qmake ];
|
nativeBuildInputs = [ makeWrapper pkgconfig qmake ];
|
||||||
|
|
||||||
|
postPatch = ''
|
||||||
|
sed -i rbutil/rbutilqt/rbutilqt.pro \
|
||||||
|
-e '/^lrelease.commands =/ s|$$\[QT_INSTALL_BINS\]/lrelease -silent|${getDev qttools}/bin/lrelease|'
|
||||||
|
'';
|
||||||
|
|
||||||
preConfigure = ''
|
preConfigure = ''
|
||||||
cd rbutil/rbutilqt
|
cd rbutil/rbutilqt
|
||||||
'';
|
'';
|
||||||
|
Loading…
Reference in New Issue
Block a user