babl: 0.1.116 → 0.1.120
https://gitlab.gnome.org/GNOME/babl/-/compare/BABL_0_1_116...28d1099aaa1a518ee1b82aef4816da1670037f84 Introduces `relocatable` feature defaulting to `auto` (interpreted as `enabled` on Win32 or MacOS, `disabled` elsewhere) but since our Meson setup hooks passes `-Dauto_features=enabled`, we would be enabling it everywhere. Let’s explicitly disable it for Linux like expected, and for other platforms since I cannot test it there.
This commit is contained in:
@@ -13,7 +13,7 @@
|
||||
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "babl";
|
||||
version = "0.1.116";
|
||||
version = "0.1.120";
|
||||
|
||||
outputs = [
|
||||
"out"
|
||||
@@ -23,7 +23,7 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://download.gimp.org/pub/babl/${lib.versions.majorMinor finalAttrs.version}/babl-${finalAttrs.version}.tar.xz";
|
||||
hash = "sha256-UPrgaYZ8et4SWYiP8ePbhf7IbXCCUuU4W1pPOaeOxIM=";
|
||||
hash = "sha256-9HatFSAftO0MkMF0xSSx5CcczWmjdyQtamn834fOrMI=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
@@ -46,6 +46,9 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
|
||||
mesonFlags = [
|
||||
"-Dprefix-dev=${placeholder "dev"}"
|
||||
# On Linux, this would be disabled by default but we have -Dauto_features=enabled.
|
||||
# Disable it on other platforms too, since I cannot test it there.
|
||||
"-Drelocatable=disabled"
|
||||
]
|
||||
++ lib.optionals (stdenv.buildPlatform != stdenv.hostPlatform) [
|
||||
# Docs are opt-out in native but opt-in in cross builds.
|
||||
|
||||
Reference in New Issue
Block a user