xca: qt4 -> qt5
Compile against qt5 instead of qt4.
This commit is contained in:
parent
d15c62a2a0
commit
aec8872e23
@ -1,4 +1,7 @@
|
|||||||
{ stdenv, fetchurl, pkgconfig, which, openssl, qt4, libtool, gcc, makeWrapper }:
|
{ stdenv, fetchurl, pkgconfig, which, makeQtWrapper,
|
||||||
|
libtool, openssl, qtbase, qttools }:
|
||||||
|
|
||||||
|
with stdenv.lib;
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "xca-${version}";
|
name = "xca-${version}";
|
||||||
@ -9,19 +12,28 @@ stdenv.mkDerivation rec {
|
|||||||
sha256 = "1r2w9gpahjv221j963bd4vn0gj4cxmb9j42f3cd9qdn890hizw84";
|
sha256 = "1r2w9gpahjv221j963bd4vn0gj4cxmb9j42f3cd9qdn890hizw84";
|
||||||
};
|
};
|
||||||
|
|
||||||
postInstall = ''
|
enableParallelBuilding = false;
|
||||||
wrapProgram "$out/bin/xca" \
|
|
||||||
--prefix LD_LIBRARY_PATH : \
|
buildInputs = [ libtool openssl qtbase qttools ];
|
||||||
"${gcc.cc.lib}/lib64:${stdenv.lib.makeLibraryPath [ qt4 gcc.cc openssl libtool ]}"
|
|
||||||
|
nativeBuildInputs = [ makeQtWrapper pkgconfig which ];
|
||||||
|
|
||||||
|
preBuild = ''
|
||||||
|
substituteInPlace Local.mak \
|
||||||
|
--replace ${qtbase}/bin/moc ${qtbase.dev}/bin/moc \
|
||||||
|
--replace ${qtbase}/bin/uic ${qtbase.dev}/bin/uic
|
||||||
'';
|
'';
|
||||||
|
|
||||||
buildInputs = [ openssl qt4 libtool gcc makeWrapper ];
|
postInstall = ''
|
||||||
nativeBuildInputs = [ pkgconfig ];
|
wrapQtProgram "$out/bin/xca"
|
||||||
|
wrapQtProgram "$out/bin/xca_db_stat"
|
||||||
|
'';
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
description = "Interface for managing asymetric keys like RSA or DSA";
|
description = "Interface for managing asymetric keys like RSA or DSA";
|
||||||
homepage = http://xca.sourceforge.net/;
|
homepage = http://xca.sourceforge.net/;
|
||||||
platforms = platforms.all;
|
platforms = platforms.all;
|
||||||
license = licenses.bsd3;
|
license = licenses.bsd3;
|
||||||
|
maintainers = with maintainers; [ offline peterhoeg ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@ -15476,7 +15476,7 @@ in
|
|||||||
};
|
};
|
||||||
xbmc-retroarch-advanced-launchers = kodi-retroarch-advanced-launchers;
|
xbmc-retroarch-advanced-launchers = kodi-retroarch-advanced-launchers;
|
||||||
|
|
||||||
xca = callPackage ../applications/misc/xca { };
|
xca = qt5.callPackage ../applications/misc/xca { };
|
||||||
|
|
||||||
xcalib = callPackage ../tools/X11/xcalib { };
|
xcalib = callPackage ../tools/X11/xcalib { };
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user