2021-08-05 21:33:18 +00:00
|
|
|
{ lib
|
|
|
|
, stdenv
|
|
|
|
, fetchurl
|
|
|
|
, cmake
|
|
|
|
, makedepend
|
|
|
|
, perl
|
|
|
|
, pkg-config
|
|
|
|
, qttools
|
|
|
|
, wrapQtAppsHook
|
|
|
|
, dssi
|
|
|
|
, fftwSinglePrec
|
|
|
|
, ladspaH
|
|
|
|
, ladspaPlugins
|
|
|
|
, libjack2
|
|
|
|
, alsa-lib
|
|
|
|
, liblo
|
|
|
|
, libsamplerate
|
|
|
|
, libsndfile
|
|
|
|
, lirc
|
|
|
|
, lrdf
|
|
|
|
, qtbase
|
|
|
|
}:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2021-08-05 21:33:18 +00:00
|
|
|
stdenv.mkDerivation rec {
|
2020-04-24 23:36:52 +00:00
|
|
|
pname = "rosegarden";
|
2023-01-11 07:51:40 +00:00
|
|
|
version = "22.12.1";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://sourceforge/rosegarden/${pname}-${version}.tar.bz2";
|
2023-01-11 07:51:40 +00:00
|
|
|
sha256 = "sha256-fqeif37lxJeBcI+cYVpRkZuJImSlmeZO3yzSNzPZkgY=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2021-08-05 21:33:18 +00:00
|
|
|
postPhase = ''
|
2020-04-24 23:36:52 +00:00
|
|
|
substituteInPlace src/CMakeLists.txt --replace svnheader svnversion
|
|
|
|
'';
|
|
|
|
|
2021-08-05 21:33:18 +00:00
|
|
|
nativeBuildInputs = [ cmake makedepend perl pkg-config qttools wrapQtAppsHook ];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
dssi
|
|
|
|
fftwSinglePrec
|
|
|
|
ladspaH
|
|
|
|
ladspaPlugins
|
|
|
|
libjack2
|
|
|
|
liblo
|
|
|
|
libsamplerate
|
|
|
|
libsndfile
|
|
|
|
lirc
|
|
|
|
lrdf
|
|
|
|
qtbase
|
2021-06-28 23:13:55 +00:00
|
|
|
alsa-lib
|
2020-04-24 23:36:52 +00:00
|
|
|
];
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
homepage = "https://www.rosegardenmusic.com/";
|
|
|
|
description = "Music composition and editing environment";
|
|
|
|
longDescription = ''
|
|
|
|
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.
|
|
|
|
|
|
|
|
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 ];
|
|
|
|
license = licenses.lgpl2Plus;
|
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
2021-08-05 21:33:18 +00:00
|
|
|
}
|