Merge pull request #63795 from romildo/upd.deepin.dtkcore

deepin.dtkcore: explicitly set DTK_VERSION
This commit is contained in:
worldofpeace 2019-06-25 21:59:30 -04:00 committed by GitHub
commit 648ca9b5f3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -30,7 +30,10 @@ stdenv.mkDerivation rec {
sed -i tools/script/dtk-translate.py -e "s,#!env,#!/usr/bin/env,"
'';
qmakeFlags = [ "MKSPECS_INSTALL_DIR=${placeholder "out"}/mkspecs" ];
qmakeFlags = [
"DTK_VERSION=${version}"
"MKSPECS_INSTALL_DIR=${placeholder "out"}/mkspecs"
];
postFixup = ''
chmod +x $out/lib/dtk2/*.py