summaryrefslogtreecommitdiffstats
path: root/redhat/dependencies/arts
diff options
context:
space:
mode:
authorFrançois Andriot <albator78@libertysurf.fr>2013-08-03 13:01:47 +0200
committerFrançois Andriot <albator78@libertysurf.fr>2013-08-03 13:01:47 +0200
commit5b9c5354a7a6d4dec713c4d5e8ca5da912cd980b (patch)
tree67565e277aee6f7e08527453d026d865ba64d5ad /redhat/dependencies/arts
parent5427075cae2f0741c0d74a39e56737b968baf699 (diff)
downloadtde-packaging-5b9c5354a7a6d4dec713c4d5e8ca5da912cd980b.tar.gz
tde-packaging-5b9c5354a7a6d4dec713c4d5e8ca5da912cd980b.zip
RPM Packaging: update dependencies
Diffstat (limited to 'redhat/dependencies/arts')
-rw-r--r--redhat/dependencies/arts/arts-14.0.0.spec22
1 files changed, 15 insertions, 7 deletions
diff --git a/redhat/dependencies/arts/arts-14.0.0.spec b/redhat/dependencies/arts/arts-14.0.0.spec
index 5c81da101..0ae8446d8 100644
--- a/redhat/dependencies/arts/arts-14.0.0.spec
+++ b/redhat/dependencies/arts/arts-14.0.0.spec
@@ -3,6 +3,8 @@
%define _variant .opt
%endif
+%define tde_version 14.0.0
+
%define tde_bindir %{tde_prefix}/bin
%define tde_includedir %{tde_prefix}/include
%define tde_libdir %{tde_prefix}/%{_lib}
@@ -13,7 +15,7 @@
%define _docdir %{tde_datadir}/doc
Name: trinity-arts
-Version: 14.0.0
+Version: %{tde_version}
Release: %{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist}%{?_variant}
License: GPL
Summary: aRts (analog realtime synthesizer) - the TDE sound system
@@ -30,7 +32,7 @@ Source0: %{name}-%{version}%{?preversion:~%{preversion}}.tar.gz
Source1: kcmartsrc-pulseaudio
BuildRequires: cmake >= 2.8
-BuildRequires: trinity-tqtinterface-devel >= %{version}
+BuildRequires: trinity-tqtinterface-devel >= %{tde_version}
BuildRequires: audiofile-devel
BuildRequires: alsa-lib-devel
BuildRequires: glib2-devel
@@ -202,20 +204,26 @@ Requires: %{name} = %{version}-%{release}
cd build
%endif
-%cmake \
+%cmake .. \
+ -DCMAKE_BUILD_TYPE="RelWithDebInfo" \
+ -DCMAKE_C_FLAGS="${RPM_OPT_FLAGS} -DNDEBUG" \
+ -DCMAKE_CXX_FLAGS="${RPM_OPT_FLAGS} -DNDEBUG" \
+ -DCMAKE_SKIP_RPATH=OFF \
+ -DCMAKE_VERBOSE_MAKEFILE=ON \
+ -DWITH_GCC_VISIBILITY=ON \
+ \
-DCMAKE_INSTALL_PREFIX="%{tde_prefix}" \
-DBIN_INSTALL_DIR="%{tde_bindir}" \
-DINCLUDE_INSTALL_DIR="%{tde_tdeincludedir}/arts" \
-DLIB_INSTALL_DIR="%{tde_libdir}" \
- -DPKGCONFIG_INSTALL_DIR=%{tde_libdir}/pkgconfig \
+ -DPKGCONFIG_INSTALL_DIR="%{tde_libdir}/pkgconfig" \
+ \
-DWITH_ALSA=ON \
-DWITH_AUDIOFILE=ON \
-DWITH_VORBIS=ON \
%{?with_libmad:-DWITH_MAD=ON} %{!?with_libmad:-DWITH_MAD=OFF} \
%{?with_esound:-DWITH_ESOUND=ON} \
- %{?with_jack:-DWITH_JACK=ON} \
- -DCMAKE_SKIP_RPATH=OFF \
- ..
+ %{?with_jack:-DWITH_JACK=ON}
%__make %{?_smp_mflags} || %__make