cinnamon.cinnamon-control-center: 4.8.2 -> 5.2.0

This commit is contained in:
Maciej Krüger 2021-11-24 10:13:40 +01:00
parent a0cbed6fb9
commit 3226fb88d4
No known key found for this signature in database
GPG Key ID: 0D948CE19CF49C5F

View File

@ -29,17 +29,18 @@
, meson
, ninja
, cinnamon-translations
, python3
}:
stdenv.mkDerivation rec {
pname = "cinnamon-control-center";
version = "4.8.2";
version = "5.2.0";
src = fetchFromGitHub {
owner = "linuxmint";
repo = pname;
rev = version;
hash = "sha256-vALThDY0uN9bV7b1fga3MK7b2/l5uL33+B2x6oSLPRE=";
hash = "sha256-j7+2uLcHr7bO7i8OGqkw3ifawZULNyihhJ+h2D5gx/k=";
};
buildInputs = [
@ -74,6 +75,8 @@ stdenv.mkDerivation rec {
sed 's|TZ_DIR "/usr/share/zoneinfo/"|TZ_DIR "${tzdata}/share/zoneinfo/"|g' -i ./panels/datetime/test-timezone.c
sed 's|TZ_DATA_FILE "/usr/share/zoneinfo/zone.tab"|TZ_DATA_FILE "${tzdata}/share/zoneinfo/zone.tab"|g' -i ./panels/datetime/tz.h
sed 's|"/usr/share/i18n/locales/"|"${glibc}/share/i18n/locales/"|g' -i panels/datetime/test-endianess.c
patchShebangs meson_install_schemas.py
'';
# it needs to have access to that file, otherwise we can't run tests after build
@ -103,6 +106,7 @@ stdenv.mkDerivation rec {
ninja
wrapGAppsHook
gettext
python3
];
meta = with lib; {