mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-22 03:53:47 +00:00
fcitx5-mozc: wrapQtApp for mozc_tool (#224077)
This commit is contained in:
parent
b7fe469a23
commit
66d6701fc9
@ -84,13 +84,19 @@ in clangStdenv.mkDerivation rec {
|
|||||||
'';
|
'';
|
||||||
|
|
||||||
buildPhase = ''
|
buildPhase = ''
|
||||||
|
runHook preBuild
|
||||||
|
|
||||||
python build_mozc.py build -c Release \
|
python build_mozc.py build -c Release \
|
||||||
server/server.gyp:mozc_server \
|
server/server.gyp:mozc_server \
|
||||||
gui/gui.gyp:mozc_tool \
|
gui/gui.gyp:mozc_tool \
|
||||||
unix/fcitx5/fcitx5.gyp:fcitx5-mozc
|
unix/fcitx5/fcitx5.gyp:fcitx5-mozc
|
||||||
|
|
||||||
|
runHook postBuild
|
||||||
'';
|
'';
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
|
runHook preInstall
|
||||||
|
|
||||||
export PREFIX=$out
|
export PREFIX=$out
|
||||||
export _bldtype=Release
|
export _bldtype=Release
|
||||||
../scripts/install_server
|
../scripts/install_server
|
||||||
@ -101,6 +107,12 @@ in clangStdenv.mkDerivation rec {
|
|||||||
install -d $out/share/fcitx5/inputmethod
|
install -d $out/share/fcitx5/inputmethod
|
||||||
install -d $out/lib/fcitx5
|
install -d $out/lib/fcitx5
|
||||||
../scripts/install_fcitx5
|
../scripts/install_fcitx5
|
||||||
|
|
||||||
|
runHook postInstall
|
||||||
|
'';
|
||||||
|
|
||||||
|
preFixup = ''
|
||||||
|
wrapQtApp $out/lib/mozc/mozc_tool
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
|
Loading…
Reference in New Issue
Block a user