mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 23:43:30 +00:00
keyfinder 1.16 -> 2.00
This commit is contained in:
parent
da9b997233
commit
82cac9f9ac
@ -1,11 +1,11 @@
|
||||
{ stdenv, fetchFromGitHub, libav_0_8, libkeyfinder, qt5, taglib }:
|
||||
|
||||
let version = "1.26"; in
|
||||
let version = "2.00"; in
|
||||
stdenv.mkDerivation {
|
||||
name = "keyfinder-${version}";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
sha256 = "1sfnywc6jdpm03344i6i4pz13mqa4i5agagj4k6252m63cqmjkrc";
|
||||
sha256 = "16gyvvws93fyvx5qb2x9qhsg4bn710kgdh6q9sl2dwfsx6npkh9m";
|
||||
rev = version;
|
||||
repo = "is_KeyFinder";
|
||||
owner = "ibsh";
|
||||
@ -32,10 +32,14 @@ stdenv.mkDerivation {
|
||||
# TODO: upgrade libav when "Audio sample format conversion failed" is fixed
|
||||
buildInputs = [ libav_0_8 libkeyfinder qt5.base qt5.xmlpatterns taglib ];
|
||||
|
||||
configurePhase = ''
|
||||
postPatch = ''
|
||||
substituteInPlace is_KeyFinder.pro \
|
||||
--replace "keyfinder.0" "keyfinder" \
|
||||
--replace '$$[QT_INSTALL_PREFIX]' "$out"
|
||||
--replace '$$[QT_INSTALL_PREFIX]' "$out" \
|
||||
--replace "-stdlib=libc++" ""
|
||||
'';
|
||||
|
||||
configurePhase = ''
|
||||
qmake
|
||||
'';
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user