mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-19 00:08:32 +01:00
rockbox-utility: 1.4.0 -> 1.4.1
This commit is contained in:
parent
6580c59352
commit
d427c421fd
1 changed files with 8 additions and 6 deletions
|
@ -1,19 +1,20 @@
|
||||||
{ stdenv, fetchurl, pkgconfig, libusb1
|
{ stdenv, fetchurl, pkgconfig, cryptopp
|
||||||
, qtbase, qttools, makeWrapper, qmake
|
, libusb1, qtbase, qttools, makeWrapper
|
||||||
, withEspeak ? false, espeak ? null, qt5 }:
|
, qmake, withEspeak ? false, espeak ? null
|
||||||
|
, qt5 }:
|
||||||
|
|
||||||
let inherit (stdenv.lib) getDev; in
|
let inherit (stdenv.lib) getDev; in
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "rockbox-utility";
|
pname = "rockbox-utility";
|
||||||
version = "1.4.0";
|
version = "1.4.1";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://download.rockbox.org/rbutil/source/RockboxUtility-v${version}-src.tar.bz2";
|
url = "https://download.rockbox.org/rbutil/source/RockboxUtility-v${version}-src.tar.bz2";
|
||||||
sha256 = "0k3ycga3b0jnj13whwiip2l0gx32l50pnbh7kfima87nq65aaa5w";
|
sha256 = "0zm9f01a810y7aq0nravbsl0vs9vargwvxnfl4iz9qsqygwlj69y";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ libusb1 qtbase qttools ]
|
buildInputs = [ cryptopp libusb1 qtbase qttools ]
|
||||||
++ stdenv.lib.optional withEspeak espeak;
|
++ stdenv.lib.optional withEspeak espeak;
|
||||||
nativeBuildInputs = [ makeWrapper pkgconfig qmake qt5.wrapQtAppsHook ];
|
nativeBuildInputs = [ makeWrapper pkgconfig qmake qt5.wrapQtAppsHook ];
|
||||||
|
|
||||||
|
@ -24,6 +25,7 @@ stdenv.mkDerivation rec {
|
||||||
|
|
||||||
preConfigure = ''
|
preConfigure = ''
|
||||||
cd rbutil/rbutilqt
|
cd rbutil/rbutilqt
|
||||||
|
lrelease rbutilqt.pro
|
||||||
'';
|
'';
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
|
|
Loading…
Reference in a new issue