Merge pull request #107153 from sternenseemann/fcft-2.3.2
This commit is contained in:
commit
533c150d18
@ -1,21 +1,28 @@
|
||||
{ stdenv, lib, fetchgit, pkg-config, meson, ninja, scdoc
|
||||
,freetype, fontconfig, harfbuzz, pixman, tllist, check }:
|
||||
, freetype, fontconfig, pixman, tllist, check
|
||||
, withHarfBuzz ? true
|
||||
, harfbuzz
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "fcft";
|
||||
version = "2.3.1";
|
||||
version = "2.3.2";
|
||||
|
||||
src = fetchgit {
|
||||
url = "https://codeberg.org/dnkl/fcft.git";
|
||||
rev = version;
|
||||
sha256 = "sha256-FD3KfaQbSEA1XdmS6YxH+c5fSsra9Ro/KKslb7Brv7U=";
|
||||
sha256 = "0k2i57rakm4g86f7hbhkby8af0vv7v63a70lk3m58mkycpy5q2rm";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ pkg-config meson ninja scdoc ];
|
||||
buildInputs = [ freetype fontconfig pixman tllist harfbuzz ];
|
||||
buildInputs = [ freetype fontconfig pixman tllist ]
|
||||
++ lib.optional withHarfBuzz harfbuzz;
|
||||
checkInputs = [ check ];
|
||||
|
||||
mesonFlags = [ "--buildtype=release" ];
|
||||
mesonFlags = [
|
||||
"--buildtype=release"
|
||||
"-Dtext-shaping=${if withHarfBuzz then "enabled" else "disabled"}"
|
||||
];
|
||||
|
||||
doCheck = true;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user