@@ -1,23 +1,35 @@
1−{ stdenv, fetchurl, cmake, qt4, pkgconfig, ladspaPlugins, ladspaH,
2− dssi, liblo, liblrdf, fftwSinglePrec, libsndfile,
3− libsamplerate, perl, makedepend, libjack2,
4− withLirc ? false, lirc ? null } :
1+{ stdenv, fetchurl, cmake, makedepend, perl, pkgconfig, qttools
2+, dssi, fftwSinglePrec, ladspaH, ladspaPlugins, libjack2
3+, liblo, liblrdf, libsamplerate, libsndfile, lirc ? null, qtbase }:
54
65stdenv.mkDerivation (rec {
76 version = "17.04";
87 name = "rosegarden-${version}";
98
109 src = fetchurl {
11− url = "mirror://sourceforge/rosegarden/${name}.tar.bz2";
10+ url = "mirror://sourceforge/rosegarden/${name}.tar.bz2";
1211 sha256 = "1khfcj22asdhjh0jvhkqsz200wgmigkhsrcz09ffia5hqm0n32lq";
1312 };
1413
15− QTDIR = qt4;
14+ patchPhase = ''
15+ substituteInPlace src/CMakeLists.txt --replace svnheader svnversion
16+ '';
17+
18+ nativeBuildInputs = [ cmake makedepend perl pkgconfig qttools ];
1619
1720 buildInputs = [
18− cmake qt4 pkgconfig ladspaPlugins ladspaH dssi liblo liblrdf fftwSinglePrec
19− libsndfile libsamplerate perl makedepend libjack2
20− ] ++ stdenv.lib.optional withLirc [ lirc ];
21+ dssi
22+ fftwSinglePrec
23+ ladspaH
24+ ladspaPlugins
25+ libjack2
26+ liblo
27+ liblrdf
28+ libsamplerate
29+ libsndfile
30+ lirc
31+ qtbase
32+ ];
2133
2234 enableParallelBuilding = true;
2335
@@ -25,11 +37,15 @@ stdenv.mkDerivation (rec {
2537 homepage = http://www.rosegardenmusic.com/;
2638 description = "Music composition and editing environment";
2739 longDescription = ''
28− 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.
29− 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.
30− '';
40+ Rosegarden is a music composition and editing environment based around
41+ a MIDI sequencer that features a rich understanding of music notation
42+ and includes basic support for digital audio.
3143
32− maintainers = [ maintainers.lebastr ];
44+ Rosegarden is an easy-to-learn, attractive application that runs on Linux,
45+ ideal for composers, musicians, music students, and small studio or home
46+ recording environments.
47+ '';
48+ maintainers = with maintainers; [ lebastr ];
3349 license = licenses.lgpl2Plus;
3450 platforms = platforms.linux;
3551 };