]> git.pld-linux.org Git - packages/amarok.git/blobdiff - amarok.spec
- updated TODO
[packages/amarok.git] / amarok.spec
index 2a7c9b54e09dd32fd0402e09c5a59a373c781040..2996fcd0d63b01a87513ca01d0561a4d62c5b056 100644 (file)
@@ -1,24 +1,28 @@
 #
 # TODO:
 #      * postgresql support alongside mysql
-#      * NMM, MAS audio backend support
+#      * NMM audio backend support (fix build - propably some BRs)
 #      * make descriptions less useless
-#      * HelixPlayer engine?
+#      * HelixPlayer engine (fix build - propably some BRs)
 #
 # Conditional builds:
 %bcond_without arts            # disable arts engine
 %bcond_without gstreamer       # disable gstreamer
+%bcond_without  mas            # disable MAS audio backend
 %bcond_without xine            # disable xine engine
 %bcond_without xmms            # disable xmms wrapping
-%bcond_without zeroconf        # disbale suport for zeroconf
+%bcond_without zeroconf        # disable suport for zeroconf
+%bcond_with     helixplayer     # enable HelixPlayer engine
+%bcond_with     nmm             # enable NMM audio backend
 %bcond_with    mysql           # enable mysql support
+%bcond_with    akode           # enable aKode engine (too buggy/incomplete)
 #
 %define        _beta   beta3
 Summary:       A KDE audio player
 Summary(pl):   Odtwarzacz audio dla KDE
 Name:          amarok
 Version:       1.3
-Release:       0.%{_beta}.1
+Release:       0.%{_beta}.2
 License:       GPL
 Group:         X11/Applications/Multimedia
 Source0:       http://dl.sourceforge.net/amarok/%{name}-%{version}-%{_beta}.tar.bz2
@@ -31,7 +35,7 @@ BuildRequires:        arts-qt-devel
 BuildRequires: automake
 %{?with_gstreamer:BuildRequires:       gstreamer-plugins-devel >= 0.8.1}
 BuildRequires: kdebase-devel
-#BuildRequires:        kdemultimedia-akode
+%{?with_akode:BuildRequires:   kdemultimedia-akode}
 BuildRequires: kdemultimedia-devel >= 9:3.1.93
 BuildRequires: libltdl-devel
 BuildRequires: libmusicbrainz-devel
@@ -70,20 +74,18 @@ Plugin arts.
 %description arts -l pl
 Wtyczka arts.
 
+%package akode
+Summary:       Plugin akode
+Summary(pl):   Wtyczka akode
+Group:         X11/Applications/Multimedia
+PreReq:                %{name} = %{version}-%{release}
+Provides:      %{name}-plugin = %{version}-%{release}
 
-#%package akode
-#Summary:      Plugin akode
-#Summary(pl):  Wtyczka akode
-#Group:                X11/Applications/Multimedia
-#PreReq:               %{name} = %{version}-%{release}
-#Provides:     %{name}-plugin = %{version}-%{release}
-
-#%description akode
-#Plugin akode.
-
-#%description akode -l pl
-#Wtyczka akode.
+%description akode
+Plugin akode.
 
+%description akode -l pl
+Wtyczka akode.
 
 %package gstreamer
 Summary:       Plugin gstreamer
@@ -130,7 +132,6 @@ Zeroconf data.
 %description zeroconf -l pl
 Zeroconf data.
 
-
 %prep
 %setup -q -n %{name}-%{version}-%{_beta}
 %patch0 -p1
@@ -147,8 +148,11 @@ cp -f /usr/share/automake/config.sub admin
 %configure \
        --disable-rpath \
        %{!?with_arts:--without-arts} \
+       %{?with_mas:--with-mas} \
        %{!?with_xine:--without-xine} \
        %{!?with_gstreamer:--without-gstreamer} \
+       %{!?with_akode:--without-akode} \
+       %{?with_helix:--with-helix} \
        %{?with_mysql:--with-mysql} \
        --disable-final \
        --with-qt-libraries=%{_libdir} \
@@ -214,11 +218,13 @@ echo "want to have a visualizations in amarok."
 %{_datadir}/services/amarok_artsengine_plugin.desktop
 %endif
 
-#%files akode
-#%defattr(644,root,root,755)
-#%{_libdir}/kde3/libamarok_aKode-engine.la
-#%attr(755,root,root) %{_libdir}/kde3/libamarok_aKode-engine.so
-#%{_datadir}/services/amarok_aKode-engine.desktop
+%if %{with akode}
+%files akode
+%defattr(644,root,root,755)
+%{_libdir}/kde3/libamarok_aKode-engine.la
+%attr(755,root,root) %{_libdir}/kde3/libamarok_aKode-engine.so
+%{_datadir}/services/amarok_aKode-engine.desktop
+%endif
 
 %if %{with gstreamer}
 %files gstreamer
@@ -234,6 +240,7 @@ echo "want to have a visualizations in amarok."
 %defattr(644,root,root,755)
 %{_libdir}/kde3/libamarok_xine-engine.la
 %attr(755,root,root) %{_libdir}/kde3/libamarok_xine-engine.so
+%{_datadir}/config.kcfg/xinecfg.kcfg
 %{_datadir}/services/amarok_xine-engine.desktop
 #%{_datadir}/services/amarok_xineengine_plugin.desktop
 %endif
This page took 0.030004 seconds and 4 git commands to generate.