summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 38285f330435e3b9c1781dd5cbc7c4cc1bcc9ec0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
# Maintainer: Fabio 'Lolix' Loli <fabio.loli@disroot.org> -> https://github.com/FabioLolix
# Contributor: 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="https://apps.kde.org/de/amarok/"
license=(FDL GPL2 LGPL2.1)
depends=(kcmutils5 kdoctools5 kdnssd5 kirigami2 knewstuff5 ktexteditor5 liblastfm-qt5 libofa
         mariadb phonon-qt5 qt5-webengine threadweaver5 taglib)
makedepends=(extra-cmake-modules gdk-pixbuf2 git knotifyconfig5 qt5-tools loudmouth)
optdepends=(
  "ifuse: support for Apple iPod Touch and iPhone"
  "loudmouth: backend needed by mp3tunes for syncing"
)
source=("https://invent.kde.org/multimedia/amarok/-/archive/v${pkgver}/amarok-v${pkgver}.tar.gz")
sha256sums=('8f9ac4fa2090b0ade823b8a372aad534a2d83c923cf235b289b8c358f4b4b9f7')

build() {
  cmake -B build -S "amarok-v${pkgver}" -Wno-dev \
    -DCMAKE_BUILD_TYPE=None \
    -DCMAKE_INSTALL_PREFIX=/usr

  cmake --build build
}

check() {
  #ctest --test-dir build --output-on-failure
true
}

package() {
  DESTDIR="${pkgdir}" cmake --install build
}