communi: qmakeFlags
This commit is contained in:
parent
7ac43898fe
commit
f41b7f74d8
1 changed files with 9 additions and 8 deletions
|
@ -19,16 +19,17 @@ stdenv.mkDerivation rec {
|
|||
|
||||
preConfigure = ''
|
||||
export QMAKEFEATURES=${libcommuni}/features
|
||||
qmakeFlags="$qmakeFlags \
|
||||
COMMUNI_INSTALL_PREFIX=$out \
|
||||
COMMUNI_INSTALL_BINS=$out/bin \
|
||||
COMMUNI_INSTALL_PLUGINS=$out/lib/communi/plugins \
|
||||
COMMUNI_INSTALL_ICONS=$out/share/icons/hicolor \
|
||||
COMMUNI_INSTALL_DESKTOP=$out/share/applications \
|
||||
COMMUNI_INSTALL_THEMES=$out/share/communi/themes
|
||||
"
|
||||
'';
|
||||
|
||||
qmakeFlags = [
|
||||
"COMMUNI_INSTALL_PREFIX=${placeholder "out"}"
|
||||
"COMMUNI_INSTALL_BINS=${placeholder "out"}/bin"
|
||||
"COMMUNI_INSTALL_PLUGINS=${placeholder "out"}/lib/communi/plugins"
|
||||
"COMMUNI_INSTALL_ICONS=${placeholder "out"}/share/icons/hicolor"
|
||||
"COMMUNI_INSTALL_DESKTOP=${placeholder "out"}/share/applications"
|
||||
"COMMUNI_INSTALL_THEMES=${placeholder "out"}/share/communi/themes"
|
||||
];
|
||||
|
||||
postInstall = stdenv.lib.optionalString stdenv.isLinux ''
|
||||
substituteInPlace "$out/share/applications/communi.desktop" \
|
||||
--replace "/usr/bin" "$out/bin"
|
||||
|
|
Loading…
Reference in a new issue