mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-24 02:22:13 +08:00
[skip-ci] amarok: update to 2.9.70, switched to kf5 build
This commit is contained in:
parent
bb8edfc88a
commit
412337fea6
@ -1,39 +1,40 @@
|
|||||||
pkgname=amarok
|
pkgname=amarok
|
||||||
pkgver=2.9.0
|
pkgver=2.9.70
|
||||||
pkgrel=3
|
pkgrel=1
|
||||||
pkgdesc="A media player for KDE"
|
pkgdesc="A media player for KDE"
|
||||||
arch=('x86_64')
|
arch=('x86_64')
|
||||||
url="https://amarok.kde.org"
|
url="https://amarok.kde.org"
|
||||||
screenshot="http://amarok.kde.org/files/Amarok-2.6-InDulciJubilo-screenie4.png"
|
screenshot="http://amarok.kde.org/files/Amarok-2.6-InDulciJubilo-screenie4.png"
|
||||||
license=('GPL2' 'LGPL2.1' 'FDL')
|
license=('GPL2' 'LGPL2.1' 'FDL')
|
||||||
depends=('kde-runtime' 'mariadb' 'qtscriptgenerator' 'taglib-extras' 'liblastfm-qt4' 'ffmpeg' 'libofa'
|
depends=('qt5-base' 'qt5-quickcontrols2' 'qt5-webengine' 'qt5-declarative' 'qt5-script' 'qt5-svg' 'mariadb' 'taglib-extras' 'ffmpeg'
|
||||||
'qjson' 'libbluray' 'libmygpo-qt')
|
'libofa' 'libbluray' 'libmygpo-qt5' 'karchive' 'attica-qt5' 'kcodecs' 'kcoreaddons' 'kcrash' 'kdbusaddons' 'kdeclarative' 'kdnssd'
|
||||||
makedepends=('pkgconfig' 'automoc4' 'cmake' 'libgpod' 'libmtp' 'docbook-xsl' 'mesa' 'clamz' 'loudmouth')
|
'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')
|
||||||
optdepends=("libgpod: support Apple iPod audio devices"
|
optdepends=("libgpod: support Apple iPod audio devices"
|
||||||
"libmtp: support for portable media devices"
|
"libmtp: support for portable media devices"
|
||||||
"ifuse: support for Apple iPod Touch and iPhone"
|
"ifuse: support for Apple iPod Touch and iPhone"
|
||||||
"clamz: allow to download songs from Amazon.com"
|
"clamz: allow to download songs from Amazon.com"
|
||||||
"loudmouth: backend needed by mp3tunes for syncing")
|
"loudmouth: backend needed by mp3tunes for syncing")
|
||||||
categories=('multimedia')
|
categories=('multimedia')
|
||||||
source=("https://download.kde.org/stable/${pkgname}/${pkgver}/src/${pkgname}-${pkgver}.tar.xz")
|
source=("$pkgname-$pkgver::git+https://github.com/KDE/amarok.git#commit=5d463f47d149391a2303215222105d89528a571a")
|
||||||
sha256sums=('e3678de79db36956bc8588b9905726ace1b9188e7fdf89eaea265f1cb03116fd')
|
sha256sums=('SKIP')
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
cd "${srcdir}/${pkgname}-${pkgver}"
|
cd $pkgname-$pkgver
|
||||||
|
|
||||||
mkdir build
|
mkdir build
|
||||||
cd build
|
cd build
|
||||||
cmake .. \
|
cmake .. \
|
||||||
-DCMAKE_BUILD_TYPE=Release \
|
-DCMAKE_BUILD_TYPE=Release \
|
||||||
-DCMAKE_INSTALL_PREFIX=/usr \
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
||||||
-DKDE4_BUILD_TESTS=OFF \
|
-DCMAKE_INSTALL_LIBDIR=lib \
|
||||||
-DWITH_NepomukCore=OFF \
|
-D_BUILD_TESTING=OFF \
|
||||||
-DWITH_Soprano=OFF \
|
|
||||||
-DWITH_QTWEBKIT=OFF
|
-DWITH_QTWEBKIT=OFF
|
||||||
make
|
make
|
||||||
}
|
}
|
||||||
|
|
||||||
package(){
|
package(){
|
||||||
cd "${srcdir}/${pkgname}-${pkgver}/build"
|
cd $pkgname-$pkgver/build
|
||||||
make DESTDIR="${pkgdir}" install
|
make DESTDIR=$pkgdir install
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user