community/clementine to 1.3.1-17

This commit is contained in:
Kevin Mihelich 2018-05-02 12:34:45 +00:00
parent 6d9bfbe2a0
commit 002c764e57

View file

@ -9,7 +9,7 @@
pkgname=clementine pkgname=clementine
pkgver=1.3.1 pkgver=1.3.1
pkgrel=16 pkgrel=17
pkgdesc='A modern music player and library organizer' pkgdesc='A modern music player and library organizer'
url='http://www.clementine-player.org/' url='http://www.clementine-player.org/'
license=('GPL') license=('GPL')
@ -29,12 +29,14 @@ source=("clementine-${pkgver}.tar.gz::https://github.com/clementine-player/Cleme
'clementine-gcc6.patch' 'clementine-gcc6.patch'
'add-missing-functional-includes-5630.patch' 'add-missing-functional-includes-5630.patch'
'clementine-1.3.1-chromaprint-1.4.0.patch' 'clementine-1.3.1-chromaprint-1.4.0.patch'
'clementine-cryptopp6.patch') 'clementine-cryptopp6.patch'
'https://github.com/clementine-player/Clementine/commit/75f9439843a0e9cdc26cd739d5e1dbd93bd974bc.patch')
sha256sums=('f885931a9ab7c88607d07b50c64fcce46fc05f13dd2c0a04188c94eff938f37c' sha256sums=('f885931a9ab7c88607d07b50c64fcce46fc05f13dd2c0a04188c94eff938f37c'
'05bd4dc0138eed084332fa1a688a96858418731f337f54e0d8ab0853123f40ee' '05bd4dc0138eed084332fa1a688a96858418731f337f54e0d8ab0853123f40ee'
'213a1c2eb3f3c1d2904ed855ad851c10705d04cfa20b36b843b60003469fdc1a' '213a1c2eb3f3c1d2904ed855ad851c10705d04cfa20b36b843b60003469fdc1a'
'4cc9c9df599df4a595c6acf4e129a54296c0a8e537627435e3df14e1e95447b0' '4cc9c9df599df4a595c6acf4e129a54296c0a8e537627435e3df14e1e95447b0'
'e9c09dca76ed8fae2ecb089571396c9293f546871fb2f27cc37010dd5cba9e46') 'e9c09dca76ed8fae2ecb089571396c9293f546871fb2f27cc37010dd5cba9e46'
'd4dbd7f09da7a554f86237476b96e3ca097117b7ab2acd706088c72203d8b64f')
prepare() { prepare() {
cd Clementine-${pkgver} cd Clementine-${pkgver}
@ -47,6 +49,8 @@ prepare() {
patch -p1 -i ../clementine-1.3.1-chromaprint-1.4.0.patch patch -p1 -i ../clementine-1.3.1-chromaprint-1.4.0.patch
# Fix build with crypto++ 6.0.0 due to https://github.com/weidai11/cryptopp/issues/442 # Fix build with crypto++ 6.0.0 due to https://github.com/weidai11/cryptopp/issues/442
patch -p1 -i ../clementine-cryptopp6.patch patch -p1 -i ../clementine-cryptopp6.patch
# FS#58413
patch -Np1 -i ../75f9439843a0e9cdc26cd739d5e1dbd93bd974bc.patch
[[ $CARCH == "aarch64" ]] && sed -i 's/fpic/fPIC/' 3rdparty/vreen/vreen/cmake/CommonUtils.cmake [[ $CARCH == "aarch64" ]] && sed -i 's/fpic/fPIC/' 3rdparty/vreen/vreen/cmake/CommonUtils.cmake