mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-18 22:54:00 +00:00
31 lines
1 KiB
Bash
31 lines
1 KiB
Bash
# Contributor: Andrea Scarpino <andrea@archlinux.org>
|
|
# Contributor: damir <damir@archlinux.org>
|
|
|
|
pkgname=amarok
|
|
replaces=('amarok-base' 'amarok-engine-xine' 'amarok-base-mysqlfree')
|
|
pkgver=2.2.0
|
|
pkgrel=1
|
|
pkgdesc="A media player for KDE"
|
|
arch=('arm')
|
|
url="http://amarok.kde.org"
|
|
license=('GPL2' 'LGPL2' 'FDL')
|
|
depends=('mysql>=5.1.37' 'kdebase-runtime>=4.3' 'libmtp>=0.3.7' 'libgpod>=0.7.2'
|
|
'libmp4v2' 'qtscriptgenerator>=0.1.0' 'taglib-extras>=1.0.1'
|
|
'liblastfm>=0.3.0' 'loudmouth>=1.4.3')
|
|
makedepends=('pkgconfig' 'automoc4' 'cmake')
|
|
install=amarok.install
|
|
source=(http://download.kde.org/stable/${pkgname}/${pkgver}/src/${pkgname}-${pkgver}.tar.bz2)
|
|
md5sums=('5a0188c5eb7d343109b82964942d8eb5')
|
|
|
|
build() {
|
|
cd ${srcdir}
|
|
mkdir build
|
|
cd build
|
|
cmake ../${pkgname}-${pkgver} \
|
|
-DCMAKE_BUILD_TYPE=Release \
|
|
-DCMAKE_SKIP_RPATH=ON \
|
|
-DCMAKE_{SHARED,MODULE,EXE}_LINKER_FLAGS='-Wl,--no-undefined -Wl,--as-needed' \
|
|
-DCMAKE_INSTALL_PREFIX=/usr
|
|
make || return 1
|
|
make DESTDIR=${pkgdir} install || return 1
|
|
}
|