Skip to content

Commit

Permalink
Merge pull request #290698 from 9p4/gegl-0.4.48
Browse files Browse the repository at this point in the history
gegl: 0.4.46 → 0.4.48
  • Loading branch information
sikmir authored Feb 27, 2024
2 parents 94e3ac7 + 043c254 commit 5d1b96e
Showing 1 changed file with 9 additions and 19 deletions.
28 changes: 9 additions & 19 deletions pkgs/development/libraries/gegl/default.nix
Original file line number Diff line number Diff line change
@@ -1,13 +1,10 @@
{ lib
, stdenv
, fetchurl
, fetchpatch2
, pkg-config
, vala
, gi-docgen
, gobject-introspection
, gtk-doc
, docbook-xsl-nons
, docbook_xml_dtd_43
, glib
, babl
, libpng
Expand Down Expand Up @@ -38,35 +35,24 @@

stdenv.mkDerivation rec {
pname = "gegl";
version = "0.4.46";
version = "0.4.48";

outputs = [ "out" "dev" "devdoc" ];
outputBin = "dev";

src = fetchurl {
url = "https://download.gimp.org/pub/gegl/${lib.versions.majorMinor version}/gegl-${version}.tar.xz";
hash = "sha256-0LOySBvId0xfPQpIdhGRAWbRju+COoWfuR54Grex6JI=";
hash = "sha256-QYwm2UvogF19mPbeDGglyia9dPystsGI2kdTPZ7igkc=";
};

patches = [
# https://gitlab.gnome.org/GNOME/gegl/-/merge_requests/136
# Fix missing libm dependency.
(fetchpatch2 {
url = "https://gitlab.gnome.org/GNOME/gegl/-/commit/ee970f10f4fe442cbf8a4f5cb94049deab33e786.patch";
hash = "sha256-0LLKH+Gg+1H83kN7hJGK2u+oLrw7Hxed7R4tTwT3C5s=";
})
];

nativeBuildInputs = [
pkg-config
gettext
meson
ninja
vala
gobject-introspection
gtk-doc
docbook-xsl-nons
docbook_xml_dtd_43
gi-docgen
];

buildInputs = [
Expand Down Expand Up @@ -102,7 +88,6 @@ stdenv.mkDerivation rec {
];

mesonFlags = [
"-Dgtk-doc=true"
"-Dmrg=disabled" # not sure what that is
"-Dsdl2=disabled"
"-Dpygobject=disabled"
Expand All @@ -119,6 +104,11 @@ stdenv.mkDerivation rec {
patchShebangs tests/ff-load-save/tests_ff_load_save.sh tests/opencl/opencl_test.sh tools/xml_insert.sh
'';

postFixup = ''
# Cannot be in postInstall, otherwise _multioutDocs hook in preFixup will move right back.
moveToOutput "share/doc" "$devdoc"
'';

# tests fail to connect to the com.apple.fonts daemon in sandboxed mode
doCheck = !stdenv.isDarwin;

Expand Down

0 comments on commit 5d1b96e

Please sign in to comment.