#
# Conditional build:
-# _with_arts - enable aRts support (at cost of ALSA support)
-# _without_kdemultimedia - without linking with arts
+%bcond_with arts # enable aRts support (at cost of ALSA support)
+%bcond_without sound # build without ANY sound support (only sequencer)
#
%define _name rosegarden
%define _htmldir /usr/share/doc/kde/HTML
Summary: Rosegarden - an attractive audio and MIDI sequencer
Summary(pl): Rosegarden - interaktywny sekwencer MIDI i audio
Name: rosegarden4
-Version: 0.9.1
-Release: 1
+Version: 0.9.5
+Release: 0.1
License: GPL
Group: X11/Applications/Sound
Source0: http://dl.sourceforge.net/%{_name}/%{_name}-4-%{version}.tar.gz
-# Source0-md5: f8b3c44da48b125be8a7459664bfa4cb
+# Source0-md5: 49bd200dda08de37a2e13a12c1456acf
Patch0: %{_name}-desktop.patch
-Patch1: %{name}-gcc33.patch
URL: http://www.all-day-breakfast.com/rosegarden/
-BuildRequires: alsa-lib-devel
-%{!?_without_kdemultimedia:BuildRequires: arts-kde-devel}
-BuildRequires: jack-audio-connection-kit-devel
+%{?with_sound:BuildRequires: alsa-lib-devel}
+BuildRequires: jack-audio-connection-kit-devel >= 0.80.0
BuildRequires: ladspa-devel
-%{!?_without_kdemultimedia:BuildRequires: kdemultimedia-devel >= 3.0}
+BuildRequires: liblrdf-devel
+BuildRequires: kdelibs-devel >= 3.1
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%define _htmldir %{_docdir}/kde/HTML
%prep
%setup -q -n %{_name}-4-%{version}
%patch0 -p1
-%patch1 -p1
%build
kde_icondir="%{_pixmapsdir}"; export kde_icondir
kde_htmldir="%{_htmldir}"; export kde_htmldir
%configure \
- %{!?_with_arts:--with-alsa} \
- %{?_with_arts:--with-arts}
+ %{?with_arts:--with-arts} \
+ %{!?with_sound:--disable-sound}
+
%{__make}
%install