diff options
author | Rodney Lorrimar <dev@rodney.id.au> | 2024-02-02 04:30:15 +0000 |
---|---|---|
committer | tomf <tom@tom-fitzhenry.me.uk> | 2024-02-07 20:10:15 +1100 |
commit | 6263d48ee01bd31bf05b55151b078607b79af05c (patch) | |
tree | 48a7b5815ccd6f731898ecf2f75b5871f031ca37 /pkgs/applications/window-managers/phosh | |
parent | a45634d41506651da468dcff8f7a22bd2073b71c (diff) |
phosh-mobile-settings: 0.31.0 -> 0.35.1
Diffstat (limited to 'pkgs/applications/window-managers/phosh')
-rw-r--r-- | pkgs/applications/window-managers/phosh/phosh-mobile-settings.nix | 16 |
1 files changed, 13 insertions, 3 deletions
diff --git a/pkgs/applications/window-managers/phosh/phosh-mobile-settings.nix b/pkgs/applications/window-managers/phosh/phosh-mobile-settings.nix index b78784ef0a7c0..ed67a96356953 100644 --- a/pkgs/applications/window-managers/phosh/phosh-mobile-settings.nix +++ b/pkgs/applications/window-managers/phosh/phosh-mobile-settings.nix @@ -14,16 +14,18 @@ , phoc , phosh , wayland-protocols +, json-glib +, gsound }: stdenv.mkDerivation rec { pname = "phosh-mobile-settings"; - version = "0.31.0"; + version = "0.35.1"; src = fetchurl { # This tarball includes the meson wrapped subproject 'gmobile'. url = "https://sources.phosh.mobi/releases/${pname}/${pname}-${version}.tar.xz"; - hash = "sha256-5Qa6LSOLvZL0sFh2co9AqyS5ZTQQ+JRnPiHuMl1UgDI="; + hash = "sha256-Kg3efPs0knbJ9b0buIkgqIL1XplcZpGIi0hxJptG6UI="; }; nativeBuildInputs = [ @@ -42,15 +44,23 @@ stdenv.mkDerivation rec { lm_sensors phoc wayland-protocols + json-glib + gsound ]; + postPatch = '' + # There are no schemas to compile. + substituteInPlace meson.build \ + --replace 'glib_compile_schemas: true' 'glib_compile_schemas: false' + ''; + postInstall = '' # this is optional, but without it phosh-mobile-settings won't know about lock screen plugins ln -s '${phosh}/lib/phosh' "$out/lib/phosh" # .desktop files marked `OnlyShowIn=Phosh;` aren't displayed even in our phosh, so remove that. # also make the Exec path absolute. - substituteInPlace "$out/share/applications/org.sigxcpu.MobileSettings.desktop" \ + substituteInPlace "$out/share/applications/mobi.phosh.MobileSettings.desktop" \ --replace 'OnlyShowIn=Phosh;' "" \ --replace 'Exec=phosh-mobile-settings' "Exec=$out/bin/phosh-mobile-settings" ''; |