Revert "qpdfview: remove placeholder usage"

This reverts commit 9e503e039b.
This commit is contained in:
Jan Tojnar 2018-04-30 02:44:02 +02:00
parent c1e53166ad
commit 0d90e014d6
No known key found for this signature in database
GPG Key ID: 7FAB2A15F7A607A4

View File

@ -21,11 +21,16 @@ stdenv.mkDerivation {
src = fetchurl { src = fetchurl {
inherit (s) url sha256; inherit (s) url sha256;
}; };
qmakeFlags = [
# TODO: revert this once placeholder is supported "*.pro"
preConfigure = '' "TARGET_INSTALL_PATH=${placeholder "out"}/bin"
qmakeFlags="$qmakeFlags *.pro TARGET_INSTALL_PATH=$out/bin PLUGIN_INSTALL_PATH=$out/lib/qpdfview DATA_INSTALL_PATH=$out/share/qpdfview MANUAL_INSTALL_PATH=$out/share/man/man1 ICON_INSTALL_PATH=$out/share/icons/hicolor/scalable/apps LAUNCHER_INSTALL_PATH=$out/share/applications APPDATA_INSTALL_PATH=$out/share/appdata" "PLUGIN_INSTALL_PATH=${placeholder "out"}/lib/qpdfview"
''; "DATA_INSTALL_PATH=${placeholder "out"}/share/qpdfview"
"MANUAL_INSTALL_PATH=${placeholder "out"}/share/man/man1"
"ICON_INSTALL_PATH=${placeholder "out"}/share/icons/hicolor/scalable/apps"
"LAUNCHER_INSTALL_PATH=${placeholder "out"}/share/applications"
"APPDATA_INSTALL_PATH=${placeholder "out"}/share/appdata"
];
meta = { meta = {
inherit (s) version; inherit (s) version;