@bkmo Why there are two build() functions?
Search Criteria
Package Details: amarok 3.1.81-1
Package Actions
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/amarok/ |
Licenses: | GPL2, FDL, LGPL2.1 |
Submitter: | arojas |
Maintainer: | FabioLolix |
Last Packager: | FabioLolix |
Votes: | 46 |
Popularity: | 0.187147 |
First Submitted: | 2018-08-28 13:52 (UTC) |
Last Updated: | 2024-12-17 22:09 (UTC) |
Dependencies (54)
- ffmpeg (ffmpeg-nvcodec-11-1-gitAUR, ffmpeg-amd-full-gitAUR, ffmpeg-cudaAUR, ffmpeg-fullAUR, ffmpeg-decklinkAUR, ffmpeg-headlessAUR, ffmpeg-amd-fullAUR, ffmpeg-libfdk_aacAUR, ffmpeg-obsAUR, ffmpeg-ffplayoutAUR, ffmpeg-full-gitAUR, ffmpeg-gitAUR)
- fftw
- gcc-libs (gcc-libs-gitAUR, gccrs-libs-gitAUR, gcc11-libsAUR, gcc-libs-snapshotAUR)
- gdk-pixbuf2 (gdk-pixbuf2-gitAUR)
- glibc (glibc-gitAUR, glibc-linux4AUR, glibc-eacAUR, glibc-eac-binAUR, glibc-eac-rocoAUR)
- hicolor-icon-theme (hicolor-icon-theme-gitAUR)
- karchive5
- kcmutils5
- kcodecs5
- kcompletion5
- kconfig5
- kconfigwidgets5
- kcoreaddons5
- kcrash5
- kdbusaddons5
- kdnssd5
- kglobalaccel5
- kguiaddons5
- ki18n5
- kiconthemes5
- Show 34 more dependencies...
Required by (0)
Sources (1)
oldherl commented on 2024-05-20 05:52 (UTC)
bkmo commented on 2024-05-14 07:11 (UTC) (edited on 2024-05-22 01:17 (UTC) by bkmo)
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
}
FabioLolix commented on 2024-04-29 21:39 (UTC)
amarok.install
can be deleted since that is already done by a pacman hook by default
FabioLolix commented on 2024-04-29 20:41 (UTC)
Commenting since this is already flagged OOD: v3.0.0 is out https://invent.kde.org/multimedia/amarok/-/tags/v3.0.0
edarblanco commented on 2024-02-28 15:46 (UTC) (edited on 2024-02-28 15:51 (UTC) by edarblanco)
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().
MdN commented on 2024-02-15 23:41 (UTC)
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.
CyberConan commented on 2024-01-31 18:37 (UTC)
Now needs install taglib1 from AUR too.
holunder commented on 2024-01-30 21:47 (UTC)
Fails due to upgrade to taglib 2.0.
Rhinoceros commented on 2023-10-21 00:54 (UTC)
If anyone wants to update their system in the meantime, these are the changes needed for the amarok PKGBUILD.
--- amarok/PKGBUILD.orig 2023-07-06 15:35:27.361972345 +1000
+++ amarok/PKGBUILD 2023-10-21 11:51:44.631709951 +1100
@@ -11,7 +11,7 @@
arch=("x86_64")
url="http://${pkgname}.kde.org/"
license=("FDL" "GPL2" "LGPL2.1")
-depends=("kcmutils" "kdoctools" "kdnssd" "kirigami2" "knewstuff" "ktexteditor" "liblastfm-qt5" "libofa" "mariadb" "phonon-qt5" "qt5-webengine" "taglib-extras" "threadweaver")
+depends=("kcmutils5" "kdoctools5" "kdnssd5" "kirigami2" "knewstuff5" "ktexteditor5" "liblastfm-qt5" "libofa" "mariadb" "phonon-qt5" "qt5-webengine" "taglib-extras" "threadweaver5")
makedepends=("extra-cmake-modules" "gdk-pixbuf2" "git" "knotifyconfig" "qt5-tools" "loudmouth")
optdepends=(
"ifuse: support for Apple iPod Touch and iPhone"
Pinned Comments
FabioLolix commented on 2024-08-03 19:20 (UTC)
I had a problem running the program, something about its database, solved deleting all local files (maybe it was too much yet it worked)