# Maintainer: Evgeniy Alekseev # Contributor: Košava pkgname=yarock-qt5 pkgver=1.3.1 pkgrel=1 pkgdesc="Qt Modern Music Player with collection browse based on cover art" arch=('i686' 'x86_64') url="http://seb-apps.github.io/yarock" license=('GPL3') makedepends=('cmake' 'mpv' 'qt5-tools' 'vlc') depends=('htmlcxx' 'qt5-x11extras' 'phonon-qt5' 'taglib>=1.10') optdepends=('mpv: alternative engine' 'vlc: alternative engine') source=("https://launchpad.net/yarock/1.x/${pkgver}/+download/Yarock_${pkgver}_Sources.tar.gz" "phonon.patch") prepare() { rm -rf "build" mkdir "build" # phonon include patch cd "Yarock_${pkgver}_Sources" patch -p1 -i "${srcdir}/phonon.patch" } build() { cd build cmake "../Yarock_${pkgver}_Sources" \ -DCMAKE_BUILD_TYPE=Release \ -DCMAKE_INSTALL_PREFIX=/usr \ -DENABLE_QT5=1 \ -DENABLE_MPV=ON \ -DTAGLIB_MIN_VERSION=1.10 make } package() { cd build make DESTDIR="${pkgdir}" install } sha512sums=('a59837609c5004005360a272b45794143c64373d13c2783f84299ab0b849223aac2be3d87703e1925d66ed4301bcc2e7254228d34f556bce0447d949539acf2e' 'fa1c6ec044862cbdcdd3a4a139829e8bd483bec1111597f598123a36a7f558e82ef57f401947028ee1683b89094c2dd100638657aa4706306c85383f2bf2b74a')