forked from mirrors/nixpkgs
Merge pull request #72465 from tadeokondrak/vsedit-qt-mkderivation
vapoursynth-editor: use qt's mkDerivation
This commit is contained in:
commit
328fbf3f47
|
@ -1,9 +1,9 @@
|
|||
{ stdenv, fetchFromBitbucket, makeWrapper
|
||||
{ stdenv, mkDerivation, fetchFromBitbucket
|
||||
, python3, vapoursynth
|
||||
, qmake, qtbase, qtwebsockets
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
mkDerivation rec {
|
||||
pname = "vapoursynth-editor";
|
||||
version = "R19";
|
||||
|
||||
|
@ -14,18 +14,20 @@ stdenv.mkDerivation rec {
|
|||
sha256 = "1zlaynkkvizf128ln50yvzz3b764f5a0yryp6993s9fkwa7djb6n";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ qmake makeWrapper ];
|
||||
nativeBuildInputs = [ qmake ];
|
||||
buildInputs = [ qtbase vapoursynth qtwebsockets ];
|
||||
|
||||
dontWrapQtApps = true;
|
||||
|
||||
preConfigure = "cd pro";
|
||||
|
||||
installPhase = ''
|
||||
preFixup = ''
|
||||
cd ../build/release*
|
||||
mkdir -p $out/bin
|
||||
for bin in vsedit{,-job-server{,-watcher}}; do
|
||||
mv $bin $out/bin
|
||||
|
||||
wrapProgram $out/bin/$bin \
|
||||
wrapQtApp $out/bin/$bin \
|
||||
--prefix PYTHONPATH : ${vapoursynth}/${python3.sitePackages} \
|
||||
--prefix LD_LIBRARY_PATH : ${vapoursynth}/lib
|
||||
done
|
||||
|
|
Loading…
Reference in a new issue