Builds but could have some problems launching
Also depends will be revisioned further
Git Clone URL: | https://aur.archlinux.org/amarok.git (read-only, click to copy) |
---|---|
Package Base: | amarok |
Description: | The powerful music player for KDE |
Upstream URL: | https://apps.kde.org/de/amarok/ |
Licenses: | GPL2, FDL, LGPL2.1 |
Submitter: | arojas |
Maintainer: | FabioLolix |
Last Packager: | FabioLolix |
Votes: | 44 |
Popularity: | 1.77 |
First Submitted: | 2018-08-28 13:52 (UTC) |
Last Updated: | 2024-06-02 12:03 (UTC) |
Builds but could have some problems launching
Also depends will be revisioned further
3.0 is released at 29. may 2024 https://apps.kde.org/de/amarok/
I must have copy/pasted badly for my 3.0 pkgbuild. I have corrected it by removing the duplicate/erroneous build function.
@bkmo Why there are two build() functions?
For those that are looking for a 3.0.0 PKGBUILD:
# Maintainer: Fredy García <frealgagu at gmail dot com>
# Contributor: Ronald van Haren <ronald@archlinux.org>
# Contributor: Antonio Rojas <arojas@archlinux.org>
# Contributor: Andrea Scarpino <andrea@archlinux.org>
# Contributor: damir <damir@archlinux.org>
pkgname=amarok
pkgver=3.0.0
pkgrel=1
pkgdesc="The powerful music player for KDE"
arch=("x86_64")
url="http://${pkgname}.kde.org/"
license=("FDL" "GPL2" "LGPL2.1")
depends=("threadweaver5" "qt5-webengine" "phonon-qt5" "qt5-declarative" "qt5-script"
"kcmutils5" "knewstuff5" "ktexteditor5" "kdnssd5" "kirigami2"
"mariadb" "libmariadbclient" "fftw" "liblastfm-qt5" "ffmpeg" "taglib>=2.0" "libofa")
makedepends=("extra-cmake-modules" "kdoctools5" "gdk-pixbuf2" "knotifyconfig5"
"libmtp" "libgpod" "loudmouth" "libmygpo-qt5" "qt5-tools")
optdepends=("libmtp: support for portable media devices"
"ifuse: support for Apple iPod Touch and iPhone"
"libgpod: support for Apple iPod audio devices"
"loudmouth: backend needed by mp3tunes for syncing"
"libmygpo-qt5: gpodder.net Internet Service"
"gmock: tests")
source=(
"https://download.kde.org/stable/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.xz"
)
sha256sums=(
"14a87678305fad76a0a1daca555a6775ffa642e5ebbcccecd91f497093992c1c"
)
prepare() {
cd "${srcdir}/${pkgname}-${pkgver}"
mkdir -p "${srcdir}/${pkgname}-${pkgver}/build"
}
build() {
cd "${srcdir}/${pkgname}-${pkgver}/build"
cmake "${srcdir}/${pkgname}-${pkgver}" \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=lib \
-DBUILD_TESTING=OFF \
-DCMAKE_BUILD_TYPE=Release
make
}
package() {
cd "${srcdir}/${pkgname}-${pkgver}/build"
make DESTDIR="${pkgdir}" install
}
amarok.install
can be deleted since that is already done by a pacman hook by default
Commenting since this is already flagged OOD: v3.0.0 is out https://invent.kde.org/multimedia/amarok/-/tags/v3.0.0
Patch 57 throws an error on 2.9.71 version
/usr/include/taglib-extras/realmediafile.h:113:30: aviso: ‘virtual TagLibExtras::RealMedia::Properties* TagLibExtras::RealMedia::File::audioProperties() const’ can be marked override [-Wsuggest-override] 113 | virtual Properties *audioProperties() const; | ^~~~~~~~~~~~~~~ /usr/include/taglib-extras/realmediafile.h:121:23: aviso: ‘virtual bool TagLibExtras::RealMedia::File::save()’ can be marked override [-Wsuggest-override] 121 | virtual bool save() { return false; } // for now | ^~~~ make[2]: *** [shared/CMakeFiles/amarokshared.dir/build.make:110: shared/CMakeFiles/amarokshared.dir/FileTypeResolver.cpp.o] Error 1 make[1]: *** [CMakeFiles/Makefile2:8098: shared/CMakeFiles/amarokshared.dir/all] Error 2 make: *** [Makefile:136: all] Error 2 ==> ERROR: Se produjo un fallo en build().
There's a PR to fix build with TagLib 2: https://invent.kde.org/multimedia/amarok/-/merge_requests/57 – you can also download a patch from there. It's only been tested on a recent Git clone though, not the 2.9.71 version.
Pinned Comments