libshumate: 1.1.3 → 1.2.1

https://gitlab.gnome.org/GNOME/libshumate/-/compare/1.1.3...1.2.1

Enable the vector renderer by default when building (needs gperf, json-glib, protobufc)
https://github.com/GNOME/libshumate/blob/1.2.beta/shumate/vector/meson.build

fetch tarball instead of git repo

Changelog-Reviewed-By: Maxine Aubrey <max@ine.dev>
This commit is contained in:
Bobby Rong 2024-02-13 11:27:49 +00:00 committed by Maxine Aubrey
parent e19d84b2b8
commit 7b2a419358
No known key found for this signature in database
GPG Key ID: F6FE033DFCB899F7

View File

@ -1,37 +1,46 @@
{ lib
, stdenv
, fetchFromGitLab
, fetchurl
, fetchpatch2
, gi-docgen
, meson
, ninja
, pkg-config
, vala
, gobject-introspection
, gperf
, glib
, cairo
, sqlite
, libsoup_3
, gtk4
, libsysprof-capture
, json-glib
, protobufc
, xvfb-run
, gnome
}:
stdenv.mkDerivation rec {
pname = "libshumate";
version = "1.1.3";
version = "1.2.1";
outputs = [ "out" "dev" "devdoc" ];
outputBin = "devdoc"; # demo app
src = fetchFromGitLab {
domain = "gitlab.gnome.org";
owner = "GNOME";
repo = "libshumate";
rev = version;
sha256 = "+h0dKLECtvfsxwD5aRTIgiNI9jG/tortUJYFiYMe60g=";
src = fetchurl {
url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
hash = "sha256-EQXuB34hR/KgOc3fphb6XLlDiIPdlAQn4RaZ3NZUnBE=";
};
patches = [
(fetchpatch2 {
# Fix tests https://gitlab.gnome.org/GNOME/libshumate/-/merge_requests/236
url = "https://gitlab.gnome.org/GNOME/libshumate/-/commit/852615b0df2252ea67f4f82e9ace2fc2794467b3.patch";
hash = "sha256-Ksye3zNNYmzP4O+QFDVODXUkFJOLDVMEZNfGXwbxWhs=";
})
];
depsBuildBuild = [
# required to find native gi-docgen when cross compiling
pkg-config
@ -44,6 +53,7 @@ stdenv.mkDerivation rec {
pkg-config
vala
gobject-introspection
gperf
];
buildInputs = [
@ -53,6 +63,8 @@ stdenv.mkDerivation rec {
libsoup_3
gtk4
libsysprof-capture
json-glib
protobufc
];
nativeCheckInputs = [