pkgname=clementine-qt5 _pkgname=Clementine pkgver=1.3.1.r428.gabf390729 _pkgver=abf3907 pkgrel=1 pkgdesc="Experimental Qt5 version of Clementine, a modern music player and library organiser." arch=('x86_64') license=('GPL') depends=('gstreamer' 'taglib' 'glew' 'desktop-file-utils' 'hicolor-icon-theme' 'qt5-base' 'libechonest' 'protobuf' 'crypto++' 'chromaprint' 'libmygpo-qt5' 'qt5-x11extras' 'libgpod' 'liblastfm' 'sparsehash' 'libcdio' 'libmtp' 'fftw') makedepends=('git' 'boost' 'cmake' 'mesa' 'qt5-tools' 'gst-libav') install=clementine.install optdepends=('gst-plugins-base: for more open formats' 'gst-plugins-good: for use with "Good" plugin libraries' 'gst-plugins-bad: for use with "Bad" plugin libraries' 'gst-plugins-ugly: for use with "Ugly" plugin libraries' 'libspotify: add support for Spotify, due to license restriction, please build it with ccr yourself' 'dropbox: add support for Dropbox') url="http://www.clementine-player.org/" source=("git+https://github.com/clementine-player/Clementine.git#commit=${_pkgver}") sha256sums=('SKIP') conflicts=('clementine') pkgver() { cd ${srcdir}/${_pkgname} git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g' } prepare() { cd ${srcdir}/${_pkgname} mkdir -p build sed 's,