]> git.pld-linux.org Git - packages/arts.git/blobdiff - arts.spec
- up to 1.5.1
[packages/arts.git] / arts.spec
index eb659ea42d0c2f30e3a2be2f0f9626feb3ff047c..143ea50476d13139d3afc547e0773b9820b19c05 100644 (file)
--- a/arts.spec
+++ b/arts.spec
@@ -3,30 +3,35 @@
 %bcond_without alsa    # disable ALSA support
 %bcond_with    nas     # enable NAS support
 %bcond_without esd     # disable esound support
+%bcond_with    hidden_visibility       # pass '--fvisibility=hidden'
+                                       # & '--fvisibility-inlines-hidden'
+                                       # to g++ 
 #
-
 %define                _state          stable
-%define                _kdever         3.3.2
-
+%define                _kdever         3.5.1
+%define                _ver            1.5.1
+#
 Summary:       aRts sound server
 Summary(pl):   Serwer d¼wiêku
 Summary(pt_BR):        Servidor de sons usado pelo KDE
 Name:          arts
-Version:       1.3.2
+Version:       %{_ver}
 Release:       1
 Epoch:         13
 License:       LGPL
 Group:         Libraries
 Source0:       ftp://ftp.kde.org/pub/kde/%{_state}/%{_kdever}/src/%{name}-%{version}.tar.bz2
-# Source0-md5: a3d22f7cc5c641204a28d3f77e441a84
+# Source0-md5: 71c4996de36aa7f8726e54bb3d5bf059
+Patch100:      %{name}-branch.diff
 URL:           http://www.arts-project.org/
 %{?with_alsa:BuildRequires:    alsa-lib-devel}
 BuildRequires: audiofile-devel
 BuildRequires: autoconf
 BuildRequires: automake
 BuildRequires: docbook-dtd41-sgml
-BuildRequires: docbook-utils >= 0.6.13-3
+BuildRequires: docbook-utils >= 0.6.14
 %{?with_esd:BuildRequires:     esound-devel}
+%{?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
 BuildRequires: libmad-devel
@@ -34,8 +39,8 @@ BuildRequires:        libtool >= 2:1.5-2
 BuildRequires: libvorbis-devel
 %{?with_nas:BuildRequires:     nas-devel}
 BuildRequires: pkgconfig
-BuildRequires: qt-devel >= 6:3.2.1-4
-BuildRequires: unsermake >= 040805-1
+%{?with_hidden_visibility:BuildRequires:       qt-devel >= 6:3.3.5.051113-1}
+%{!?with_hidden_visibility:BuildRequires:      qt-devel >= 6:3.2.1-4}
 Obsoletes:     arts-glib
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -156,12 +161,11 @@ Pliki programistyczne dla biblioteki qtmcop.
 
 %prep
 %setup -q
+#%patch100 -p1
 
 %build
 cp -f /usr/share/automake/config.sub admin
 
-export UNSERMAKE=/usr/share/unsermake/unsermake
-
 %{__make} -f admin/Makefile.common cvs
 
 %configure \
@@ -171,11 +175,14 @@ export UNSERMAKE=/usr/share/unsermake/unsermake
 %endif
        --%{?debug:en}%{!?debug:dis}able-debug%{?debug:=full} \
        %{!?debug:--disable-rpath} \
-       --enable-final \
+       --disable-final \
+       %{?with_hidden_visibility:--enable-gcc-hidden-visibility} \
        --with-qt-libraries=%{_libdir} \
        --with%{!?with_alsa:out}-alsa
 
-%{__make}
+%{__make} \
+       CXXLD=%{_host_cpu}-%{_vendor}-%{_os}-g++ \
+       CCLD=%{_host_cpu}-%{_vendor}-%{_os}-gcc
 
 %install
 rm -rf $RPM_BUILD_ROOT
This page took 0.033113 seconds and 4 git commands to generate.