cambalache: 0.16.0 → 0.90.2

https://blogs.gnome.org/xjuan/2024/04/06/cambalache-0-90-0-released/
This commit is contained in:
Jan Tojnar 2024-04-07 00:45:20 +00:00 committed by Maxine Aubrey
parent ff2ebe4174
commit aa69c6056a
No known key found for this signature in database
GPG Key ID: F6FE033DFCB899F7

View File

@ -8,11 +8,11 @@
, gobject-introspection
, desktop-file-utils
, shared-mime-info
, wrapGAppsHook
, wrapGAppsHook4
, glib
, gtk3
, gtk4
, gtksourceview4
, gtksourceview5
, libadwaita
, libhandy
, webkitgtk_4_1
@ -22,7 +22,7 @@
python3.pkgs.buildPythonApplication rec {
pname = "cambalache";
version = "0.16.0";
version = "0.90.2";
format = "other";
@ -30,9 +30,9 @@ python3.pkgs.buildPythonApplication rec {
src = fetchFromGitLab {
domain = "gitlab.gnome.org";
owner = "jpu";
repo = pname;
repo = "cambalache";
rev = version;
sha256 = "sha256-Ha94Ca5a7EUBYuSJvMrLc5895Q2/01/tbKpwlHLmTDc=";
hash = "sha256-m3rearoCFQUzdZMXY2xyKf4dgdq7G4QlUbetrIqW83U=";
};
nativeBuildInputs = [
@ -42,7 +42,7 @@ python3.pkgs.buildPythonApplication rec {
gobject-introspection # for setup hook
desktop-file-utils # for update-desktop-database
shared-mime-info # for update-mime-database
wrapGAppsHook
wrapGAppsHook4
];
pythonPath = with python3.pkgs; [
@ -54,7 +54,7 @@ python3.pkgs.buildPythonApplication rec {
glib
gtk3
gtk4
gtksourceview4
gtksourceview5
webkitgtk_4_1
webkitgtk_6_0
# For extra widgets support.
@ -70,8 +70,8 @@ python3.pkgs.buildPythonApplication rec {
# those programs are used at runtime not build time
# https://gitlab.gnome.org/jpu/cambalache/-/blob/0.12.1/meson.build#L79-80
substituteInPlace ./meson.build \
--replace "find_program('broadwayd', required: true)" "" \
--replace "find_program('gtk4-broadwayd', required: true)" ""
--replace-fail "find_program('broadwayd', required: true)" "" \
--replace-fail "find_program('gtk4-broadwayd', required: true)" ""
'';
preFixup = ''