summaryrefslogtreecommitdiff
path: root/libre/clementine/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'libre/clementine/PKGBUILD')
-rw-r--r--libre/clementine/PKGBUILD57
1 files changed, 27 insertions, 30 deletions
diff --git a/libre/clementine/PKGBUILD b/libre/clementine/PKGBUILD
index 68db00139..1082bbbb9 100644
--- a/libre/clementine/PKGBUILD
+++ b/libre/clementine/PKGBUILD
@@ -1,4 +1,4 @@
-# $Id: PKGBUILD 163295 2016-02-24 12:02:19Z alucryd $
+# $Id: PKGBUILD 171170 2016-04-16 09:31:33Z alucryd $
# Maintainer (Arch): Maxime Gauduin <alucryd@archlinux.org>
# Contributor (Arch): Stéphane Gaudreault <stephane@archlinux.org>
# Contributor (Arch): BlackEagle <ike.devolder@gmail.com>
@@ -9,36 +9,34 @@
pkgname=clementine
_pkgname=$pkgname-libre
-pkgver=1.2.3
-pkgrel=10.parabola1
+pkgver=1.3
+pkgrel=1.parabola1
pkgdesc='A modern music player and library organizer, without nonfree artwork and Spotify support'
url="http://www.$pkgname-player.org/"
license=('GPL')
arch=('i686' 'x86_64')
replaces=("$_pkgname")
conflicts=("$_pkgname")
-depends=('chromaprint' 'glew' 'gstreamer0.10-base' 'libcdio' 'libgpod'
- 'liblastfm' 'libmtp' 'libmygpo-qt' 'protobuf' 'qca-qt4' 'taglib')
-makedepends=('cmake' 'boost' 'mesa' 'sparsehash')
-optdepends=('gstreamer0.10-base-plugins: "Base" plugin libraries'
- 'gstreamer0.10-good-plugins: "Good" plugin libraries'
- 'gstreamer0.10-bad-plugins: "Bad" plugin libraries'
- 'gstreamer0.10-ugly-plugins: "Ugly" plugin libraries'
- 'gstreamer0.10-ffmpeg: FFmpeg plugin'
+depends=('chromaprint' 'crypto++' 'fftw' 'gcc-libs' 'glew' 'glib2' 'glibc'
+ 'gst-plugins-base-libs' 'gstreamer' 'libcdio' 'libechonest' 'libgl'
+ 'libgpod' 'liblastfm' 'libmtp' 'libpulse' 'libx11' 'protobuf' 'qjson'
+ 'qt4' 'sqlite' 'taglib' 'zlib')
+makedepends=('boost' 'cmake' 'mesa' 'sparsehash')
+optdepends=('gst-plugins-base: "Base" plugin libraries'
+ 'gst-plugins-good: "Good" plugin libraries'
+ 'gst-plugins-bad: "Bad" plugin libraries'
+ 'gst-plugins-ugly: "Ugly" plugin libraries'
+ 'gst-libav: Libav plugin'
'gvfs: Various devices support')
install="${pkgname}.install"
mksource=("${pkgname}-${pkgver}.tar.gz::https://github.com/$pkgname-player/${pkgname^}/archive/${pkgver}.tar.gz")
source=("https://repo.parabola.nu/other/${_pkgname}/${_pkgname}-${pkgver}.tar.gz"
'remove-nonfree-artwork-and-spotify.patch'
- 'moognu.png'
- "${pkgname}-gcc5.1.patch"
- "${pkgname}-udisks-namespace.patch")
-mksha256sums=('7df5650445a005c09f5f0e1a1b0d077037c37ecbe4ee77baf9d45f121308a1bf')
-sha256sums=('30fde23dde610b610d2172e94e4bd87f4a86afaeb4d9b6c8a5be8cbab0502eea'
- '48bfbf42c84ac1891021638627c10780194fcc59eda1c69e157be3aebe8ee10b'
- 'c6918617769152f3617c61f721819e69d03f671b85760b11cfe45abd53955bc4'
- 'b03c190b881520c3233ed8f5804b518e9e699c6f773ab227f36133f422b786e1'
- 'a7c2764576cee303a57e4efe6a5dbd583a66de8a15aee738bd92d4bb21786008')
+ 'moognu.png')
+mksha256sums=('55e8d283ed02e3f2376a88b012cd2003e00fef95a98b6a919d67cb57e96b8617')
+sha256sums=('d036d4ff71bff71baf941e5f3302a5a72a2665a04252d02f2ded5b1ecd0bb880'
+ '8df85540364e62b1b12c818958e83eb079bc203f9ab2a542c97410c7a74aa360'
+ 'c6918617769152f3617c61f721819e69d03f671b85760b11cfe45abd53955bc4')
mksource() {
cd ${pkgname^}-${pkgver}
@@ -58,9 +56,11 @@ prepare() {
rm -rv ext/{$pkgname-spotifyblob,lib${pkgname}-spotifyblob}
# remove Spotify files
- rm -v cmake/SpotifyVersion.cmake
- rm -v data/spotify-attribution.png
rm -v data/icons/svg/spotify.svg
+ rm -v data/providers/{22x22,32x32,48x48}/spotify.png
+ rm -v data/spotify-attribution.png
+ rm -v data/clementine-spotify-public.pem
+ rm -v cmake/SpotifyVersion.cmake
rm -v data/schema/schema-30.sql
rm -v src/{globalsearch/spotifysearchprovider.{cpp,h},internet/spotify{blobdownloader.{cpp,h},server.{cpp,h},service.{cpp,h},settingspage.{cpp,h,ui}}}
@@ -71,17 +71,14 @@ prepare() {
# create a blank file because it's a dependency for Clementine
touch data/schema/schema-30.sql
- patch -Np1 -i ../clementine-gcc5.1.patch
- patch -Np1 -i ../clementine-udisks-namespace.patch
-}
-
-build() {
- cd ${pkgname^}-${pkgver}
-
if [[ -d build ]]; then
rm -rf build
fi
- mkdir build && cd build
+ mkdir build
+}
+
+build() {
+ cd ${pkgname^}-${pkgver}/build
cmake .. \
-DCMAKE_BUILD_TYPE='Release' \