gnome.gpaste: 43.0 → 43.1

https://github.com/Keruspe/GPaste/compare/v43.0...v43.1
This commit is contained in:
Bobby Rong 2023-01-28 12:23:30 +08:00
parent ca22ad48eb
commit 2d63cc830e
No known key found for this signature in database

View file

@ -1,7 +1,6 @@
{ stdenv
, lib
, fetchFromGitHub
, fetchpatch
, appstream-glib
, clutter
, gjs
@ -22,26 +21,18 @@
}:
stdenv.mkDerivation rec {
version = "43.0";
version = "43.1";
pname = "gpaste";
src = fetchFromGitHub {
owner = "Keruspe";
repo = "GPaste";
rev = "v${version}";
sha256 = "sha256-F+AWTYVK145RzJ1Zldh4Q4R/hN/D7aXO3SIJ1t6ClWs=";
sha256 = "sha256-wOxhaYWX76jSur3uh75vDfAedbiLh2ikoMuobCZx3jE=";
};
patches = [
./fix-paths.patch
# Build against GCR 4.
# Patch was temporarily reverted.
# https://github.com/Keruspe/GPaste/pull/409
(fetchpatch {
url = "https://github.com/Keruspe/GPaste/commit/0378cb4a657042ce5321f1d9728cff31e55bede6.patch";
sha256 = "0Ngr+/fS5/wICR84GEiE0pXEXQ/f/3G59lDivH167m8=";
})
];
# TODO: switch to substituteAll with placeholder
@ -79,6 +70,7 @@ stdenv.mkDerivation rec {
];
mesonFlags = [
"-Dgcr3=false" # Build with gcr4
"-Dcontrol-center-keybindings-dir=${placeholder "out"}/share/gnome-control-center/keybindings"
"-Ddbus-services-dir=${placeholder "out"}/share/dbus-1/services"
"-Dsystemd-user-unit-dir=${placeholder "out"}/etc/systemd/user"