Unverified Commit dc6af80b authored by Bobby Rong's avatar Bobby Rong
Browse files

gthumb: 3.12.7 → 3.12.8.1

https://gitlab.gnome.org/GNOME/gthumb/-/compare/3.12.7...3.12.8.1

Also clean up mesonFlags since they are identical to upstream's default.
parent 08dacfca
Loading
Loading
Loading
Loading
+8 −12
Original line number Diff line number Diff line
@@ -6,7 +6,6 @@
  pkg-config,
  meson,
  ninja,
  adwaita-icon-theme,
  exiv2,
  libheif,
  libjpeg,
@@ -22,8 +21,10 @@
  libX11,
  lcms2,
  bison,
  brasero,
  flex,
  clutter-gtk,
  colord,
  wrapGAppsHook3,
  shared-mime-info,
  python3,
@@ -33,13 +34,15 @@

stdenv.mkDerivation (finalAttrs: {
  pname = "gthumb";
  version = "3.12.7";
  version = "3.12.8.1";

  src = fetchurl {
    url = "mirror://gnome/sources/gthumb/${lib.versions.majorMinor finalAttrs.version}/gthumb-${finalAttrs.version}.tar.xz";
    sha256 = "sha256-7hLSTPIxAQJB91jWyVudU6c4Enj6dralGLPQmzce+uw=";
    sha256 = "sha256-JzYvwRylxYHzFoIjDJUCDlofzd9M/+vnVVeCjGF021s=";
  };

  strictDeps = true;

  nativeBuildInputs = [
    bison
    desktop-file-utils
@@ -53,10 +56,11 @@ stdenv.mkDerivation (finalAttrs: {
  ];

  buildInputs = [
    brasero
    clutter-gtk
    colord
    exiv2
    glib
    adwaita-icon-theme
    gsettings-desktop-schemas
    gst_all_1.gst-plugins-base
    (gst_all_1.gst-plugins-good.override { gtkSupport = true; })
@@ -75,14 +79,6 @@ stdenv.mkDerivation (finalAttrs: {
    libX11
  ];

  mesonFlags = [
    "-Dlibjxl=true"
    # Depends on libsoup2.
    # https://gitlab.gnome.org/GNOME/gthumb/-/issues/244
    "-Dlibchamplain=false"
    "-Dwebservices=false"
  ];

  postPatch = ''
    chmod +x gthumb/make-gthumb-h.py