community/clementine to 1.3.1-21

This commit is contained in:
Kevin Mihelich 2019-03-12 23:40:17 +00:00
parent 20f13e1ade
commit f73147c4a0

View file

@ -8,30 +8,61 @@
pkgname=clementine pkgname=clementine
pkgver=1.3.1 pkgver=1.3.1
pkgrel=20 pkgrel=21
pkgdesc='A modern music player and library organizer' pkgdesc='A modern music player and library organizer'
url='http://www.clementine-player.org/' url=https://www.clementine-player.org/
license=('GPL') license=(GPL)
arch=('x86_64') arch=(x86_64)
depends=('chromaprint' 'crypto++' 'fftw' 'gcc-libs' 'glew' 'glib2' 'glibc' depends=(
'gst-plugins-base-libs' 'gstreamer' 'libcdio' 'libechonest' 'libgl' chromaprint
'libgpod' 'liblastfm' 'libmtp' 'libpulse' 'libx11' 'protobuf' 'qjson' crypto++
'qt4' 'sqlite' 'taglib' 'zlib') fftw
makedepends=('boost' 'cmake' 'git' 'mesa' 'sparsehash') glew
optdepends=('gst-plugins-base: "Base" plugin libraries' glib2
'gst-plugins-good: "Good" plugin libraries' gst-plugins-base-libs
'gst-plugins-bad: "Bad" plugin libraries' gstreamer
'gst-plugins-ugly: "Ugly" plugin libraries' libcdio
'gst-libav: Libav plugin' libechonest
'gvfs: Various devices support') libgl
source=("git+https://github.com/clementine-player/Clementine.git#tag=${pkgver}" libgpod
'clementine-gcc6.patch' liblastfm
'clementine-chromaprint1.4.0.patch' libmtp
'clementine-cryptopp6.patch') libpulse
sha256sums=('SKIP' libx11
'05bd4dc0138eed084332fa1a688a96858418731f337f54e0d8ab0853123f40ee' protobuf
'4cc9c9df599df4a595c6acf4e129a54296c0a8e537627435e3df14e1e95447b0' qjson
'e9c09dca76ed8fae2ecb089571396c9293f546871fb2f27cc37010dd5cba9e46') qt4
sqlite
taglib
zlib
)
makedepends=(
boost
cmake
git
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'
)
source=(
git+https://github.com/clementine-player/Clementine.git#tag=${pkgver}
clementine-gcc6.patch
clementine-chromaprint1.4.0.patch
clementine-cryptopp6.patch
)
sha256sums=(
SKIP
05bd4dc0138eed084332fa1a688a96858418731f337f54e0d8ab0853123f40ee
4cc9c9df599df4a595c6acf4e129a54296c0a8e537627435e3df14e1e95447b0
e9c09dca76ed8fae2ecb089571396c9293f546871fb2f27cc37010dd5cba9e46
)
prepare() { prepare() {
if [[ -d build ]]; then if [[ -d build ]]; then
@ -63,8 +94,8 @@ build() {
cd build cd build
cmake ../Clementine \ cmake ../Clementine \
-DCMAKE_BUILD_TYPE='Release' \ -DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX='/usr'\ -DCMAKE_INSTALL_PREFIX=/usr\
-DCMAKE_CXX_FLAGS="$CXXFLAGS -Wno-catch-value" -DCMAKE_CXX_FLAGS="$CXXFLAGS -Wno-catch-value"
make make
} }