fontmatrix: 0.6.0 → 0.6.0-qt5 (#97800)
This is an unofficial port of Fontmatrix 0.6.0 to Qt5 Co-authored-by: symphorien <symphorien@users.noreply.github.com>
This commit is contained in:
parent
a4afd525cb
commit
4e155d6be9
|
@ -1,26 +1,32 @@
|
||||||
{ stdenv, fetchFromGitHub, cmake, qt4 }:
|
{ lib, mkDerivation, fetchpatch, fetchFromGitHub, cmake, qttools, qtwebkit }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
mkDerivation rec {
|
||||||
pname = "fontmatrix";
|
pname = "fontmatrix";
|
||||||
version = "0.6.0";
|
version = "0.6.0-qt5";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "fontmatrix";
|
owner = "fcoiffie";
|
||||||
repo = "fontmatrix";
|
repo = "fontmatrix";
|
||||||
rev = "v${version}";
|
rev = "1ff8382d8c85c18d9962918f461341ff4fe21993";
|
||||||
sha256 = "0aqndj1jhm6hjpwmj1qm92z2ljh7w78a5ff5ag47qywqha1ngn05";
|
sha256 = "0yx1gbsjj9ddq1kiqplif1w5x5saw250zbmhmd4phqmaqzr60w0h";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ qt4 ];
|
# Add missing QAction include
|
||||||
|
patches = [ (fetchpatch {
|
||||||
|
url = "https://github.com/fcoiffie/fontmatrix/commit/dc6de8c414ae21516b72daead79c8db88309b102.patch";
|
||||||
|
sha256 = "092860fdyf5gq67jqfxnlgwzjgpizi6j0njjv3m62aiznrhig7c8";
|
||||||
|
})];
|
||||||
|
|
||||||
|
buildInputs = [ qttools qtwebkit ];
|
||||||
|
|
||||||
nativeBuildInputs = [ cmake ];
|
nativeBuildInputs = [ cmake ];
|
||||||
|
|
||||||
hardeningDisable = [ "format" ];
|
hardeningDisable = [ "format" ];
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with lib; {
|
||||||
description = "Fontmatrix is a free/libre font explorer for Linux, Windows and Mac";
|
description = "Fontmatrix is a free/libre font explorer for Linux, Windows and Mac";
|
||||||
homepage = "https://github.com/fontmatrix/fontmatrix";
|
homepage = "https://github.com/fontmatrix/fontmatrix";
|
||||||
license = licenses.gpl2;
|
license = licenses.gpl2Plus;
|
||||||
platforms = platforms.linux;
|
platforms = platforms.linux;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -3752,7 +3752,7 @@ in
|
||||||
|
|
||||||
fontforge-fonttools = callPackage ../tools/misc/fontforge/fontforge-fonttools.nix {};
|
fontforge-fonttools = callPackage ../tools/misc/fontforge/fontforge-fonttools.nix {};
|
||||||
|
|
||||||
fontmatrix = callPackage ../applications/graphics/fontmatrix {};
|
fontmatrix = libsForQt514.callPackage ../applications/graphics/fontmatrix {};
|
||||||
|
|
||||||
foremost = callPackage ../tools/system/foremost { };
|
foremost = callPackage ../tools/system/foremost { };
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue