From b53d5fd054644e46329e43567dcb8b0468814688 Mon Sep 17 00:00:00 2001 From: rewine Date: Sun, 14 May 2023 06:22:18 +0800 Subject: [PATCH] wbg: 1.0.2 -> 1.1.0 --- pkgs/applications/misc/wbg/default.nix | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/pkgs/applications/misc/wbg/default.nix b/pkgs/applications/misc/wbg/default.nix index d5f95961f37e..bf7ce1c1c229 100644 --- a/pkgs/applications/misc/wbg/default.nix +++ b/pkgs/applications/misc/wbg/default.nix @@ -11,21 +11,23 @@ , wayland-protocols , enablePNG ? true , enableJPEG ? true +, enableWebp ? true # Optional dependencies , libpng , libjpeg +, libwebp }: stdenv.mkDerivation rec { pname = "wbg"; - version = "1.0.2"; + version = "1.1.0"; src = fetchFromGitea { domain = "codeberg.org"; owner = "dnkl"; repo = "wbg"; rev = version; - sha256 = "sha256-PKEOWRcSAB4Uv5TfameQIEZh6s6xCGdyoZ13etL1TKA="; + sha256 = "sha256-JJIIqSc0qHgjtpGKai8p6vihXg16unsO7vW91pioAmc="; }; nativeBuildInputs = [ @@ -41,13 +43,15 @@ stdenv.mkDerivation rec { wayland wayland-protocols ] ++ lib.optional enablePNG libpng - ++ lib.optional enableJPEG libjpeg; + ++ lib.optional enableJPEG libjpeg + ++ lib.optional enableWebp libwebp; mesonBuildType = "release"; mesonFlags = [ (lib.mesonEnable "png" enablePNG) (lib.mesonEnable "jpeg" enableJPEG) + (lib.mesonEnable "webp" enableWebp) ]; meta = with lib; {