2020-01-01 23:55:30 +00:00
|
|
|
{ stdenv, fetchurl, cmake, makedepend, perl, pkgconfig, qttools, wrapQtAppsHook
|
2020-01-19 13:39:40 +00:00
|
|
|
, dssi, fftwSinglePrec, ladspaH, ladspaPlugins, libjack2, alsaLib
|
2020-03-22 23:18:53 +00:00
|
|
|
, liblo, libsamplerate, libsndfile, lirc ? null, lrdf, qtbase }:
|
2015-08-23 14:15:59 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation (rec {
|
2020-01-20 07:56:08 +00:00
|
|
|
version = "19.12";
|
2019-08-15 13:41:18 +01:00
|
|
|
pname = "rosegarden";
|
2017-09-08 14:43:18 +01:00
|
|
|
|
2015-08-23 14:15:59 +01:00
|
|
|
src = fetchurl {
|
2019-08-15 13:41:18 +01:00
|
|
|
url = "mirror://sourceforge/rosegarden/${pname}-${version}.tar.bz2";
|
2020-01-20 07:56:08 +00:00
|
|
|
sha256 = "1qcaxc6hdzva7kwxxhgl95437fagjbxzv4mihsgpr7y9qk08ppw1";
|
2015-08-23 14:15:59 +01:00
|
|
|
};
|
|
|
|
|
2017-10-01 03:51:17 +01:00
|
|
|
patchPhase = ''
|
|
|
|
substituteInPlace src/CMakeLists.txt --replace svnheader svnversion
|
|
|
|
'';
|
|
|
|
|
2020-01-01 23:55:30 +00:00
|
|
|
nativeBuildInputs =
|
|
|
|
[ cmake makedepend perl pkgconfig qttools wrapQtAppsHook ];
|
2017-09-08 14:43:18 +01:00
|
|
|
|
|
|
|
buildInputs = [
|
2017-10-01 03:51:17 +01:00
|
|
|
dssi
|
|
|
|
fftwSinglePrec
|
|
|
|
ladspaH
|
|
|
|
ladspaPlugins
|
|
|
|
libjack2
|
|
|
|
liblo
|
|
|
|
libsamplerate
|
|
|
|
libsndfile
|
|
|
|
lirc
|
2020-03-22 23:18:53 +00:00
|
|
|
lrdf
|
2017-10-01 03:51:17 +01:00
|
|
|
qtbase
|
2020-01-19 13:39:40 +00:00
|
|
|
alsaLib
|
2017-10-01 03:51:17 +01:00
|
|
|
];
|
2017-09-08 14:43:18 +01:00
|
|
|
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
|
2015-08-23 14:15:59 +01:00
|
|
|
meta = with stdenv.lib; {
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://www.rosegardenmusic.com/";
|
2015-08-23 14:15:59 +01:00
|
|
|
description = "Music composition and editing environment";
|
|
|
|
longDescription = ''
|
2017-10-01 03:51:17 +01:00
|
|
|
Rosegarden is a music composition and editing environment based around
|
|
|
|
a MIDI sequencer that features a rich understanding of music notation
|
|
|
|
and includes basic support for digital audio.
|
2015-08-23 14:15:59 +01:00
|
|
|
|
2017-10-01 03:51:17 +01:00
|
|
|
Rosegarden is an easy-to-learn, attractive application that runs on Linux,
|
|
|
|
ideal for composers, musicians, music students, and small studio or home
|
|
|
|
recording environments.
|
|
|
|
'';
|
|
|
|
maintainers = with maintainers; [ lebastr ];
|
2015-08-23 14:15:59 +01:00
|
|
|
license = licenses.lgpl2Plus;
|
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
})
|