desktop/amarok/PKGBUILD

40 lines
1.6 KiB
Bash
Raw Normal View History

2010-05-31 00:30:09 +08:00
pkgname=amarok
pkgver=2.9.70
pkgrel=2
2010-05-31 00:30:09 +08:00
pkgdesc="A media player for KDE"
2013-01-18 10:17:17 +08:00
arch=('x86_64')
2018-03-07 10:28:55 +08:00
url="https://amarok.kde.org"
2012-08-22 21:03:59 +08:00
screenshot="http://amarok.kde.org/files/Amarok-2.6-InDulciJubilo-screenie4.png"
license=('GPL2' 'LGPL2.1' 'FDL')
depends=('qt5-base' 'qt5-quickcontrols2' 'qt5-webengine' 'qt5-declarative' 'qt5-script' 'qt5-svg' 'mariadb' 'taglib-extras' 'ffmpeg'
'libofa' 'libbluray' 'libmygpo-qt5' 'karchive' 'attica-qt5' 'kcodecs' 'kcoreaddons' 'kcrash' 'kdbusaddons' 'kdeclarative' 'kdnssd'
'kglobalaccel' 'kguiaddons' 'ki18n' 'kiconthemes' 'kcmutils' 'kio' 'knewstuff' 'knotifications' 'knotifyconfig' 'kpackage' 'solid' 'ktexteditor'
'threadweaver' 'kwidgetsaddons' 'kwindowsystem' 'kirigami' 'phonon-qt5' 'phonon-qt5-backend-vlc' 'phonon-qt5-backend-gstreamer')
makedepends=('pkgconfig' 'extra-cmake-modules' 'cmake' 'libgpod' 'libmtp' 'docbook-xsl' 'mesa' 'clamz' 'loudmouth' 'liblastfm' 'audiocd-kio')
2010-05-31 00:30:09 +08:00
optdepends=("libgpod: support Apple iPod audio devices"
"libmtp: support for portable media devices"
"ifuse: support for Apple iPod Touch and iPhone"
"clamz: allow to download songs from Amazon.com"
"loudmouth: backend needed by mp3tunes for syncing")
categories=('multimedia')
source=("$pkgname-$pkgver::git+https://github.com/KDE/amarok.git#commit=82018b9fcf681672862bf09099cbd175808869f6")
sha256sums=('SKIP')
2010-05-31 00:30:09 +08:00
build() {
cd $pkgname-$pkgver
2012-03-07 19:45:44 +08:00
2018-03-07 10:44:03 +08:00
mkdir build
2010-10-07 06:30:30 +08:00
cd build
2012-08-22 21:03:59 +08:00
cmake .. \
2010-10-07 06:30:30 +08:00
-DCMAKE_BUILD_TYPE=Release \
2015-01-19 00:33:06 +08:00
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=lib \
-D_BUILD_TESTING=OFF
2010-10-07 06:30:30 +08:00
make
2010-05-31 00:30:09 +08:00
}
package(){
cd $pkgname-$pkgver/build
make DESTDIR=$pkgdir install
2010-05-31 00:30:09 +08:00
}