dropbox: wrap as any other Qt application
This commit is contained in:
parent
1d8d6d564d
commit
3c96a53608
1 changed files with 3 additions and 3 deletions
|
@ -3,7 +3,7 @@
|
||||||
, libdrm, libffi, libICE, libSM
|
, libdrm, libffi, libICE, libSM
|
||||||
, libX11, libXcomposite, libXext, libXmu, libXrender, libxcb
|
, libX11, libXcomposite, libXext, libXmu, libXrender, libxcb
|
||||||
, libxml2, libxslt, ncurses, zlib
|
, libxml2, libxslt, ncurses, zlib
|
||||||
, qtbase, qtdeclarative, qtwebkit
|
, qtbase, qtdeclarative, qtwebkit, makeQtWrapper
|
||||||
}:
|
}:
|
||||||
|
|
||||||
# this package contains the daemon version of dropbox
|
# this package contains the daemon version of dropbox
|
||||||
|
@ -68,8 +68,8 @@ in stdenv.mkDerivation {
|
||||||
|
|
||||||
sourceRoot = ".dropbox-dist";
|
sourceRoot = ".dropbox-dist";
|
||||||
|
|
||||||
nativeBuildInputs = [ makeWrapper patchelf ];
|
|
||||||
dontPatchELF = true; # patchelf invoked explicitly below
|
dontPatchELF = true; # patchelf invoked explicitly below
|
||||||
|
nativeBuildInputs = [ makeQtWrapper patchelf ];
|
||||||
dontStrip = true; # already done
|
dontStrip = true; # already done
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
|
@ -102,7 +102,7 @@ in stdenv.mkDerivation {
|
||||||
|
|
||||||
mkdir -p "$out/bin"
|
mkdir -p "$out/bin"
|
||||||
RPATH="${ldpath}:$out/${appdir}"
|
RPATH="${ldpath}:$out/${appdir}"
|
||||||
makeWrapper "$out/${appdir}/dropbox" "$out/bin/dropbox" \
|
makeQtWrapper "$out/${appdir}/dropbox" "$out/bin/dropbox" \
|
||||||
--prefix LD_LIBRARY_PATH : "$RPATH"
|
--prefix LD_LIBRARY_PATH : "$RPATH"
|
||||||
|
|
||||||
chmod 755 $out/${appdir}/dropbox
|
chmod 755 $out/${appdir}/dropbox
|
||||||
|
|
Loading…
Reference in a new issue