mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-22 21:53:32 +00:00
84c81a4929
Fixes this startup failure: qt.qpa.plugin: Could not find the Qt platform plugin "xcb" in "" This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem. Aborted (core dumped) Fixes #76639. Signed-off-by: Anders Kaseorg <andersk@mit.edu>
54 lines
1.5 KiB
Nix
54 lines
1.5 KiB
Nix
{ stdenv, fetchurl, cmake, makedepend, perl, pkgconfig, qttools, wrapQtAppsHook
|
|
, dssi, fftwSinglePrec, ladspaH, ladspaPlugins, libjack2
|
|
, liblo, liblrdf, libsamplerate, libsndfile, lirc ? null, qtbase }:
|
|
|
|
stdenv.mkDerivation (rec {
|
|
version = "19.06";
|
|
pname = "rosegarden";
|
|
|
|
src = fetchurl {
|
|
url = "mirror://sourceforge/rosegarden/${pname}-${version}.tar.bz2";
|
|
sha256 = "169qb58v2s8va59hzkih8nqb2aipsqlrbfs8q39ywqa8w5d60gcc";
|
|
};
|
|
|
|
patchPhase = ''
|
|
substituteInPlace src/CMakeLists.txt --replace svnheader svnversion
|
|
'';
|
|
|
|
nativeBuildInputs =
|
|
[ cmake makedepend perl pkgconfig qttools wrapQtAppsHook ];
|
|
|
|
buildInputs = [
|
|
dssi
|
|
fftwSinglePrec
|
|
ladspaH
|
|
ladspaPlugins
|
|
libjack2
|
|
liblo
|
|
liblrdf
|
|
libsamplerate
|
|
libsndfile
|
|
lirc
|
|
qtbase
|
|
];
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
meta = with stdenv.lib; {
|
|
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;
|
|
};
|
|
})
|