blob: 738b40247e6d860dec1d582b389d0b8336f3d1cd (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
|
# Maintainer: Florian Bigard <florian.bigard@gmail.com>
# Thanks to Adria Arrufat <swiftscythe@gmail.com>
pkgname=clementine-qt5-git
pkgver=1.3.1.r497.g4c29c00e1
pkgrel=1
pkgdesc="Experimental Qt5 version of Clementine, a modern music player and library organiser."
arch=('i686' 'x86_64')
license=('GPL')
depends=('gst-plugins-base' 'gst-plugins-good' 'gst-plugins-bad' 'gst-plugins-ugly'
'gst-libav' 'taglib' 'glew' 'desktop-file-utils' 'hicolor-icon-theme'
'qt5-base' 'libechonest-qt5' 'protobuf' 'crypto++' 'chromaprint'
'libmygpo-qt5-git' 'qt5-x11extras')
makedepends=('git' 'boost' 'cmake' 'mesa' 'qt5-tools')
install=clementine.install
# Uncomment next lines to enable all the features
#depends+=('libspotify' 'libgpod' 'liblastfm-qt5' 'sparsehash' 'libcdio' 'libmtp' 'fftw')
optdepends=(
'libspotify: for Spotify support'
'libgpod: for iPhone and iPod Touch support'
'liblastfm-qt5: for LastFM support'
'sparsehash: for cloud support (Dropbox, Google Drive...)'
'libcdio: for CD support'
'libmtp: for MTP support'
'fftw: for moodbar support'
)
url="http://www.clementine-player.org/"
source=('git+https://github.com/clementine-player/Clementine.git#branch=qt5'
'spotify_install.patch' 'spotify_blob.patch')
sha256sums=('SKIP' '05a438fb445790200258c536d396a6bda9df38a9b775d5259421376ec1878786'
'440b7e0b9b70d3e379ec9404eb09c8eca584188d81269904fd57375671a74a8e')
provides=('clementine')
conflicts=('clementine' 'clementine-lxqt' 'clementine-git')
replaces=('clementine' 'clementine-lxqt' 'clementine-git')
pkgver() {
cd Clementine
git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}
prepare() {
cd Clementine
git am --signoff -k < ../spotify_blob.patch
patch -Np0 -i ../spotify_install.patch
}
build() {
mkdir -p build
cd build
# Don't make a release build since it's experimental and we would need debug/info/warning messages
# Add -DCMAKE_BUILD_TYPE=Release if you're an adventurer
cmake "../Clementine" \
-DCMAKE_INSTALL_PREFIX=/usr
make
}
package(){
cd build
make DESTDIR=${pkgdir} install
}
|