golden-cheetah: build with newer qt5
This commit is contained in:
parent
93b46241a8
commit
9135412b63
@ -1,5 +1,6 @@
|
|||||||
{ stdenv, fetchurl
|
{ stdenv, fetchFromGitHub
|
||||||
, qtbase, qtsvg, qtserialport, qtwebkit, qtmultimedia, qttools, qtconnectivity
|
, qtbase, qtsvg, qtserialport, qtwebkit, qtmultimedia, qttools
|
||||||
|
, qtconnectivity, qtcharts
|
||||||
, yacc, flex, zlib, qmake, makeDesktopItem, makeWrapper
|
, yacc, flex, zlib, qmake, makeDesktopItem, makeWrapper
|
||||||
}:
|
}:
|
||||||
|
|
||||||
@ -16,25 +17,29 @@ let
|
|||||||
in stdenv.mkDerivation rec {
|
in stdenv.mkDerivation rec {
|
||||||
name = "golden-cheetah-${version}";
|
name = "golden-cheetah-${version}";
|
||||||
version = "3.5-DEV1903";
|
version = "3.5-DEV1903";
|
||||||
src = fetchurl {
|
|
||||||
name = "${name}.tar.gz";
|
src = fetchFromGitHub {
|
||||||
url = "https://github.com/GoldenCheetah/GoldenCheetah/archive/v${version}.tar.gz";
|
owner = "GoldenCheetah";
|
||||||
sha256 = "1042q5yh6k4m9hiyapz10bmg5jwa6s1hy086mq0768wybiqzilb2";
|
repo = "GoldenCheetah";
|
||||||
|
rev = "v${version}";
|
||||||
|
sha256 = "130b0hm04i0hf97rs1xrdfhbal5vjsknj3x4cdxjh7rgbg2p1sm3";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
qtbase qtsvg qtserialport qtwebkit qtmultimedia qttools zlib
|
qtbase qtsvg qtserialport qtwebkit qtmultimedia qttools zlib
|
||||||
qtconnectivity
|
qtconnectivity qtcharts
|
||||||
];
|
];
|
||||||
nativeBuildInputs = [ flex makeWrapper qmake yacc ];
|
nativeBuildInputs = [ flex makeWrapper qmake yacc ];
|
||||||
NIX_LDFLAGS = [
|
|
||||||
"-lz"
|
NIX_LDFLAGS = [ "-lz" ];
|
||||||
];
|
|
||||||
preConfigure = ''
|
preConfigure = ''
|
||||||
cp src/gcconfig.pri.in src/gcconfig.pri
|
cp src/gcconfig.pri.in src/gcconfig.pri
|
||||||
cp qwt/qwtconfig.pri.in qwt/qwtconfig.pri
|
cp qwt/qwtconfig.pri.in qwt/qwtconfig.pri
|
||||||
echo 'QMAKE_LRELEASE = ${qttools.dev}/bin/lrelease' >> src/gcconfig.pri
|
echo 'QMAKE_LRELEASE = ${qttools.dev}/bin/lrelease' >> src/gcconfig.pri
|
||||||
sed -i -e '21,23d' qwt/qwtconfig.pri # Removed forced installation to /usr/local
|
sed -i -e '21,23d' qwt/qwtconfig.pri # Removed forced installation to /usr/local
|
||||||
'';
|
'';
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
runHook preInstall
|
runHook preInstall
|
||||||
|
|
||||||
|
@ -24445,7 +24445,7 @@ in
|
|||||||
inherit pkgs;
|
inherit pkgs;
|
||||||
};
|
};
|
||||||
|
|
||||||
golden-cheetah = libsForQt56.callPackage ../applications/misc/golden-cheetah {};
|
golden-cheetah = libsForQt5.callPackage ../applications/misc/golden-cheetah {};
|
||||||
|
|
||||||
linkchecker = callPackage ../tools/networking/linkchecker { };
|
linkchecker = callPackage ../tools/networking/linkchecker { };
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user