mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-24 02:22:13 +08:00
42 lines
1.3 KiB
Bash
42 lines
1.3 KiB
Bash
#
|
|
# Apps Packages for Chakra, part of chakra-project.org
|
|
#
|
|
# maintainer Martín González <koteccr[at]gmail[dot]com>
|
|
|
|
pkgname=amarok
|
|
replaces=('amarok-base' 'amarok-engine-xine' 'amarok-base-mysqlfree')
|
|
pkgver=2.7.0
|
|
pkgrel=1
|
|
pkgdesc="A media player for KDE"
|
|
arch=('x86_64')
|
|
url="http://amarok.kde.org"
|
|
screenshot="http://amarok.kde.org/files/Amarok-2.6-InDulciJubilo-screenie4.png"
|
|
license=('GPL2' 'LGPL2' 'FDL')
|
|
depends=('kde-runtime' 'mysql' 'qtscriptgenerator' 'taglib-extras' 'liblastfm' 'ffmpeg' 'libofa'
|
|
'qjson' 'mesa' 'loudmouth')
|
|
makedepends=('pkgconfig' 'automoc4' 'cmake' 'libgpod' 'libmtp' 'docbook-xsl' 'libmygpo-qt' )
|
|
optdepends=("libgpod: support Apple iPod audio devices"
|
|
"libmtp: support for portable media devices"
|
|
"libmygpo-qt: support for gpodder.net"
|
|
"ifuse: support for Apple iPod Touch and iPhone")
|
|
categories=('multimedia')
|
|
install="${pkgname}.install"
|
|
source=("http://mirrors.mit.edu/kde/stable/${pkgname}/${pkgver}/src/${pkgname}-${pkgver}.tar.bz2")
|
|
md5sums=('4ccb750a9e86ce17d4172f770ac7a663')
|
|
|
|
build() {
|
|
cd "${srcdir}/${pkgname}-${pkgver}"
|
|
|
|
mkdir build
|
|
cd build
|
|
cmake .. \
|
|
-DCMAKE_BUILD_TYPE=Release \
|
|
-DCMAKE_INSTALL_PREFIX=/usr
|
|
make
|
|
}
|
|
|
|
package(){
|
|
cd "${srcdir}/${pkgname}-${pkgver}/build"
|
|
make DESTDIR="${pkgdir}" install
|
|
}
|