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: 16
Popularity: 0.002409
First Submitted: 2015-08-12 23:52 (UTC)
Last Updated: 2024-03-27 18:19 (UTC)

Latest Comments

« First ‹ Previous 1 2 3 4 Next › Last »

weltio commented on 2022-02-21 20:45 (UTC)

    In file included from /usr/include/libavcodec/avcodec.h:45,
                    from /build/amarok-git/src/amarok/src/musicbrainz/MusicDNSAudioDecoder.cpp:27:
    /usr/include/libavcodec/packet.h:506:6: note: declared here
    506 | void av_init_packet(AVPacket *pkt);
        |      ^~~~~~~~~~~~~~
    /build/amarok-git/src/amarok/src/musicbrainz/MusicDNSAudioDecoder.cpp:257:30: error: ‘avcodec_decode_audio4’ was not declared in this scope; did you mean ‘avcodec_decode_subtitle2’?
    257 |                 decoderRet = avcodec_decode_audio4( pCodecCtx, decodedFrame, &gotFrame, &avpkt );
        |                              ^~~~~~~~~~~~~~~~~~~~~
        |                              avcodec_decode_subtitle2
    /build/amarok-git/src/amarok/src/musicbrainz/MusicDNSAudioDecoder.cpp:280:9: error: ‘av_free_packet’ was not declared in this scope; did you mean ‘av_new_packet’?
    280 |         av_free_packet( &packet );
        |         ^~~~~~~~~~~~~~
        |         av_new_packet
    /build/amarok-git/src/amarok/src/musicbrainz/MusicDNSAudioDecoder.cpp:286:5: error: ‘av_free_packet’ was not declared in this scope; did you mean ‘av_new_packet’?
    286 |     av_free_packet( &avpkt );
        |     ^~~~~~~~~~~~~~
        |     av_new_packet
    make[2]: *** [src/CMakeFiles/amaroklib.dir/build.make:6678: src/CMakeFiles/amaroklib.dir/musicbrainz/MusicDNSAudioDecoder.cpp.o] Error 1
    make[1]: *** [CMakeFiles/Makefile2:7306: src/CMakeFiles/amaroklib.dir/all] Error 2
    make: *** [Makefile:146: all] Error 2

Bink commented on 2021-04-26 02:18 (UTC)

Has installed, but fails to start. May be an issue opening the MariaDB.


QtWebEngine::initialize() called with QCoreApplication object already created and should be call before. This is depreciated and may fail in the future.
Attribute Qt::AA_ShareOpenGLContexts must be set before QCoreApplication is created.
**********************************************************************************************
** AMAROK WAS STARTED IN NORMAL MODE. IF YOU WANT TO SEE DEBUGGING INFORMATION, PLEASE USE: **
** amarok --debug                                                                           **
**********************************************************************************************
Got ERROR: "Can't open and lock privilege tables: Table 'mysql.servers' doesn't exist" errno: 2000
KCrash: crashing... crashRecursionCounter = 2
KCrash: Application Name = amarok path = /usr/bin pid = 389508
KCrash: Arguments: /usr/bin/amarok 
KCrash: Attempting to start /usr/lib/drkonqi
pa_write() failed while trying to wake up the mainloop: Bad file descriptor
pa_write() failed while trying to wake up the mainloop: Bad file descriptor
pa_write() failed while trying to wake up the mainloop: Bad file descriptor
Invalid write to eventfd: Bad file descriptor
Code should not be reached at ../pulseaudio/src/pulsecore/fdsem.c:199, function pa_fdsem_post(). Aborting.
Unable to start Dr. Konqi
Re-raising signal for core dump handling.
Aborted (core dumped)

malcolm commented on 2020-08-25 18:01 (UTC)

CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
MYSQL_EMBEDDED_LIBRARIES (ADVANCED)
    linked by target "amarok_collection-mysqlcollection" in directory /home/linux/.cache/yay/amarok-git/src/amarok/src/core-impl/collections/db/sql/mysqlcollection
    linked by target "amarok_storage-mysqlestorage" in directory /home/linux/.cache/yay/amarok-git/src/amarok/src/core-impl/storage/sql/mysqlestorage

-- Generating done
CMake Generate step failed.  Build files cannot be regenerated correctly.

avemilia commented on 2020-08-06 04:15 (UTC)

The build fails:

CMake Error at /usr/share/cmake-3.17/Modules/FindPackageHandleStandardArgs.cmake:164 (message):
  Could NOT find KF5 (missing: NotifyConfig) (found suitable version
  "5.72.0", minimum required is "5.41.0")
Call Stack (most recent call first):
  /usr/share/cmake-3.17/Modules/FindPackageHandleStandardArgs.cmake:445 (_FPHSA_FAILURE_MESSAGE)
  /usr/share/ECM/find-modules/FindKF5.cmake:94 (find_package_handle_standard_args)
  CMakeLists.txt:39 (find_package)

evorster commented on 2020-07-14 08:29 (UTC)

The PKGBUILD has been dusted off and updated as per the comments. Also some un-needed dependencies have been removed as per namcap.

Rhinoceros commented on 2020-07-13 07:56 (UTC)

I'm getting the error

fatal: remote error: Please use the https: protocol to connect to anongit

You need to fix the source to

source=(git+https://anongit.kde.org/amarok.git)

Benson commented on 2018-05-28 12:38 (UTC)

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

Fulgen commented on 2018-05-20 12:30 (UTC)

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 (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!