desktop/amarok/PKGBUILD

42 lines
1.3 KiB
Bash
Raw Normal View History

2010-05-31 00:30:09 +08:00
pkgname=amarok
2018-03-07 10:28:55 +08:00
pkgver=2.9.0
pkgrel=1
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=('kde-runtime' 'mariadb' 'qtscriptgenerator' 'taglib-extras' 'liblastfm-qt4' 'ffmpeg' 'libofa'
'qjson' 'libbluray' 'libmygpo-qt')
2017-12-23 07:29:28 +08:00
makedepends=('pkgconfig' 'automoc4' 'cmake' 'libgpod' 'libmtp' 'docbook-xsl' 'mesa' 'clamz' 'loudmouth')
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')
2011-01-16 04:25:57 +08:00
install="${pkgname}.install"
2018-03-07 10:28:55 +08:00
source=("https://download.kde.org/stable/${pkgname}/${pkgver}/src/${pkgname}-${pkgver}.tar.xz")
sha256sums=('e3678de79db36956bc8588b9905726ace1b9188e7fdf89eaea265f1cb03116fd')
2010-05-31 00:30:09 +08:00
build() {
2012-08-22 21:03:59 +08:00
cd "${srcdir}/${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 \
-DKDE4_BUILD_TESTS=OFF \
-DWITH_NepomukCore=OFF \
-DWITH_Soprano=OFF
2010-10-07 06:30:30 +08:00
make
2010-05-31 00:30:09 +08:00
}
package(){
2012-08-22 21:03:59 +08:00
cd "${srcdir}/${pkgname}-${pkgver}/build"
2011-01-16 04:25:57 +08:00
make DESTDIR="${pkgdir}" install
2010-05-31 00:30:09 +08:00
}