Merge pull request #112810 from OPNA2608/update/bambootracker-0.4.6/21.03
bambootracker: 0.4.5 -> 0.4.6
This commit is contained in:
commit
d5eb24c9fe
@ -1,48 +1,36 @@
|
|||||||
{ mkDerivation
|
{ mkDerivation
|
||||||
, lib, stdenv
|
, lib
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
, qmake
|
, qmake
|
||||||
, qtbase
|
, pkg-config
|
||||||
, qttools
|
, qttools
|
||||||
, alsaSupport ? stdenv.hostPlatform.isLinux
|
, qtbase
|
||||||
, alsaLib
|
, rtaudio
|
||||||
, pulseSupport ? stdenv.hostPlatform.isLinux
|
, rtmidi
|
||||||
, libpulseaudio
|
|
||||||
, jackSupport ? stdenv.hostPlatform.isUnix
|
|
||||||
, libjack2
|
|
||||||
}:
|
}:
|
||||||
let
|
|
||||||
|
|
||||||
inherit (lib) optional optionals;
|
|
||||||
|
|
||||||
in
|
|
||||||
mkDerivation rec {
|
mkDerivation rec {
|
||||||
pname = "bambootracker";
|
pname = "bambootracker";
|
||||||
version = "0.4.5";
|
version = "0.4.6";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "rerrahkr";
|
owner = "rerrahkr";
|
||||||
repo = "BambooTracker";
|
repo = "BambooTracker";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "0ibi0sykxf6cp5la2c4pgxf5gvy56yv259fbmdwdrdyv6vlddf42";
|
sha256 = "0iddqfw951dw9xpl4w7310sl4z544507ppb12i8g4fzvlxfw2ifc";
|
||||||
};
|
};
|
||||||
|
|
||||||
sourceRoot = "source/BambooTracker";
|
nativeBuildInputs = [ qmake qttools pkg-config ];
|
||||||
|
|
||||||
nativeBuildInputs = [ qmake qttools ];
|
buildInputs = [ qtbase rtaudio rtmidi ];
|
||||||
|
|
||||||
buildInputs = [ qtbase ]
|
qmakeFlags = [ "CONFIG+=system_rtaudio" "CONFIG+=system_rtmidi" ];
|
||||||
++ optional alsaSupport alsaLib
|
|
||||||
++ optional pulseSupport libpulseaudio
|
|
||||||
++ optional jackSupport libjack2;
|
|
||||||
|
|
||||||
qmakeFlags = [ "CONFIG+=release" "CONFIG-=debug" ]
|
postConfigure = "make qmake_all";
|
||||||
++ optional pulseSupport "CONFIG+=use_pulse"
|
|
||||||
++ optionals jackSupport [ "CONFIG+=use_jack" "CONFIG+=jack_has_rename" ];
|
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "A tracker for YM2608 (OPNA) which was used in NEC PC-8801/9801 series computers";
|
description = "A tracker for YM2608 (OPNA) which was used in NEC PC-8801/9801 series computers";
|
||||||
homepage = "https://github.com/rerrahkr/BambooTracker";
|
homepage = "https://rerrahkr.github.io/BambooTracker";
|
||||||
license = licenses.gpl2Only;
|
license = licenses.gpl2Only;
|
||||||
platforms = platforms.all;
|
platforms = platforms.all;
|
||||||
maintainers = with maintainers; [ OPNA2608 ];
|
maintainers = with maintainers; [ OPNA2608 ];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user