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:
parent
a65f338ccb
commit
208e761fb0
@ -9,21 +9,15 @@
|
|||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "babl";
|
pname = "babl";
|
||||||
version = "0.1.72";
|
version = "0.1.74";
|
||||||
|
|
||||||
outputs = [ "out" "dev" ];
|
outputs = [ "out" "dev" ];
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://download.gimp.org/pub/babl/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
|
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 = [
|
nativeBuildInputs = [
|
||||||
meson
|
meson
|
||||||
ninja
|
ninja
|
||||||
|
@ -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
|
|
Loading…
Reference in New Issue
Block a user