mytetra: support opening urls under wayland (#48641)
This commit is contained in:
parent
c88e09d46f
commit
782c820ad9
@ -1,4 +1,4 @@
|
|||||||
{ stdenv, fetchurl, qmake, qtsvg }:
|
{ stdenv, fetchurl, qmake, qtsvg, makeWrapper, xdg_utils }:
|
||||||
|
|
||||||
let
|
let
|
||||||
version = "1.43.27";
|
version = "1.43.27";
|
||||||
@ -9,7 +9,7 @@ in stdenv.mkDerivation rec {
|
|||||||
sha256 = "1gzr11jy1bvnp28w2ar3wmh76g55jn9nra5la5qasnal6b5pg28h";
|
sha256 = "1gzr11jy1bvnp28w2ar3wmh76g55jn9nra5la5qasnal6b5pg28h";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ qmake ];
|
nativeBuildInputs = [ qmake makeWrapper ];
|
||||||
buildInputs = [ qtsvg ];
|
buildInputs = [ qtsvg ];
|
||||||
|
|
||||||
hardeningDisable = [ "format" ];
|
hardeningDisable = [ "format" ];
|
||||||
@ -23,6 +23,11 @@ in stdenv.mkDerivation rec {
|
|||||||
--replace ":/resource/pic/logo.svg" "$out/share/icons/hicolor/48x48/apps/mytetra.png"
|
--replace ":/resource/pic/logo.svg" "$out/share/icons/hicolor/48x48/apps/mytetra.png"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
postFixup = ''
|
||||||
|
wrapProgram $out/bin/mytetra \
|
||||||
|
--prefix PATH : ${xdg_utils}/bin
|
||||||
|
'';
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
description = "Smart manager for information collecting";
|
description = "Smart manager for information collecting";
|
||||||
homepage = https://webhamster.ru/site/page/index/articles/projectcode/138;
|
homepage = https://webhamster.ru/site/page/index/articles/projectcode/138;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user