babl: 0.1.66 → 0.1.72
https://gitlab.gnome.org/GNOME/babl/blob/BABL_0_1_72/NEWS#L6-24
This commit is contained in:
@@ -1,15 +1,41 @@
|
||||
{ stdenv, fetchurl }:
|
||||
{ stdenv
|
||||
, fetchurl
|
||||
, meson
|
||||
, ninja
|
||||
, pkgconfig
|
||||
, gobject-introspection
|
||||
, lcms2
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "babl";
|
||||
version = "0.1.66";
|
||||
version = "0.1.72";
|
||||
|
||||
outputs = [ "out" "dev" ];
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://ftp.gtk.org/pub/babl/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.bz2";
|
||||
sha256 = "0qx1dwbinxihwl2lmxi60qiqi402jlrdcnixx14kk6j88n9xi79n";
|
||||
url = "https://download.gimp.org/pub/babl/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
|
||||
sha256 = "0hkagjrnza77aasa1kss5hvy37ndm50y6i7hkdn2z8hzgc4i3qb4";
|
||||
};
|
||||
|
||||
doCheck = true;
|
||||
patches = [
|
||||
# Apple linker does not know --version-script flag
|
||||
# https://gitlab.gnome.org/GNOME/babl/merge_requests/26
|
||||
./fix-darwin.patch
|
||||
];
|
||||
|
||||
nativeBuildInputs = [
|
||||
meson
|
||||
ninja
|
||||
pkgconfig
|
||||
gobject-introspection
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
lcms2
|
||||
];
|
||||
|
||||
doCheck = !stdenv.isDarwin;
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Image pixel format conversion library";
|
||||
|
||||
Reference in New Issue
Block a user