2020-06-05 16:08:07 +03:00
|
|
|
{ stdenv
|
|
|
|
, fetchurl
|
|
|
|
, avahi
|
|
|
|
, bluez
|
|
|
|
, boost
|
|
|
|
, curl
|
|
|
|
, eigen
|
|
|
|
, fftw
|
|
|
|
, gettext
|
|
|
|
, glib
|
|
|
|
, glib-networking
|
|
|
|
, glibmm
|
|
|
|
, gnome3
|
|
|
|
, gsettings-desktop-schemas
|
|
|
|
, gtk3
|
|
|
|
, gtkmm3
|
|
|
|
, hicolor-icon-theme
|
|
|
|
, intltool
|
|
|
|
, ladspaH
|
|
|
|
, libav
|
|
|
|
, libjack2
|
|
|
|
, libsndfile
|
|
|
|
, lilv
|
|
|
|
, lrdf
|
|
|
|
, lv2
|
|
|
|
, pkgconfig
|
|
|
|
, python2
|
|
|
|
, sassc
|
|
|
|
, serd
|
|
|
|
, sord
|
|
|
|
, sratom
|
|
|
|
, wafHook
|
|
|
|
, wrapGAppsHook
|
|
|
|
, zita-convolver
|
|
|
|
, zita-resampler
|
2015-04-07 09:45:32 +03:00
|
|
|
, optimizationSupport ? false # Enable support for native CPU extensions
|
|
|
|
}:
|
|
|
|
|
|
|
|
let
|
|
|
|
inherit (stdenv.lib) optional;
|
|
|
|
in
|
2013-02-03 20:36:32 +04:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 15:41:18 +03:00
|
|
|
pname = "guitarix";
|
2020-07-17 17:47:30 +03:00
|
|
|
version = "0.41.0";
|
2013-02-03 20:36:32 +04:00
|
|
|
|
|
|
|
src = fetchurl {
|
2016-08-15 17:25:46 +03:00
|
|
|
url = "mirror://sourceforge/guitarix/guitarix2-${version}.tar.xz";
|
2020-07-17 17:47:30 +03:00
|
|
|
sha256 = "0qsfbyrrpb3bbdyq68k28mjql7kglxh8nqcw9jvja28x6x9ik5a0";
|
2013-02-03 20:36:32 +04:00
|
|
|
};
|
|
|
|
|
2020-06-05 16:08:07 +03:00
|
|
|
nativeBuildInputs = [
|
|
|
|
gettext
|
|
|
|
hicolor-icon-theme
|
|
|
|
intltool
|
|
|
|
pkgconfig
|
|
|
|
python2
|
|
|
|
wafHook
|
|
|
|
wrapGAppsHook
|
|
|
|
];
|
2015-04-07 09:45:32 +03:00
|
|
|
|
2014-02-21 02:33:37 +04:00
|
|
|
buildInputs = [
|
2020-06-05 16:08:07 +03:00
|
|
|
avahi
|
|
|
|
bluez
|
|
|
|
boost
|
|
|
|
curl
|
|
|
|
eigen
|
|
|
|
fftw
|
|
|
|
glib
|
|
|
|
glib-networking.out
|
|
|
|
glibmm
|
|
|
|
gnome3.adwaita-icon-theme
|
|
|
|
gsettings-desktop-schemas
|
|
|
|
gtk3
|
|
|
|
gtkmm3
|
|
|
|
ladspaH
|
|
|
|
libav
|
|
|
|
libjack2
|
|
|
|
libsndfile
|
|
|
|
lilv
|
|
|
|
lrdf
|
|
|
|
lv2
|
|
|
|
sassc
|
|
|
|
serd
|
|
|
|
sord
|
|
|
|
sratom
|
|
|
|
zita-convolver
|
|
|
|
zita-resampler
|
2014-02-21 02:33:37 +04:00
|
|
|
];
|
2013-02-03 20:36:32 +04:00
|
|
|
|
2020-06-05 16:08:07 +03:00
|
|
|
# this doesnt build, probably because we have the wrong faust version:
|
|
|
|
# "--faust"
|
|
|
|
# aproved versions are 2.20.2 and 2.15.11
|
2019-04-10 06:44:37 +03:00
|
|
|
wafConfigureFlags = [
|
2020-06-05 16:08:07 +03:00
|
|
|
"--no-faust"
|
|
|
|
"--no-font-cache-update"
|
2015-04-07 09:45:32 +03:00
|
|
|
"--shared-lib"
|
|
|
|
"--no-desktop-update"
|
|
|
|
"--enable-nls"
|
2017-03-03 20:25:00 +03:00
|
|
|
"--install-roboto-font"
|
2015-04-07 09:45:32 +03:00
|
|
|
] ++ optional optimizationSupport "--optimization";
|
|
|
|
|
2016-08-15 17:25:46 +03:00
|
|
|
meta = with stdenv.lib; {
|
2013-02-03 20:36:32 +04:00
|
|
|
description = "A virtual guitar amplifier for Linux running with JACK";
|
|
|
|
longDescription = ''
|
|
|
|
guitarix is a virtual guitar amplifier for Linux running with
|
|
|
|
JACK (Jack Audio Connection Kit). It is free as in speech and
|
|
|
|
free as in beer. Its free sourcecode allows to build it for
|
|
|
|
other UNIX-like systems also, namely for BSD and for MacOSX.
|
|
|
|
|
|
|
|
It takes the signal from your guitar as any real amp would do:
|
|
|
|
as a mono-signal from your sound card. Your tone is processed by
|
|
|
|
a main amp and a rack-section. Both can be routed separately and
|
|
|
|
deliver a processed stereo-signal via JACK. You may fill the
|
|
|
|
rack with effects from more than 25 built-in modules spanning
|
|
|
|
from a simple noise-gate to brain-slashing modulation-fx like
|
|
|
|
flanger, phaser or auto-wah. Your signal is processed with
|
|
|
|
minimum latency. On any properly set-up Linux-system you do not
|
|
|
|
need to wait for more than 10 milli-seconds for your playing to
|
|
|
|
be delivered, processed by guitarix.
|
|
|
|
|
|
|
|
guitarix offers the range of sounds you would expect from a
|
|
|
|
full-featured universal guitar-amp. You can get crisp
|
|
|
|
clean-sounds, nice overdrive, fat distortion and a diversity of
|
|
|
|
crazy sounds never heard before.
|
|
|
|
'';
|
2020-04-01 04:11:51 +03:00
|
|
|
homepage = "http://guitarix.sourceforge.net/";
|
2014-02-21 02:33:37 +04:00
|
|
|
license = licenses.gpl3Plus;
|
|
|
|
maintainers = with maintainers; [ astsmtl goibhniu ];
|
|
|
|
platforms = platforms.linux;
|
2013-02-03 20:36:32 +04:00
|
|
|
};
|
|
|
|
}
|