Package Details: amarok-git 2.9.71.r377.g9d74990-1

Git Clone URL: https://aur.archlinux.org/amarok-git.git (read-only, click to copy)
Package Base: amarok-git
Description: The powerful music player for KDE
Upstream URL: http://amarok.kde.org
Licenses: GPL2, FDL, LGPL2.1
Conflicts: amarok, taglib-extras
Provides: amarok
Submitter: Piezo
Maintainer: MdN
Last Packager: MdN
Votes: 15
Popularity: 0.000098
First Submitted: 2015-08-12 23:52 (UTC)
Last Updated: 2024-03-27 18:19 (UTC)

Dependencies (34)

Required by (0)

Sources (1)

Latest Comments

« First ‹ Previous 1 2 3 4

z3ntu commented on 2018-05-11 11:22 (UTC) (edited on 2018-05-11 11:22 (UTC) by z3ntu)

@maintainers: a bit cleanup in the pkgbuild

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

 pkgname=amarok-git
-pkgver=v2.9.0.147.gf96d0d159d
+pkgver=2.9.0.r225.gd98ec3f7a9
 pkgrel=1
 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'
 }

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

     make
 }

twa022 commented on 2018-03-17 18:42 (UTC)

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

Thanks!

pavbaranov commented on 2018-03-10 07:28 (UTC)

@evorster - Are you really shure, that dependencies in you PKgBUILD are corresponding with amarok's CMakeLists.txt? See: https://cgit.kde.org/amarok.git/tree/CMakeLists.txt

evorster commented on 2018-03-10 07:05 (UTC)

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 (UTC) (edited on 2017-12-30 10:55 (UTC) by ekce)

edit: Seems this aur package relies on kde4 libs and won't compile as is. I'm gonna flag it as out of date. https://bbs.archlinux.org/viewtopic.php?id=232448

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/amarok_collection-upnpcollection.so
[ 74%] Linking CXX shared library ../../../../../lib/libamarok-sqlcollection.so
[ 74%] Built target amarok_collection-upnpcollection
[ 74%] Built target amarok-sqlcollection
make: *** [Makefile:141: all] Error 2
==> ERROR: A failure occurred in build().
    Aborting...
:: Unable to build amarok-git - makepkg exited with code: 2

evorster commented on 2016-05-13 11:17 (UTC)

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.