babl: 0.1.72 → 0.1.74

https://gitlab.gnome.org/GNOME/babl/blob/BABL_0_1_74/NEWS#L6-7
This commit is contained in:
Jan Tojnar 2020-01-22 12:20:37 +01:00
parent a65f338ccb
commit 208e761fb0
No known key found for this signature in database
GPG Key ID: 7FAB2A15F7A607A4
2 changed files with 2 additions and 24 deletions

View File

@ -9,21 +9,15 @@
stdenv.mkDerivation rec {
pname = "babl";
version = "0.1.72";
version = "0.1.74";
outputs = [ "out" "dev" ];
src = fetchurl {
url = "https://download.gimp.org/pub/babl/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
sha256 = "0hkagjrnza77aasa1kss5hvy37ndm50y6i7hkdn2z8hzgc4i3qb4";
sha256 = "03nfcvy3453xkfvsfcnsfcjf2vg2pin09qnr9jlssdysa1lhnwcs";
};
patches = [
# Apple linker does not know --version-script flag
# https://gitlab.gnome.org/GNOME/babl/merge_requests/26
./fix-darwin.patch
];
nativeBuildInputs = [
meson
ninja

View File

@ -1,16 +0,0 @@
diff --git a/babl/meson.build b/babl/meson.build
index b551c9a..f452435 100644
--- a/babl/meson.build
+++ b/babl/meson.build
@@ -24,9 +24,9 @@
]
# Linker arguments
-babl_link_args = [
+babl_link_args = cc.get_supported_link_arguments([
'-Wl,--version-script,' + version_script,
-]
+])
if platform_win32
babl_link_args += '-Wl,--no-undefined'
endif