clementine 1.2.3

This commit is contained in:
AlmAck 2014-04-24 20:50:25 +02:00
parent 9f656c552e
commit 824f49f03a
2 changed files with 3 additions and 35 deletions

View File

@ -3,7 +3,7 @@
pkgname=clementine
_pkgname=Clementine
pkgver=1.2.2
pkgver=1.2.3
pkgrel=1
pkgdesc="A modern music player and library organiser and a port of Amarok 1.4, with some features rewritten to take advantage of Qt4."
url="http://www.clementine-player.org/"
@ -20,16 +20,9 @@ optdepends=('gstreamer0.10-base-plugins: for more open formats'
'gstreamer0.10-bad-plugins: for use with "Bad" plugin libraries'
'gstreamer0.10-ugly-plugins: for use with "Ugly" plugin libraries')
categories=('multimedia')
source=("https://github.com/clementine-player/${_pkgname}/archive/${pkgver}.tar.gz"
"${pkgname}-unistd.patch")
sha1sums=('9ab4110ea35185701cfc6b56863c991784c12134'
'edd8d0148cf04ba1321492be208699a9b8007967')
source=("https://github.com/clementine-player/${_pkgname}/archive/${pkgver}.tar.gz")
sha1sums=('2a27eda3a13185ba9f0f7b75dcf7173e6828384a')
prepare() {
cd Clementine-${pkgver}
patch -Np1 -i ../${pkgname}-unistd.patch
}
build() {
cd ${_pkgname}-${pkgver}

View File

@ -1,25 +0,0 @@
diff -rupN Clementine-1.2.2.orig/src/internet/spotifyblobdownloader.cpp Clementine-1.2.2/src/internet/spotifyblobdownloader.cpp
--- Clementine-1.2.2.orig/src/internet/spotifyblobdownloader.cpp 2014-02-23 16:21:49.478100000 +0100
+++ Clementine-1.2.2/src/internet/spotifyblobdownloader.cpp 2014-02-23 16:22:57.048258400 +0100
@@ -32,6 +32,10 @@
#include <QtCrypto>
#endif // HAVE_QCA
+#ifdef Q_OS_LINUX
+ #include <unistd.h>
+#endif
+
const char* SpotifyBlobDownloader::kSignatureSuffix = ".sha1";
diff -rupN Clementine-1.2.2.orig/src/core/utilities.cpp Clementine-1.2.2/src/core/utilities.cpp
--- Clementine-1.2.2.orig/src/core/utilities.cpp 2014-02-23 16:14:06.919406700 +0100
+++ Clementine-1.2.2/src/core/utilities.cpp 2014-02-23 16:16:12.107064900 +0100
@@ -50,6 +50,7 @@
#endif
#ifdef Q_OS_LINUX
+# include <unistd.h>
# include <sys/syscall.h>
#endif
#ifdef Q_OS_DARWIN