mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-26 17:03:01 +00:00
Merge pull request #40666 from magnetophon/M32edit
m32edit and x32edit: init at 3.2
This commit is contained in:
commit
2c3e53287d
43
pkgs/applications/audio/midas/generic.nix
Normal file
43
pkgs/applications/audio/midas/generic.nix
Normal file
@ -0,0 +1,43 @@
|
||||
{ stdenv, fetchurl, lib, libX11, libXext, alsaLib, freetype, brand, type, version, homepage, sha256, ... }:
|
||||
stdenv.mkDerivation rec {
|
||||
inherit type;
|
||||
baseName = "${type}-Edit";
|
||||
name = "${baseName}-${version}";
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://downloads.music-group.com/software/behringer/${type}/${type}-Edit_LINUX_64bit_${version}.tar.gz";
|
||||
inherit sha256;
|
||||
};
|
||||
|
||||
sourceRoot = ".";
|
||||
dontBuild = true;
|
||||
dontStrip = true;
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p $out/bin
|
||||
cp ${baseName} $out/bin
|
||||
'';
|
||||
preFixup = let
|
||||
# we prepare our library path in the let clause to avoid it become part of the input of mkDerivation
|
||||
libPath = lib.makeLibraryPath [
|
||||
libX11 # libX11.so.6
|
||||
libXext # libXext.so.6
|
||||
alsaLib # libasound.so.2
|
||||
freetype # libfreetype.so.6
|
||||
stdenv.cc.cc.lib # libstdc++.so.6
|
||||
];
|
||||
in ''
|
||||
patchelf \
|
||||
--set-interpreter "$(cat $NIX_CC/nix-support/dynamic-linker)" \
|
||||
--set-rpath "${libPath}" \
|
||||
$out/bin/${baseName}
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
inherit homepage;
|
||||
description = "Editor for the ${brand} ${type} digital mixer";
|
||||
license = licenses.unfree;
|
||||
platforms = platforms.linux;
|
||||
maintainers = [ maintainers.magnetophon ];
|
||||
};
|
||||
}
|
9
pkgs/applications/audio/midas/m32edit.nix
Normal file
9
pkgs/applications/audio/midas/m32edit.nix
Normal file
@ -0,0 +1,9 @@
|
||||
{ callPackage, ... } @ args:
|
||||
|
||||
callPackage ./generic.nix (args // {
|
||||
brand = "Midas";
|
||||
type = "M32";
|
||||
version = "3.2";
|
||||
sha256 = "1cds6qinz37086l6pmmgrzrxadygjr2z96sjjyznnai2wz4z2nrd";
|
||||
homepage = http://www.musictri.be/Categories/Midas/Mixers/Digital/M32/p/P0B3I/downloads;
|
||||
})
|
9
pkgs/applications/audio/midas/x32edit.nix
Normal file
9
pkgs/applications/audio/midas/x32edit.nix
Normal file
@ -0,0 +1,9 @@
|
||||
{ callPackage, ... } @ args:
|
||||
|
||||
callPackage ./generic.nix (args // {
|
||||
brand = "Behringer";
|
||||
type = "X32";
|
||||
version = "3.2";
|
||||
sha256 = "1lzmhd0sqnlzc0khpwm82sfi48qhv7rg153a57qjih7hhhy41mzk";
|
||||
homepage = http://www.musictri.be/Categories/Behringer/Mixers/Digital/X32/p/P0ASF/downloads;
|
||||
})
|
@ -16134,6 +16134,8 @@ with pkgs;
|
||||
|
||||
linssid = libsForQt5.callPackage ../applications/networking/linssid { };
|
||||
|
||||
m32edit = callPackage ../applications/audio/midas/m32edit.nix {};
|
||||
|
||||
manuskript = callPackage ../applications/editors/manuskript { };
|
||||
|
||||
manul = callPackage ../development/tools/manul { };
|
||||
@ -18712,6 +18714,8 @@ with pkgs;
|
||||
|
||||
x2vnc = callPackage ../tools/X11/x2vnc { };
|
||||
|
||||
x32edit = callPackage ../applications/audio/midas/x32edit.nix {};
|
||||
|
||||
x42-plugins = callPackage ../applications/audio/x42-plugins { };
|
||||
|
||||
xannotate = callPackage ../tools/X11/xannotate {};
|
||||
|
Loading…
Reference in New Issue
Block a user