2015-04-07 08:45:32 +02:00
|
|
|
{ stdenv, fetchurl, gettext, intltool, pkgconfig, python
|
2016-08-15 16:25:46 +02:00
|
|
|
, avahi, bluez, boost, eigen, fftw, glib, glib_networking
|
2016-09-11 23:24:51 +02:00
|
|
|
, glibmm, gsettings_desktop_schemas, gtkmm2, libjack2
|
2015-04-07 08:45:32 +02:00
|
|
|
, ladspaH, librdf, libsndfile, lilv, lv2, serd, sord, sratom
|
2016-08-15 16:25:46 +02:00
|
|
|
, webkitgtk2, wrapGAppsHook, zita-convolver, zita-resampler
|
2015-04-07 08:45:32 +02:00
|
|
|
, optimizationSupport ? false # Enable support for native CPU extensions
|
|
|
|
}:
|
|
|
|
|
|
|
|
let
|
|
|
|
inherit (stdenv.lib) optional;
|
|
|
|
in
|
2013-02-03 17:36:32 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "guitarix-${version}";
|
2016-11-01 02:16:03 +01:00
|
|
|
version = "0.35.2";
|
2013-02-03 17:36:32 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
2016-08-15 16:25:46 +02:00
|
|
|
url = "mirror://sourceforge/guitarix/guitarix2-${version}.tar.xz";
|
2016-11-01 02:16:03 +01:00
|
|
|
sha256 = "1qj3adjhg511jygbjkl9k5v0gcjmg6ifc479rspfyf45m383pp3p";
|
2013-02-03 17:36:32 +01:00
|
|
|
};
|
|
|
|
|
2016-08-15 16:25:46 +02:00
|
|
|
nativeBuildInputs = [ gettext intltool wrapGAppsHook pkgconfig python ];
|
2015-04-07 08:45:32 +02:00
|
|
|
|
2014-02-20 23:33:37 +01:00
|
|
|
buildInputs = [
|
2016-08-15 16:25:46 +02:00
|
|
|
avahi bluez boost eigen fftw glib glibmm glib_networking.out
|
2016-09-11 23:24:51 +02:00
|
|
|
gsettings_desktop_schemas gtkmm2 libjack2 ladspaH librdf
|
2016-08-15 16:25:46 +02:00
|
|
|
libsndfile lilv lv2 serd sord sratom webkitgtk2 zita-convolver
|
|
|
|
zita-resampler
|
2014-02-20 23:33:37 +01:00
|
|
|
];
|
2013-02-03 17:36:32 +01:00
|
|
|
|
2015-04-07 08:45:32 +02:00
|
|
|
configureFlags = [
|
|
|
|
"--shared-lib"
|
|
|
|
"--no-desktop-update"
|
|
|
|
"--enable-nls"
|
2015-05-06 02:08:11 +02:00
|
|
|
"--no-faust" # todo: find out why --faust doesn't work
|
2015-04-07 08:45:32 +02:00
|
|
|
] ++ optional optimizationSupport "--optimization";
|
|
|
|
|
|
|
|
configurePhase = ''python waf configure --prefix=$out $configureFlags'';
|
2013-02-03 17:36:32 +01:00
|
|
|
|
2015-04-07 08:45:32 +02:00
|
|
|
buildPhase = ''python waf build'';
|
2013-02-03 17:36:32 +01:00
|
|
|
|
2015-04-07 08:45:32 +02:00
|
|
|
installPhase = ''python waf install'';
|
2013-02-03 17:36:32 +01:00
|
|
|
|
2016-08-15 16:25:46 +02:00
|
|
|
meta = with stdenv.lib; {
|
2013-02-03 17:36:32 +01: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.
|
|
|
|
'';
|
|
|
|
homepage = http://guitarix.sourceforge.net/;
|
2014-02-20 23:33:37 +01:00
|
|
|
license = licenses.gpl3Plus;
|
|
|
|
maintainers = with maintainers; [ astsmtl goibhniu ];
|
|
|
|
platforms = platforms.linux;
|
2013-02-03 17:36:32 +01:00
|
|
|
};
|
|
|
|
}
|