#
# Conditional build:
-%bcond_without alsa # disable ALSA support
-%bcond_with nas # enable NAS support
-%bcond_without esd # disable esound support
-%bcond_without hidden_visibility # pass '--fvisibility=hidden' & '--fvisibility-inlines-hidden' to g++
-#
+%bcond_without alsa # ALSA support
+%bcond_with nas # NAS support
+%bcond_with arts # aRts support (i.e. actually build this package)
+%bcond_without esd # EsounD support
+%bcond_without hidden_visibility # '--fvisibility=hidden' & '--fvisibility-inlines-hidden' g++ opts
+
%define _state stable
%define _kdever 3.5.10
-%if "%{pld_release}" == "th"
-die, not meant for th
-%endif
-
Summary: aRts sound server
Summary(pl.UTF-8): Serwer dźwięku
Summary(pt_BR.UTF-8): Servidor de sons usado pelo KDE
Name: arts
Version: 1.5.10
-Release: 14
+Release: 15
Epoch: 13
License: LGPL
Group: Libraries
%{?with_hidden_visibility:BuildRequires: gcc-c++ >= 5:4.1.0-0.20051206r108118.1}
BuildRequires: glib2-devel >= 2.0.0
BuildRequires: jack-audio-connection-kit-devel
+%if "%{pld_release}" == "th"
+%{!?with_arts:BuildRequires: die, not meant for th}
+%endif
BuildRequires: libmad-devel
BuildRequires: libtool >= 2:1.5-2
BuildRequires: libuuid-devel
DESTDIR=$RPM_BUILD_ROOT
# it seems to be only (lt_)dlopened, nothing links with it - so not needed
-rm -f $RPM_BUILD_ROOT%{_libdir}/libx11globalcomm.{la,so}
+%{__rm} $RPM_BUILD_ROOT%{_libdir}/libx11globalcomm.{la,so}
# remove unwanted boost deps from .la
sed -i 's:-lboost_filesystem -lboost_regex::' $RPM_BUILD_ROOT%{_libdir}/*.la