Skip to content

Commit

Permalink
airwave: fix build
Browse files Browse the repository at this point in the history
The unfree source is old and hard to find; small version bump so the required
zip file is available via psycha0s/airwave#92 .
  • Loading branch information
SFrijters committed Feb 3, 2023
1 parent b0ec519 commit a7085b0
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 8 deletions.
34 changes: 27 additions & 7 deletions pkgs/applications/audio/airwave/default.nix
Original file line number Diff line number Diff line change
@@ -1,5 +1,16 @@
{ lib, stdenv, multiStdenv, cmake, fetchFromGitHub, file, libX11, makeWrapper
, qt5, requireFile, unzip, wine
{ lib,
stdenv,
multiStdenv,
fetchFromGitHub,
requireFile,
unzip,
wine,
cmake,
makeWrapper,
wrapQtAppsHook,
file,
libX11,
qt5
}:

let
Expand All @@ -13,11 +24,11 @@ let
};

vst-sdk = stdenv.mkDerivation rec {
name = "vstsdk368_08_11_2017_build_121";
name = "vstsdk369_01_03_2018_build_132";
src = requireFile {
name = "${name}.zip";
url = "http://www.steinberg.net/en/company/developers.html";
sha256 = "e0f235d8826d70f1ae0ae5929cd198acae1ecff74612fde5c60cbfb45c2f4a70";
sha256 = "0r29fv6yhm2m5yznn8m4my7fq01w1lpphax4sshagy6b1dgjlv3w";
};
nativeBuildInputs = [ unzip ];
installPhase = "cp -r . $out";
Expand All @@ -42,9 +53,18 @@ multiStdenv.mkDerivation {

src = airwave-src;

nativeBuildInputs = [ cmake makeWrapper ];

buildInputs = [ file libX11 qt5.qtbase wine-xembed ];
nativeBuildInputs = [
cmake
makeWrapper
wrapQtAppsHook
];

buildInputs = [
file
libX11
qt5.qtbase
wine-xembed
];

postPatch = ''
# Binaries not used directly should land in libexec/.
Expand Down
2 changes: 1 addition & 1 deletion pkgs/top-level/all-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -28040,7 +28040,7 @@ with pkgs;

ahoviewer = callPackage ../applications/graphics/ahoviewer { };

airwave = callPackage ../applications/audio/airwave { };
airwave = libsForQt5.callPackage ../applications/audio/airwave { };

akira-unstable = callPackage ../applications/graphics/akira { };

Expand Down

0 comments on commit a7085b0

Please sign in to comment.