Package Details: amarok-git 2.9.0.r230.ged38fe752f-1

Git Clone URL: (read-only, click to copy)
Package Base: amarok-git
Description: The powerful music player for KDE - GIT version
Upstream URL:
Licenses: GPL2, FDL, LGPL2.1
Conflicts: amarok
Provides: amarok
Submitter: Piezo
Maintainer: sjakub (evorster, z3ntu)
Last Packager: z3ntu
Votes: 11
Popularity: 0.011000
First Submitted: 2015-08-12 23:52
Last Updated: 2018-05-29 14:08

Required by (2)

Sources (1)

Latest Comments

Benson commented on 2018-05-28 12:38

It's not building since liblastfm-qt5 is not found. Can you provide a pkgbuild?

Fulgen commented on 2018-05-20 12:30

git is missing in the makedepends-array, causing the package not to build successfully in a clean chroot.

z3ntu commented on 2018-05-11 11:22

@maintainers: a bit cleanup in the pkgbuild

diff --git a/PKGBUILD b/PKGBUILD
index fa618f7..b36356c 100644
@@ -3,7 +3,7 @@
 # Maintainer: Evert Vorster <evorster-at-gmail-dot-com>

 pkgdesc="The powerful music player for KDE - GIT version"
 arch=("i686" "x86_64")
@@ -12,7 +12,7 @@ license=('GPL2' 'LGPL2.1' 'FDL')
 depends=('kdelibs4support' 'threadweaver' 'plasma-framework'
          'kcmutils' 'knewstuff' 'ktexteditor' 'knotifyconfig' 'kdnssd'
          'libmariadbclient' 'taglib-extras' 'gst-plugins-bad'
-         'qca-qt5' 'liblastfm' 'qjson' 'qt5-webkit' 'ffmpeg' 'gmock')
+         'qca-qt5' 'liblastfm-qt5' 'qt5-webkit' 'ffmpeg')
 makedepends=('pkgconfig' 'extra-cmake-modules' 'kdoctools')
 optdepends=("libgpod: support for Apple iPod audio devices"
            "libmtp: support for portable media devices"
@@ -29,7 +29,7 @@ sha1sums=('SKIP')

 pkgver() {
     cd amarok
-    git describe --always | sed 's|-|.|g'
+    git describe --long | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'

@@ -42,13 +42,10 @@ build() {
     rm -rf build
     mkdir -p build
     cd build
-    cmake "../amarok" -Wno-dev \
+    cmake ../amarok \
         -DCMAKE_INSTALL_PREFIX=/usr \
-        -DCMAKE_BUILD_TYPE=Release \
-        -DWITH_NepomukCore=OFF \
-        -DWITH_Soprano=OFF
+        -DCMAKE_BUILD_TYPE=Release


twa022 commented on 2018-03-17 18:42

Please remove qjson from dependencies - no longer required and change liblastfm (which is built against qt4) dep to liblastfm-qt5


pavbaranov commented on 2018-03-10 07:28

@evorster - Are you really shure, that dependencies in you PKgBUILD are corresponding with amarok's CMakeLists.txt? See:

evorster commented on 2018-03-10 07:05

Hi there. I have merged my amarok-kf5-git package into this one, as that is what happened in the source. It should compile now.

ekce commented on 2017-12-30 10:48

edit: Seems this aur package relies on kde4 libs and won't compile as is. I'm gonna flag it as out of date.

I can't get this to build. I get an error about a missing file. Tried installing kdewebkit but it made no difference.

[ 72%] Building CXX object src/context/applets/info/CMakeFiles/amarok_context_applet_info.dir/InfoApplet.cpp.o
In file included from /tmp/trizen-ekce/amarok-git/src/amarok/src/context/applets/info/InfoApplet.cpp:29:0:
/usr/include/KDE/KGraphicsWebView:1:10: fatal error: ../kgraphicswebview.h: No such file or directory
 #include "../kgraphicswebview.h"
compilation terminated.
make[2]: *** [src/context/applets/info/CMakeFiles/amarok_context_applet_info.dir/build.make:87: src/context/applets/info/CMakeFiles/amarok_context_applet_info.dir/InfoApplet.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:2869: src/context/applets/info/CMakeFiles/amarok_context_applet_info.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
[ 72%] Building CXX object src/core-impl/collections/db/sql/CMakeFiles/amarok-sqlcollection.dir/SqlRegistry_p.cpp.o
[ 72%] Building CXX object src/core-impl/collections/db/sql/CMakeFiles/amarok-sqlcollection.dir/SqlMeta.cpp.o
[ 72%] Building CXX object src/core-impl/collections/upnpcollection/CMakeFiles/amarok_collection-upnpcollection.dir/UpnpQueryMaker.cpp.o
[ 72%] Building CXX object src/core-impl/collections/db/sql/CMakeFiles/amarok-sqlcollection.dir/SqlWriteLabelCapability.cpp.o
[ 72%] Building CXX object src/core-impl/collections/upnpcollection/CMakeFiles/amarok_collection-upnpcollection.dir/UpnpQueryMakerInternal.cpp.o
[ 72%] Building CXX object src/core-impl/collections/db/sql/CMakeFiles/amarok-sqlcollection.dir/SqlScanResultProcessor.cpp.o
[ 72%] Building CXX object src/core-impl/collections/upnpcollection/CMakeFiles/amarok_collection-upnpcollection.dir/UpnpMeta.cpp.o
[ 73%] Building CXX object src/core-impl/collections/upnpcollection/CMakeFiles/amarok_collection-upnpcollection.dir/UpnpCache.cpp.o
[ 73%] Building CXX object src/core-impl/collections/db/sql/CMakeFiles/amarok-sqlcollection.dir/device/massstorage/MassStorageDeviceHandler.cpp.o
[ 73%] Building CXX object src/core-impl/collections/db/sql/CMakeFiles/amarok-sqlcollection.dir/device/nfs/NfsDeviceHandler.cpp.o
[ 73%] Building CXX object src/core-impl/collections/upnpcollection/CMakeFiles/amarok_collection-upnpcollection.dir/UpnpQuery.cpp.o
[ 74%] Building CXX object src/core-impl/collections/db/sql/CMakeFiles/amarok-sqlcollection.dir/device/smb/SmbDeviceHandler.cpp.o
[ 74%] Linking CXX shared module ../../../../lib/
[ 74%] Linking CXX shared library ../../../../../lib/
[ 74%] Built target amarok_collection-upnpcollection
[ 74%] Built target amarok-sqlcollection
make: *** [Makefile:141: all] Error 2
==> ERROR: A failure occurred in build().
:: Unable to build amarok-git - makepkg exited with code: 2

evorster commented on 2016-05-13 11:17

Hi there.

This package does not build against the standard ffmpeg included in Arch. It seems that fairly recently ffmpeg decided to move some of their headers around.

I reported this bug to the Amarok people, but the git repository does not seem to be too active, so I won't be holding my breath for a fix. In the meantime, we can compile amarok against ffmpeg2.8.

We just need to make ffmpeg2.8 a dependency, and then add the following line in the build script before the cmake section:

export PKG_CONFIG_PATH="/usr/lib/ffmpeg2.8/pkgconfig"

I stole this fix from ffmpegthumbs which seemed to suffer from the same problem for a while.