-
-
Notifications
You must be signed in to change notification settings - Fork 14.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
airwindows: init at unstable-2020-08-24 #89084
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change | ||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
@@ -0,0 +1,62 @@ | ||||||||||||||||||||||||
{ stdenv, fetchFromGitHub, requireFile, unzip, cmake }: | ||||||||||||||||||||||||
|
||||||||||||||||||||||||
stdenv.mkDerivation rec { | ||||||||||||||||||||||||
name = "airwindows-${version}"; | ||||||||||||||||||||||||
version = "2020-08-24"; | ||||||||||||||||||||||||
|
||||||||||||||||||||||||
src = fetchFromGitHub { | ||||||||||||||||||||||||
owner = "airwindows"; | ||||||||||||||||||||||||
repo = "airwindows"; | ||||||||||||||||||||||||
rev = "3022096e8c0e82abdefbc7cae240dd8d0cac5147"; | ||||||||||||||||||||||||
sha256 = "1pvnzl486630qhdc6qjgddglgq89lxjh2kgnyl4q2ia9mn36iisx"; | ||||||||||||||||||||||||
}; | ||||||||||||||||||||||||
|
||||||||||||||||||||||||
vst-sdk = stdenv.mkDerivation rec { | ||||||||||||||||||||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I see this duplicated over in the already existing nixpkgs/pkgs/applications/audio/airwave/default.nix Lines 16 to 26 in 84cf00f
And a PR with the SDK part updated to the very version you're requiring here, #82380 I think I'd rather see this as a separate derivation, but there were objections to that a long while ago (#10006). I wonder if these still exist? Just commenting on this situation, not requesting any change in particular. |
||||||||||||||||||||||||
name = "vstsdk366_27_06_2016_build_61"; | ||||||||||||||||||||||||
src = requireFile { | ||||||||||||||||||||||||
name = "${name}.zip"; | ||||||||||||||||||||||||
url = "https://www.steinberg.net/sdk_downloads/vstsdk366_27_06_2016_build_61.zip"; | ||||||||||||||||||||||||
sha256 = "05gsr13bpi2hhp34rvhllsvmn44rqvmjdpg9fsgfzgylfkz0kiki"; | ||||||||||||||||||||||||
}; | ||||||||||||||||||||||||
nativeBuildInputs = [ unzip ]; | ||||||||||||||||||||||||
installPhase = "cp -r . $out"; | ||||||||||||||||||||||||
}; | ||||||||||||||||||||||||
|
||||||||||||||||||||||||
airwindows-ports = stdenv.mkDerivation rec { | ||||||||||||||||||||||||
name = "airwindows-ports"; | ||||||||||||||||||||||||
src = fetchFromGitHub { | ||||||||||||||||||||||||
owner = "ech2"; | ||||||||||||||||||||||||
repo = "airwindows-ports"; | ||||||||||||||||||||||||
rev = "0.4.0"; | ||||||||||||||||||||||||
sha256 = "1ya4qbc63sb52nzisdapsydrnnpqnjsl5kgxibbr3dxf32474g89"; | ||||||||||||||||||||||||
}; | ||||||||||||||||||||||||
installPhase = "cp -r . $out"; | ||||||||||||||||||||||||
}; | ||||||||||||||||||||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. You can add the unfree license here and keep the main derivation MIT.
Suggested change
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Thanks for the feedback, I'm working on it. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Err yea, apologies. |
||||||||||||||||||||||||
|
||||||||||||||||||||||||
nativeBuildInputs = [ cmake ]; | ||||||||||||||||||||||||
|
||||||||||||||||||||||||
patchPhase = '' | ||||||||||||||||||||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I had some trouble pushing to this branch, so I made #123954 |
||||||||||||||||||||||||
cd plugins/LinuxVST | ||||||||||||||||||||||||
rm build/CMakeCache.txt | ||||||||||||||||||||||||
mkdir -p include/vstsdk | ||||||||||||||||||||||||
cp -r ${airwindows-ports}/include/vstsdk/CMakeLists.txt include/vstsdk/ | ||||||||||||||||||||||||
cp -r ${vst-sdk}/pluginterfaces include/vstsdk/pluginterfaces | ||||||||||||||||||||||||
cp -r ${vst-sdk}/public.sdk/source/vst2.x/* include/vstsdk/ | ||||||||||||||||||||||||
chmod -R 777 include/vstsdk/pluginterfaces | ||||||||||||||||||||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||||||||||||||||||||
''; | ||||||||||||||||||||||||
|
||||||||||||||||||||||||
installPhase = '' | ||||||||||||||||||||||||
for so_file in *.so; do | ||||||||||||||||||||||||
install -vDm 644 $so_file -t "$out/lib/lxvst" | ||||||||||||||||||||||||
done; | ||||||||||||||||||||||||
''; | ||||||||||||||||||||||||
|
||||||||||||||||||||||||
meta = with stdenv.lib; { | ||||||||||||||||||||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||||||||||||||||||||
description = "Handsewn bespoke linuxvst plugins"; | ||||||||||||||||||||||||
homepage = http://www.airwindows.com/airwindows-linux/; | ||||||||||||||||||||||||
magnetophon marked this conversation as resolved.
Show resolved
Hide resolved
|
||||||||||||||||||||||||
# airwindows is mit, but the vst sdk is unfree | ||||||||||||||||||||||||
license = licenses.unfree; | ||||||||||||||||||||||||
magnetophon marked this conversation as resolved.
Show resolved
Hide resolved
|
||||||||||||||||||||||||
platforms = platforms.linux; | ||||||||||||||||||||||||
maintainers = [ maintainers.magnetophon ]; | ||||||||||||||||||||||||
}; | ||||||||||||||||||||||||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
name
is automatically constructed frompname
-version
.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@OPNA2608 I seem to have messed up the push, sorry.
I'm working on getting the new fork to build, and once will than push the fixes.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I had some trouble pushing to this branch, so I made #123954