# Maintainer: Fredy GarcĂ­a # Contributor: Ronald van Haren # Contributor: Antonio Rojas # Contributor: Andrea Scarpino # Contributor: damir pkgname=amarok pkgver=2.9.0.r245.68a1f0ecdd _commit=68a1f0ecdd16d2d85bfad0963a3abf98b486547d pkgrel=1 pkgdesc="The powerful music player for KDE" arch=(x86_64) url="http://amarok.kde.org/" license=("GPL2" "LGPL2.1" "FDL") depends=("kcmutils" "kdnssd" "kirigami2" "knewstuff" "ktexteditor" "liblastfm-qt5" "libofa" "mariadb" "qt5-webengine" "taglib-extras" "threadweaver") makedepends=("extra-cmake-modules" "gdk-pixbuf2" "git" "knotifyconfig" "libgpod" "libmtp" "libmygpo-qt5" "loudmouth") optdepends=("ifuse: support for Apple iPod Touch and iPhone" "libgpod: support for Apple iPod audio devices" "libmtp: support for portable media devices" "libmygpo-qt5: gpodder.net Internet Service" "loudmouth: backend needed by mp3tunes for syncing") #source=("http://download.kde.org/stable/$pkgname/$pkgver/src/$pkgname-$pkgver.tar.xz"{,.sig}) source=("git://git.kde.org/amarok.git#commit=$_commit") sha256sums=("SKIP") validpgpkeys=("D81C0CB38EB725EF6691C385BB463350D6EF31EF") # Heiko Becker prepare() { mkdir -p "${srcdir}/build" } build() { cd "${srcdir}/build" cmake "../${pkgname}" \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_LIBDIR=lib \ -DBUILD_TESTING=OFF make } package() { cd "${srcdir}/build" make DESTDIR="$pkgdir" install }