gnome-font-viewer: 46.0 → 47.alpha
https://gitlab.gnome.org/GNOME/gnome-font-viewer/-/compare/46.0...47.alpha Changelog-reviewed-by: Bobby Rong <rjl931189261@126.com>
This commit is contained in:
@@ -1,6 +1,5 @@
|
||||
{ lib
|
||||
, stdenv
|
||||
, fetchpatch2
|
||||
, meson
|
||||
, ninja
|
||||
, gettext
|
||||
@@ -19,21 +18,13 @@
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "gnome-font-viewer";
|
||||
version = "46.0";
|
||||
version = "47.alpha";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://gnome/sources/gnome-font-viewer/${lib.versions.major version}/gnome-font-viewer-${version}.tar.xz";
|
||||
hash = "sha256-WS9AHkhdAswETUh7tcjgTJYdpoViFnaKWfH/mL0tU3w=";
|
||||
hash = "sha256-UwXF71TXQqPWQUQ6tVE+LJj5FeL7Cvx8XzJtIApGHy8=";
|
||||
};
|
||||
|
||||
patches = lib.optionals stdenv.cc.isClang [
|
||||
# Fixes an incompatible function pointer error when building with clang 16
|
||||
(fetchpatch2 {
|
||||
url = "https://gitlab.gnome.org/GNOME/gnome-font-viewer/-/commit/565d795731471c27542bb9ee60820a2d0d15534e.diff";
|
||||
hash = "sha256-8dgOVTx6ZbvXROlIWTZU2xNWJ11LlJykRs699cgZqow=";
|
||||
})
|
||||
];
|
||||
|
||||
doCheck = true;
|
||||
|
||||
nativeBuildInputs = [
|
||||
|
||||
Reference in New Issue
Block a user