bump aur3 branch to current state

This commit is contained in:
arcan1s
2015-06-07 21:20:22 +03:00
parent d8695d0fd1
commit 3003b3d9d7
7 changed files with 67 additions and 4408 deletions

38
yarock-qt5/PKGBUILD Normal file
View File

@ -0,0 +1,38 @@
# Maintainer: Evgeniy Alekseev <arcanis at archlinux dot org>
# Contributor: Košava <kosava at archlinux dot us>
pkgname=yarock-qt5
pkgver=1.1.2
pkgrel=2
pkgdesc="Qt Modern Music Player with collection browse based on cover art"
arch=('i686' 'x86_64')
url="https://launchpad.net/yarock"
license=('GPL3')
makedepends=('cmake' 'mpv')
depends=('qt5-x11extras' 'phonon-qt5' 'taglib')
optdepends=('mpv: alternative (working) engine')
source=("https://launchpad.net/yarock/1.x/${pkgver}/+download/Yarock_${pkgver}_source.tar.gz"
"phonon.patch")
md5sums=('88733d9bed252c132a378dfecb158697'
'd6f84a05159c8b7035723cbdeb6fc611')
prepare() {
patch -p0 -i "${srcdir}/phonon.patch"
}
build() {
mkdir build
cd build
cmake "../Yarock_${pkgver}_source" \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr \
-DENABLE_QT5=1 \
-DENABLE_MPV=ON
make
}
package() {
cd build
make DESTDIR="${pkgdir}" install
}

12
yarock-qt5/phonon.patch Normal file
View File

@ -0,0 +1,12 @@
diff -ruN Yarock_1.1.2_source-orig/src/core/player/phonon/CMakeLists.txt Yarock_1.1.2_source/src/core/player/phonon/CMakeLists.txt
--- Yarock_1.1.2_source-orig/src/core/player/phonon/CMakeLists.txt 2015-05-21 00:42:46.627611703 +0300
+++ Yarock_1.1.2_source/src/core/player/phonon/CMakeLists.txt 2015-05-21 00:43:25.852867232 +0300
@@ -34,7 +34,7 @@
if (ENABLE_QT5)
- INCLUDE_DIRECTORIES( ${PHONON_INCLUDE_DIR}/phonon4qt5 )
+ INCLUDE_DIRECTORIES( /usr/include/phonon4qt5 )
else (ENABLE_QT5)
INCLUDE_DIRECTORIES( ${PHONON_INCLUDES} )
endif (ENABLE_QT5)