Merge pull request #56547 from dtzWill/update/gdk-pixbuf-2.38.1

gdk-pixbuf: 2.38.0 -> 2.38.1
This commit is contained in:
Will Dietz 2019-03-07 14:58:39 -06:00 committed by GitHub
commit 19ccdd4ca2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -4,28 +4,18 @@
let
pname = "gdk-pixbuf";
version = "2.38.0";
version = "2.38.1";
in stdenv.mkDerivation rec {
name = "${pname}-${version}";
src = fetchurl {
url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${name}.tar.xz";
sha256 = "0ixfmnxjylx06mjaw116apymwi1a8rnkmkbbvqaxxg2pfwy9fl6x";
sha256 = "0fmbjgjcyym3qg46f64qgl7icdm4ii77flyc1mhk244rp8vgi7zi";
};
patches = [
# TODO: since 2.36.8 gdk-pixbuf gets configured to use mime-type sniffing,
# which requires access to shared-mime-info files during runtime.
# For now, we are patching the build script to avoid the dependency.
./no-mime-sniffing.patch
# Move installed tests to a separate output
./installed-tests-path.patch
(fetchpatch {
url = https://gitlab.gnome.org/GNOME/gdk-pixbuf/commit/a7d582f75a71320554b881e063a65f4ced679c1c.patch;
sha256 = "0z0w52bh4hcrdllbgrqvh12iqzr7k1pb0wdr9vz2qslg1kjk4j92";
})
];
outputs = [ "out" "dev" "man" "devdoc" "installedTests" ];
@ -48,6 +38,7 @@ in stdenv.mkDerivation rec {
"-Djasper=true"
"-Dx11=true"
"-Dgir=${if gobject-introspection != null then "true" else "false"}"
"-Dgio_sniffing=false"
];
postPatch = ''