mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-04-13 07:57:29 +00:00
vapoursynth-editor: use qt's mkDerivation
This commit is contained in:
parent
4a2475c924
commit
d183f7142b
@ -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 New Issue
Block a user