Merge pull request #15398 from Shados/maintain-opensteamworks

Allow plugins to work for Finch (CLI Pidgin)
This commit is contained in:
Arseniy Seroka 2016-05-12 15:00:37 +03:00
commit fd12b1149e
2 changed files with 5 additions and 2 deletions

View File

@ -13,9 +13,9 @@ stdenv.mkDerivation rec {
preConfigure = "cd steam-mobile"; preConfigure = "cd steam-mobile";
postInstall = '' postInstall = ''
mkdir -p $out/lib/pidgin/ mkdir -p $out/lib/purple-2
mkdir -p $out/share/pixmaps/pidgin/protocols/ mkdir -p $out/share/pixmaps/pidgin/protocols/
cp libsteam.so $out/lib/pidgin/ cp libsteam.so $out/lib/purple-2/
unzip releases/icons.zip -d $out/share/pixmaps/pidgin/protocols/ unzip releases/icons.zip -d $out/share/pixmaps/pidgin/protocols/
''; '';

View File

@ -13,5 +13,8 @@ in symlinkJoin {
wrapProgram $out/bin/pidgin \ wrapProgram $out/bin/pidgin \
--suffix-each PURPLE_PLUGIN_PATH ':' "$out/lib/purple-${pidgin.majorVersion} $out/lib/pidgin" \ --suffix-each PURPLE_PLUGIN_PATH ':' "$out/lib/purple-${pidgin.majorVersion} $out/lib/pidgin" \
${toString extraArgs} ${toString extraArgs}
wrapProgram $out/bin/finch \
--suffix-each PURPLE_PLUGIN_PATH ':' "$out/lib/purple-${pidgin.majorVersion}" \
${toString extraArgs}
''; '';
} }