mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-28 06:14:26 +03:00
svn2git-kde: move to qmake4Hook
This commit is contained in:
parent
9325393959
commit
e5e09e8cc7
@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchgit, qt4, subversion, apr}:
|
||||
{ stdenv, fetchgit, qt4, qmake4Hook, subversion, apr }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "svn2git-kde-1.0.5";
|
||||
@ -9,10 +9,10 @@ stdenv.mkDerivation rec {
|
||||
sha256 = "818673fe751b00a42b6ed3e78a783549fb09b5245a01dee47b3dded667bfc582";
|
||||
};
|
||||
|
||||
buildPhase = ''
|
||||
NIX_CFLAGS_COMPILE = [ "-I${apr}/include/apr-1" "-I${subversion.dev}/include/subversion-1" "-DVER=\"${src.rev}\"" ];
|
||||
|
||||
patchPhase = ''
|
||||
sed -i 's|/bin/cat|cat|' ./src/repository.cpp
|
||||
qmake
|
||||
make CXXFLAGS='-I${apr}/include/apr-1 -I${subversion.dev}/include/subversion-1 -DVER="\"${src.rev}\""'
|
||||
'';
|
||||
|
||||
installPhase = ''
|
||||
@ -22,5 +22,7 @@ stdenv.mkDerivation rec {
|
||||
|
||||
buildInputs = [ subversion apr qt4 ];
|
||||
|
||||
nativeBuildInputs = [ qmake4Hook ];
|
||||
|
||||
meta.broken = true;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user