Date: Sunday, February 23, 2014 @ 16:32:14 Author: alucryd Revision: 106122
upgpkg: clementine 1.2.2-1 Added: clementine/trunk/clementine-unistd.patch Modified: clementine/trunk/PKGBUILD -------------------------+ PKGBUILD | 24 ++++++++++++++++-------- clementine-unistd.patch | 25 +++++++++++++++++++++++++ 2 files changed, 41 insertions(+), 8 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2014-02-23 15:03:15 UTC (rev 106121) +++ PKGBUILD 2014-02-23 15:32:14 UTC (rev 106122) @@ -5,10 +5,10 @@ # Contributor: Dany Martineau <[email protected]> pkgname=clementine -pkgver=1.2.1 -pkgrel=2 -pkgdesc="A music player and library organizer" -url="http://www.clementine-player.org/" +pkgver=1.2.2 +pkgrel=1 +pkgdesc='A modern music player and library organizer' +url='http://www.clementine-player.org/' license=('GPL') arch=('i686' 'x86_64') depends=('chromaprint' 'glew' 'gstreamer0.10-base' 'libcdio' 'libgpod' 'liblastfm' 'libmtp' 'libmygpo-qt' 'protobuf' 'qca-ossl' 'taglib') @@ -19,11 +19,19 @@ 'gstreamer0.10-ugly-plugins: "Ugly" plugin libraries' 'gvfs: Various devices support') install="${pkgname}.install" -source=("http://clementine-player.googlecode.com/files/${pkgname}-${pkgver}.tar.gz") -sha256sums=('db556e8bf230e2535636f5736a62ffe24ce154481fb05123e8395ab4aa64654e') +source=("${pkgname}-${pkgver}.tar.gz::https://github.com/clementine-player/Clementine/archive/${pkgver}.tar.gz" + "${pkgname}-unistd.patch") +sha256sums=('1f674c42f05c476baf74f1dd37b1aa357ff9199e4493173052c856a53e5f0a96' + 'cafb6eaf10ff0853156bd91ccdfd2d163ec20027076e7a6292125eac236cf382') +prepare() { + cd Clementine-${pkgver} + + patch -Np1 -i ../${pkgname}-unistd.patch +} + build() { - cd ${pkgname}-${pkgver} + cd Clementine-${pkgver} if [[ -d build ]]; then rm -rf build @@ -35,7 +43,7 @@ } package() { - cd ${pkgname}-${pkgver}/build + cd Clementine-${pkgver}/build make DESTDIR="${pkgdir}" install } Added: clementine-unistd.patch =================================================================== --- clementine-unistd.patch (rev 0) +++ clementine-unistd.patch 2014-02-23 15:32:14 UTC (rev 106122) @@ -0,0 +1,25 @@ +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 Property changes on: clementine/trunk/clementine-unistd.patch ___________________________________________________________________ Added: svn:executable ## -0,0 +1 ## +* \ No newline at end of property
