2018-04-12 17:30:14 +02:00
|
|
|
{ stdenv, fetchurl, fetchpatch, cmake, fftw, gtkmm2, libxcb, lv2, pkgconfig
|
|
|
|
, xorg }:
|
2015-05-25 03:12:07 +02:00
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 14:41:18 +02:00
|
|
|
pname = "eq10q";
|
2017-06-15 12:42:40 +02:00
|
|
|
version = "2.2";
|
2015-05-25 03:12:07 +02:00
|
|
|
src = fetchurl {
|
2019-08-15 14:41:18 +02:00
|
|
|
url = "mirror://sourceforge/project/eq10q/${pname}-${version}.tar.gz";
|
2017-06-15 12:42:40 +02:00
|
|
|
sha256 = "16mhcav8gwkp29k9ki4dlkajlcgh1i2wvldabxb046d37dq4qzrk";
|
2015-05-25 03:12:07 +02:00
|
|
|
};
|
|
|
|
|
2017-09-05 23:26:13 +02:00
|
|
|
nativeBuildInputs = [ pkgconfig ];
|
|
|
|
buildInputs = [ cmake fftw gtkmm2 libxcb lv2 xorg.libpthreadstubs xorg.libXdmcp xorg.libxshmfence ];
|
2015-05-25 03:12:07 +02:00
|
|
|
|
2018-04-12 17:30:14 +02:00
|
|
|
patches = [
|
|
|
|
(fetchpatch {
|
|
|
|
# glibc 2.27 compatibility
|
2020-04-01 03:11:51 +02:00
|
|
|
url = "https://sources.debian.org/data/main/e/eq10q/2.2~repack0-2.1/debian/patches/05-pow10.patch";
|
2018-04-12 17:30:14 +02:00
|
|
|
sha256 = "07b0wf6k4xqgigv4h095bzfaw8r218wa36r9w1817jcys13r6c5r";
|
|
|
|
})
|
|
|
|
];
|
|
|
|
|
2020-06-05 21:13:42 +02:00
|
|
|
postPatch = ''
|
|
|
|
# Fix build with lv2 1.18: https://sourceforge.net/p/eq10q/bugs/23/
|
|
|
|
find . -type f -exec fgrep -q LV2UI_Descriptor {} \; \
|
|
|
|
-exec sed -i {} -e 's/const _\?LV2UI_Descriptor/const LV2UI_Descriptor/' \;
|
|
|
|
'';
|
|
|
|
|
2019-11-05 02:10:31 +01:00
|
|
|
installFlags = [ "DESTDIR=$(out)" ];
|
2015-05-25 03:12:07 +02:00
|
|
|
|
|
|
|
fixupPhase = ''
|
|
|
|
cp -r $out/var/empty/local/lib $out
|
|
|
|
rm -R $out/var
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "LV2 EQ plugins and more, with 64 bit processing";
|
|
|
|
longDescription = ''
|
|
|
|
Up to 10-Bands parametric equalizer with mono and stereo versions.
|
|
|
|
Versatile noise-gate plugin with mono and stereo versions.
|
|
|
|
Compressor plugin with mono and stereo versions.
|
|
|
|
BassUp plugin - Enhanceing the bass guitar sound or other low frequency sounding instruments.
|
|
|
|
Improved high frequency response for peaking filter (in equalizers).
|
|
|
|
64 bits floating point internal audio processing.
|
|
|
|
Nice GUI with powerful metering for every plugin.
|
|
|
|
'';
|
2020-04-01 03:11:51 +02:00
|
|
|
homepage = "http://eq10q.sourceforge.net/";
|
2015-05-25 03:12:07 +02:00
|
|
|
license = stdenv.lib.licenses.gpl3;
|
|
|
|
maintainers = [ stdenv.lib.maintainers.magnetophon ];
|
|
|
|
platforms = stdenv.lib.platforms.linux;
|
|
|
|
};
|
|
|
|
}
|