dropbox: use makeQtWrapper
This commit is contained in:
parent
f9a0e9c649
commit
cf63f2dde9
@ -1,7 +1,7 @@
|
|||||||
{ stdenv, fetchurl, makeDesktopItem, makeWrapper, patchelf
|
{ stdenv, fetchurl, makeDesktopItem, patchelf
|
||||||
, dbus_libs, gcc, glib, libdrm, libffi, libICE, libSM
|
, dbus_libs, gcc, glib, libdrm, libffi, libICE, libSM
|
||||||
, libX11, libXmu, ncurses, popt, qt5, zlib
|
, libX11, libXmu, ncurses, popt, qt5, zlib
|
||||||
, qtbase, qtdeclarative, qtwebkit
|
, qtbase, qtdeclarative, qtwebkit, makeQtWrapper
|
||||||
}:
|
}:
|
||||||
|
|
||||||
# this package contains the daemon version of dropbox
|
# this package contains the daemon version of dropbox
|
||||||
@ -62,7 +62,7 @@ in stdenv.mkDerivation {
|
|||||||
|
|
||||||
sourceRoot = ".dropbox-dist";
|
sourceRoot = ".dropbox-dist";
|
||||||
|
|
||||||
buildInputs = [ makeWrapper patchelf ];
|
nativeBuildInputs = [ makeQtWrapper patchelf ];
|
||||||
dontPatchELF = true; # patchelf invoked explicitly below
|
dontPatchELF = true; # patchelf invoked explicitly below
|
||||||
dontStrip = true; # already done
|
dontStrip = true; # already done
|
||||||
|
|
||||||
@ -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"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user