mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-27 05:43:50 +03:00
commit
e8fcd5dbef
@ -1,6 +1,5 @@
|
||||
{ stdenv, fetchurl, pkgconfig, yasm
|
||||
, freetype ? null
|
||||
, fribidi ? null
|
||||
, freetype, fribidi
|
||||
, encaSupport ? true, enca ? null # enca support
|
||||
, fontconfigSupport ? true, fontconfig ? null # fontconfig support
|
||||
, harfbuzzSupport ? true, harfbuzz ? null # harfbuzz support
|
||||
@ -8,19 +7,18 @@
|
||||
, largeTilesSupport ? false # Use larger tiles in the rasterizer
|
||||
}:
|
||||
|
||||
assert ((freetype != null) && (fribidi != null));
|
||||
assert encaSupport -> (enca != null);
|
||||
assert fontconfigSupport -> (fontconfig != null);
|
||||
assert harfbuzzSupport -> (harfbuzz != null);
|
||||
assert encaSupport -> enca != null;
|
||||
assert fontconfigSupport -> fontconfig != null;
|
||||
assert harfbuzzSupport -> harfbuzz != null;
|
||||
|
||||
with stdenv.lib;
|
||||
stdenv.mkDerivation rec {
|
||||
name = "libass-${version}";
|
||||
version = "0.12.1";
|
||||
version = "0.12.2";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/libass/libass/releases/download/${version}/${name}.tar.xz";
|
||||
sha256 = "1mwj2nk9g6cq6f8m1hf0ijg1299rghhy9naahqq43sc2whblb1l7";
|
||||
sha256 = "1qzibgqmnnqk2r116lpk1br764g0v74f2zp12y5id0p1plaing37";
|
||||
};
|
||||
|
||||
configureFlags = [
|
||||
|
Loading…
Reference in New Issue
Block a user