+++ /dev/null
-Set LANGUAGES dynamically at build time, this allows easily add new languages
-just by placing .po into src/translations dir
-
-Author: Elan Ruusamäe <glen@delfi.ee>
---- clementine-0.5.3/src/CMakeLists.txt~ 2010-10-20 13:10:28.276756134 +0300
-+++ clementine-0.5.3/src/CMakeLists.txt 2010-10-20 13:10:33.456551043 +0300
-@@ -327,41 +327,12 @@
-
- set(LINGUAS "All" CACHE STRING "A space-seperated list of translations to compile in to Clementine, or \"None\".")
- if (LINGUAS STREQUAL "All")
-- set (LANGUAGES
-- ar
-- bg
-- ca
-- cs
-- da
-- de
-- el
-- en_CA
-- en_GB
-- es
-- fi
-- fr
-- gl
-- hu
-- it
-- kk
-- lt
-- nb
-- nl
-- oc
-- pl
-- pt
-- pt_BR
-- ro
-- ru
-- sk
-- sl
-- sr
-- sv
-- tr
-- uk
-- zh_CN
-- zh_TW
-- )
-+ # build LANGUAGES from all existing .po files
-+ file(GLOB pofiles translations/*.po)
-+ foreach(pofile ${pofiles})
-+ get_filename_component(lang ${pofile} NAME_WE)
-+ list(APPEND LANGUAGES ${lang})
-+ endforeach(pofile)
- else (LINGUAS STREQUAL "All")
- if (NOT LINGUAS OR LINGUAS STREQUAL "None")
- set (LANGUAGES "")
Summary: A music player and library organiser
Summary(hu.UTF-8): Egy zenelejátszó és gyűjtemény-kezelő
Name: clementine
-Version: 0.5.3
-Release: 3
+Version: 0.6
+Release: 0.1
License: GPL v3 and GPL v2+
Group: Applications/Multimedia
URL: http://www.clementine-player.org/
-Source0: http://clementine-player.googlecode.com/files/%{name}-%{version}.tar.gz
-# Source0-md5: 3411a0e31bdab7a6693048e934996f40
+Source0: http://clementine-player.googlecode.com/files/%{name}-%{version}rc1.tar.gz
+# Source0-md5: cbe2b70a8df53b19e5d881a674708c5d
Patch0: desktop-install.patch
Patch1: unbundle-po.patch
-Patch2: build-languages-dynamic.patch
-Patch3: qt-ver.patch
BuildRequires: QtCore-devel >= %{qtver}
BuildRequires: QtDBus-devel >= %{qtver}
BuildRequires: QtGui-devel >= %{qtver}
a Qt4 előnyeit.
%prep
-%setup -q
+%setup -q -n clementine-0.5.90
%patch0 -p1
%patch1 -p1
-%patch2 -p1
-%patch3 -p1
# We already don't use these but just to make sure
rm -rf 3rdparty/gmock
Terminal=false
Categories=AudioVideo;Player;Qt;
StartupNotify=false
---- clementine-0.4/src/CMakeLists.txt 2010-06-28 19:47:58.000000000 +0000
-+++ clementine-0.4/src/CMakeLists.txt 2010-06-29 20:49:41.000000000 +0000
-@@ -546,8 +546,8 @@
- )
+--- clementine-0.5.90/dist/CMakeLists.txt~ 2010-10-24 16:16:44.000000000 +0300
++++ clementine-0.5.90/dist/CMakeLists.txt 2010-12-09 00:20:22.298618631 +0200
+@@ -14,8 +14,8 @@
- install(FILES ../dist/clementine_64.png
+ if (NOT APPLE)
+ install(FILES clementine_64.png
- DESTINATION share/icons/hicolor/64x64/apps/
- RENAME application-x-clementine.png
+ DESTINATION share/pixmaps
+ RENAME clementine.png
)
- install(FILES ../dist/clementine.desktop
+ install(FILES ../data/icon.svg
+++ /dev/null
---- clementine-0.5.3/CMakeLists.txt~ 2010-10-19 14:26:26.098273180 +0300
-+++ clementine-0.5.3/CMakeLists.txt 2010-10-21 15:46:12.957182252 +0300
-@@ -7,7 +7,8 @@
- include(cmake/Deb.cmake)
- include(cmake/Rpm.cmake)
-
--find_package(Qt4 REQUIRED QtCore QtGui QtOpenGL QtSql QtNetwork QtXml)
-+find_package(Qt4 4.5.0 REQUIRED QtCore QtGui QtOpenGL QtSql QtNetwork QtXml)
-+
- if(UNIX AND NOT APPLE)
- find_package(Qt4 REQUIRED QtDbus)
- endif(UNIX AND NOT APPLE)