major refactor and reorg
This commit is contained in:
parent
f99d2c3145
commit
4da9b4919e
11 changed files with 5 additions and 59 deletions
|
@ -1,45 +0,0 @@
|
|||
{ stdenv, pkgs, fetchurl, lib, unzip, autoPatchelfHook, makeWrapper, ... }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "xenia";
|
||||
version = "latest";
|
||||
src = fetchurl {
|
||||
url = "https://dsp56300.com/builds/xenia/beta/DSP56300Emu-1.4.2-Linux_x86_64-Xenia-CLAP.zip";
|
||||
sha256 = "sha256-ANM8teo324b+lsWfJVMhZfqEnNIN1JTGw7D/AAkCw0s=";
|
||||
};
|
||||
nativeBuildInputs = [ makeWrapper unzip autoPatchelfHook ];
|
||||
buildInputs = with pkgs; [
|
||||
freetype
|
||||
fontconfig
|
||||
alsa-lib
|
||||
pipewire
|
||||
mesa
|
||||
freeglut
|
||||
pkg-config
|
||||
stdenv.cc.cc.lib
|
||||
xorg.libX11
|
||||
xorg.libXcursor
|
||||
xorg.libXrandr
|
||||
xorg.libXinerama
|
||||
xorg.libXcomposite
|
||||
];
|
||||
|
||||
unpackPhase = ''
|
||||
unzip $src
|
||||
'';
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p $out/lib/clap
|
||||
cp -r usr/local/lib/clap/Xenia.clap $out/lib/clap/
|
||||
'';
|
||||
|
||||
postFixup = ''
|
||||
patchelf --set-rpath "${lib.makeLibraryPath buildInputs}" $out/lib/clap/Xenia.clap
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://dsp56300.wordpress.com/xenia/";
|
||||
description = "Xenia";
|
||||
platforms = platforms.linux;
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue