Author: glen Date: Fri Nov 13 10:13:03 2009 GMT Module: packages Tag: HEAD ---- Log message: - new amarok 1.4-like player
---- Files affected: packages/cuberok: cuberok.spec (NONE -> 1.1) (NEW), ffmpeg-headers.patch (NONE -> 1.1) (NEW) ---- Diffs: ================================================================ Index: packages/cuberok/cuberok.spec diff -u /dev/null packages/cuberok/cuberok.spec:1.1 --- /dev/null Fri Nov 13 11:13:03 2009 +++ packages/cuberok/cuberok.spec Fri Nov 13 11:12:58 2009 @@ -0,0 +1,66 @@ +# $Revision$, $Date$ +Summary: Cuberok music player and a collection manager +Name: cuberok +Version: 0.0.11 +Release: 0.1 +License: GPL v3+ +Group: X11/Applications/Multimedia +Source0: http://cuberok.googlecode.com/files/%{name}-%{version}.tar.gz +# Source0-md5: 0b09935acbf8e94645680b5a51081820 +Patch0: ffmpeg-headers.patch +BuildRequires: audiere-devel +BuildRequires: ffmpeg-devel +BuildRequires: gstreamer-devel +BuildRequires: gstreamer-plugins-base-devel +BuildRequires: libstdc++-devel +BuildRequires: phonon-devel +BuildRequires: qt4-build +BuildRequires: taglib-devel +BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) + +%description +Cuberok is a music player and a collection manager based on Qt4. It +has lightweight interface, music collection support and many features, +e.g. music autorating and Last.FM scrobbler. + +%prep +%setup -q +%patch0 -p1 + +%build +qmake-qt4 Cuberok.pro \ + CONFIG+=player_phonon +%{__make} + +%install +rm -rf $RPM_BUILD_ROOT +%{__make} install \ + DESTDIR=$RPM_BUILD_ROOT \ + INSTALL_ROOT=$RPM_BUILD_ROOT%{_prefix} + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(644,root,root,755) +%doc ChangeLog README license.txt +%attr(755,root,root) %{_bindir}/cuberok +%dir %{_libdir}/cuberok +%attr(755,root,root) %{_libdir}/%{name}/libcuberok_style.so +%attr(755,root,root) %{_libdir}/%{name}/libplayer_ffmpeg.so +%attr(755,root,root) %{_libdir}/%{name}/libplayer_gst.so +%attr(755,root,root) %{_libdir}/%{name}/libplayer_phonon.so +%dir %{_datadir}/%{name} +%dir %{_datadir}/%{name}/locale +%lang(ru) %{_datadir}/%{name}/locale/%{name}_ru.qm +%{_desktopdir}/%{name}.desktop +%{_pixmapsdir}/%{name}.xpm + +%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`) +%changelog +* %{date} PLD Team <feedb...@pld-linux.org> +All persons listed below can be reached at <cvs_login>@pld-linux.org + +$Log$ +Revision 1.1 2009/11/13 10:12:58 glen +- new amarok 1.4-like player ================================================================ Index: packages/cuberok/ffmpeg-headers.patch diff -u /dev/null packages/cuberok/ffmpeg-headers.patch:1.1 --- /dev/null Fri Nov 13 11:13:03 2009 +++ packages/cuberok/ffmpeg-headers.patch Fri Nov 13 11:12:58 2009 @@ -0,0 +1,16 @@ +--- cuberok-0.0.11/src/player_ffmpeg.h~ 2009-07-10 09:14:03.000000000 +0300 ++++ cuberok-0.0.11/src/player_ffmpeg.h 2009-11-13 12:00:21.295754017 +0200 +@@ -23,13 +23,8 @@ + #include <QtCore> + #include "player.h" + extern "C" { +-#ifdef WIN32 + #include <libavcodec/avcodec.h> + #include <libavformat/avformat.h> +-#else +-#include <avcodec.h> +-#include <avformat.h> +-#endif + } + + class PlayThread : public QThread ================================================================ _______________________________________________ pld-cvs-commit mailing list pld-cvs-commit@lists.pld-linux.org http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit