yarock: update to 1.3.1

This commit is contained in:
Jeff Huang 2018-02-12 01:44:28 +00:00
parent 7cfc4831e3
commit 7490f529ad

View File

@ -1,6 +1,6 @@
pkgname=yarock
_pkgname=Yarock
pkgver=1.3.0
pkgver=1.3.1
pkgrel=1
pkgdesc="A Modern Music Player with collection browser based on cover art."
arch=('x86_64')
@ -11,23 +11,12 @@ depends=('qt5-x11extras' 'taglib' 'phonon' 'phonon-qt5' 'boost' 'htmlcxx' 'qt5-t
makedepends=('cmake' 'mpv')
optdepends=('mpv: alternative (working) engine')
categories=('multimedia')
source=("http://launchpad.net/$pkgname/1.x/$pkgver/+download/${_pkgname}_${pkgver}_Sources.tar.gz"
"qt-build.patch"
"phonon.patch")
sha256sums=('61f7b9b0e4e8da2111fdd0b6b7acb6648c75a472c7ad073fe628074dc1d319c4'
'bee9ea2ca4fa4ac4227515cd4533d0b581f91e6a6297544fe3a6bcfa5dcafb7f'
'2923d2930ba7f1fe4e73ebcbbcae18e9316eb56b1f02132ea89d9d2db3f5c473')
source=("http://launchpad.net/$pkgname/1.x/$pkgver/+download/${_pkgname}_${pkgver}_Sources.tar.gz")
sha256sums=('0b985e501027477ab12878d56ad58c8ce0db4892b57336c6f10d501547a76f47')
prepare() {
rm -rf "build"
mkdir "build"
#seems not needed anymore but better keep them for now
# phonon include patch
# patch -p0 -i "phonon.patch"
# patch to fix build with recent qt5
# patch -p0 -i "qt-build.patch"
}
build() {
@ -36,8 +25,8 @@ build() {
cmake CMakeLists.txt \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr \
-DENABLE_QT5=1 \
-DENABLE_MPV=ON
-DENABLE_MPV=ON \
-DENABLE_PHONON=ON
make
}