summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorAntonio Rojas2018-08-28 13:52:29 +0000
committerAntonio Rojas2018-08-28 13:52:29 +0000
commit8a2c7667ac4a2920dcf4a8b3546b061541e51a60 (patch)
treed84552db5f84cbd431db024d4d986a1bc2abdf4b
parent4c0ec3fa75258cd35bc658b760554c786363e67f (diff)
downloadaur-8a2c7667ac4a2920dcf4a8b3546b061541e51a60.tar.gz
Dropped from repos
-rw-r--r--.SRCINFO47
-rw-r--r--PKGBUILD193
2 files changed, 59 insertions, 181 deletions
diff --git a/.SRCINFO b/.SRCINFO
index d399462174a..bf1ed4dcefe 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,28 +1,39 @@
-# Generated by mksrcinfo v8
-# Tue Dec 15 08:54:00 UTC 2015
pkgbase = amarok
- pkgdesc = The powerful music player for KDE stripped of integrated web services, applets, default scripts, extra languages, and iPod and media devices support.
- pkgver = 2.8.0
- pkgrel = 1
+ pkgdesc = The powerful music player for KDE
+ pkgver = 2.9.0.git20180816
+ pkgrel = 4
url = http://amarok.kde.org/
- install = amarok.install
- arch = i686
arch = x86_64
license = GPL2
license = LGPL2.1
license = FDL
- makedepends = pkgconfig
- makedepends = automoc4
- makedepends = cmake
- depends = kdebase-runtime
+ makedepends = extra-cmake-modules
+ makedepends = loudmouth
+ makedepends = libmtp
+ makedepends = libmygpo-qt5
+ makedepends = gdk-pixbuf2
+ makedepends = libgpod
+ makedepends = git
+ makedepends = knotifyconfig
depends = mariadb
- depends = qtscriptgenerator
depends = taglib-extras
- depends = ffmpeg
- provides = amarok
- conflicts = amarok
- source = http://download.kde.org/stable/amarok/2.8.0/src/amarok-2.8.0.tar.bz2
- sha256sums = f4b89b28f217a6d947e55fb0890de22fad8c404794c6beeb2dcaf2711b4f8ec6
+ depends = libofa
+ depends = kcmutils
+ depends = kdnssd
+ depends = knewstuff
+ depends = kirigami2
+ depends = threadweaver
+ depends = ktexteditor
+ depends = qt5-webengine
+ depends = liblastfm-qt5
+ optdepends = libgpod: support for Apple iPod audio devices
+ optdepends = libmtp: support for portable media devices
+ optdepends = loudmouth: backend needed by mp3tunes for syncing
+ optdepends = ifuse: support for Apple iPod Touch and iPhone
+ optdepends = libmygpo-qt5: gpodder.net Internet Service
+ source = git://git.kde.org/amarok.git#commit=8f5ef80
+ validpgpkeys = D81C0CB38EB725EF6691C385BB463350D6EF31EF
+ sha256sums = SKIP
-pkgname = amarok-light
+pkgname = amarok
diff --git a/PKGBUILD b/PKGBUILD
index 8035c712d04..eb2325d1264 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,176 +1,43 @@
-# Maintainer: Bruno Pagani (a.k.a. ArchangeGabriel) <bruno.n.pagani@gmail.com>
-# Contributor: hbdee <hbdee.arch@gmail.com>
-
-pkgbase=amarok
-pkgname=${pkgbase}-light
-pkgver=2.8.0
-pkgrel=1
-pkgdesc="The powerful music player for KDE stripped of integrated web services, applets, default scripts, extra languages, and iPod and media devices support."
-arch=("i686" "x86_64")
+# $Id: PKGBUILD 332903 2018-08-24 06:37:15Z arojas $
+# Maintainer: Ronald van Haren <ronald@archlinux.org>
+# Maintainer: Antonio Rojas <arojas@archlinux.org>
+# Contributor: Andrea Scarpino <andrea@archlinux.org>
+# Contributor: damir <damir@archlinux.org>
+
+pkgname=amarok
+pkgver=2.9.0.git20180816
+_commit=8f5ef80
+pkgrel=4
+pkgdesc="The powerful music player for KDE"
+arch=(x86_64)
url="http://amarok.kde.org/"
-license=('GPL2' 'LGPL2.1' 'FDL')
-depends=('kdebase-runtime' 'mariadb' 'qtscriptgenerator' 'taglib-extras' 'ffmpeg')
-makedepends=('pkgconfig' 'automoc4' 'cmake') # Add 'libgpod', 'libmtp', 'loudmouth', 'libmygpo-qt', and/or 'clamz' if you require them.
-# Add the optdepend you need
-#optdepends=("libgpod: support for Apple iPod audio devices"
-# "libmtp: support for portable media devices"
-# "loudmouth: backend for Mp3tunes.com integration"
-# "openssl: Mp3tunes.com integration"
-# "ifuse: support for Apple iPod Touch and iPhone"
-# "libmygpo-qt: gpodder.net Internet Service"
-# "liblastfm: LastFM Internet Service"
-# "libofa: Open Fingerprint Architecture library for Musicbrainz and AmpliFIND"
-# "qjson: JSON parser for the Playdar Collection"
-# "clamz: support for downloading songs from Amazon.com"
-# "phonon-gstreamer: alternative backend supports Equalizer and Audio Analyzer Visualization Applet"
-# "kdemultimedia-audiocd-kio: Compact Disc(CD) support")
-conflicts=(${pkgbase})
-provides=(${pkgbase})
-install="${pkgbase}.install"
-source=("http://download.kde.org/stable/${pkgbase}/${pkgver}/src/${pkgbase}-${pkgver}.tar.bz2")
-sha256sums=('f4b89b28f217a6d947e55fb0890de22fad8c404794c6beeb2dcaf2711b4f8ec6')
+license=(GPL2 LGPL2.1 FDL)
+depends=(mariadb taglib-extras libofa kcmutils kdnssd knewstuff kirigami2 threadweaver ktexteditor qt5-webengine liblastfm-qt5)
+makedepends=(extra-cmake-modules loudmouth libmtp libmygpo-qt5 gdk-pixbuf2 libgpod git knotifyconfig)
+optdepends=('libgpod: support for Apple iPod audio devices'
+ 'libmtp: support for portable media devices'
+ 'loudmouth: backend needed by mp3tunes for syncing'
+ 'ifuse: support for Apple iPod Touch and iPhone'
+ 'libmygpo-qt5: gpodder.net Internet Service')
+#source=("http://download.kde.org/stable/$pkgname/$pkgver/src/$pkgname-$pkgver.tar.xz"{,.sig})
+source=(git://git.kde.org/amarok.git#commit=$_commit)
+sha256sums=('SKIP')
+validpgpkeys=(D81C0CB38EB725EF6691C385BB463350D6EF31EF) # Heiko Becker <heirecka@exherbo.org>
prepare() {
-
- # applets
- sed -i '/albums/d' ${pkgbase}-${pkgver}/src/context/applets/CMakeLists.txt
- sed -i '/analyzer/d' ${pkgbase}-${pkgver}/src/context/applets/CMakeLists.txt
- sed -i '/currenttrack/d' ${pkgbase}-${pkgver}/src/context/applets/CMakeLists.txt
- sed -i '/info/d' ${pkgbase}-${pkgver}/src/context/applets/CMakeLists.txt
- sed -i '/labels/d' ${pkgbase}-${pkgver}/src/context/applets/CMakeLists.txt
- sed -i '/lyrics/d' ${pkgbase}-${pkgver}/src/context/applets/CMakeLists.txt
- sed -i '/photos/d' ${pkgbase}-${pkgver}/src/context/applets/CMakeLists.txt
- sed -i '/similarartists/d' ${pkgbase}-${pkgver}/src/context/applets/CMakeLists.txt
- sed -i '/tabs/d' ${pkgbase}-${pkgver}/src/context/applets/CMakeLists.txt
- sed -i '/upcomingevents/d' ${pkgbase}-${pkgver}/src/context/applets/CMakeLists.txt
- sed -i '/wikipedia/d' ${pkgbase}-${pkgver}/src/context/applets/CMakeLists.txt
-
- # engines
- sed -i '/current/d' ${pkgbase}-${pkgver}/src/context/engines/CMakeLists.txt
- sed -i '/info/d' ${pkgbase}-${pkgver}/src/context/engines/CMakeLists.txt
- sed -i '/labels/d' ${pkgbase}-${pkgver}/src/context/engines/CMakeLists.txt
- sed -i '/lyrics/d' ${pkgbase}-${pkgver}/src/context/engines/CMakeLists.txt
- sed -i '/photos/d' ${pkgbase}-${pkgver}/src/context/engines/CMakeLists.txt
- sed -i '/similarartists/d' ${pkgbase}-${pkgver}/src/context/engines/CMakeLists.txt
- sed -i '/tabs/d' ${pkgbase}-${pkgver}/src/context/engines/CMakeLists.txt
- sed -i '/upcomingevents/d' ${pkgbase}-${pkgver}/src/context/engines/CMakeLists.txt
- sed -i '/wikipedia/d' ${pkgbase}-${pkgver}/src/context/engines/CMakeLists.txt
-
- # collections
- sed -i '/audiocd/d' ${pkgbase}-${pkgver}/src/core-impl/collections/CMakeLists.txt
- sed -i '/daap/d' ${pkgbase}-${pkgver}/src/core-impl/collections/CMakeLists.txt
- sed -i '/ipodcollection/d' ${pkgbase}-${pkgver}/src/core-impl/collections/CMakeLists.txt
- sed -i '/mtpcollection/d' ${pkgbase}-${pkgver}/src/core-impl/collections/CMakeLists.txt
- sed -i '/nepomukconnection/d' ${pkgbase}-${pkgver}/src/core-impl/collections/CMakeLists.txt
- sed -i '/playdarcollection/d' ${pkgbase}-${pkgver}/src/core-impl/collections/CMakeLists.txt
- sed -i '/umscollection/d' ${pkgbase}-${pkgver}/src/core-impl/collections/CMakeLists.txt
- sed -i '/upnpcollection/d' ${pkgbase}-${pkgver}/src/core-impl/collections/CMakeLists.txt
-
- # services
- sed -i '/amazon/d' ${pkgbase}-${pkgver}/src/services/CMakeLists.txt
- sed -i '/ampache/d' ${pkgbase}-${pkgver}/src/services/CMakeLists.txt
- sed -i '/gpodder/d' ${pkgbase}-${pkgver}/src/services/CMakeLists.txt
- sed -i '/jamendo/d' ${pkgbase}-${pkgver}/src/services/CMakeLists.txt
- sed -i '/lastfm/d' ${pkgbase}-${pkgver}/src/services/CMakeLists.txt
- sed -i '/magnatune/d' ${pkgbase}-${pkgver}/src/services/CMakeLists.txt
- sed -i '/mp3tunes/d' ${pkgbase}-${pkgver}/src/services/CMakeLists.txt
- sed -i '/opmldirectory/d' ${pkgbase}-${pkgver}/src/services/CMakeLists.txt
-
- # scripts
- sed -i '/free_music_charts_service/d' ${pkgbase}-${pkgver}/src/scripts/CMakeLists.txt
- sed -i '/librivox_service/d' ${pkgbase}-${pkgver}/src/scripts/CMakeLists.txt
- sed -i '/lyrics_lyricwiki/d' ${pkgbase}-${pkgver}/src/scripts/CMakeLists.txt
- sed -i '/radio_station_service/d' ${pkgbase}-${pkgver}/src/scripts/CMakeLists.txt
-
- # utilities
- sed -i '/amzdownloader/d' ${pkgbase}-${pkgver}/utilities/CMakeLists.txt
-
- # languages
- sed -i '/(bs)/d' ${pkgbase}-${pkgver}/po/CMakeLists.txt
- sed -i '/(ca)/d' ${pkgbase}-${pkgver}/po/CMakeLists.txt
- sed -i '/(ca@valencia)/d' ${pkgbase}-${pkgver}/po/CMakeLists.txt
- sed -i '/(cs)/d' ${pkgbase}-${pkgver}/po/CMakeLists.txt
- sed -i '/(de)/d' ${pkgbase}-${pkgver}/po/CMakeLists.txt
- sed -i '/(da)/d' ${pkgbase}-${pkgver}/po/CMakeLists.txt
- sed -i '/(el)/d' ${pkgbase}-${pkgver}/po/CMakeLists.txt
- sed -i '/(en_GB)/d' ${pkgbase}-${pkgver}/po/CMakeLists.txt
- sed -i '/(es)/d' ${pkgbase}-${pkgver}/po/CMakeLists.txt
- sed -i '/(et)/d' ${pkgbase}-${pkgver}/po/CMakeLists.txt
- sed -i '/(eu)/d' ${pkgbase}-${pkgver}/po/CMakeLists.txt
- sed -i '/(fr)/d' ${pkgbase}-${pkgver}/po/CMakeLists.txt
- sed -i '/(fi)/d' ${pkgbase}-${pkgver}/po/CMakeLists.txt
- sed -i '/(ga)/d' ${pkgbase}-${pkgver}/po/CMakeLists.txt
- sed -i '/(gl)/d' ${pkgbase}-${pkgver}/po/CMakeLists.txt
- sed -i '/(hu)/d' ${pkgbase}-${pkgver}/po/CMakeLists.txt
- sed -i '/(it)/d' ${pkgbase}-${pkgver}/po/CMakeLists.txt
- sed -i '/(ja)/d' ${pkgbase}-${pkgver}/po/CMakeLists.txt
- sed -i '/(lt)/d' ${pkgbase}-${pkgver}/po/CMakeLists.txt
- sed -i '/(lv)/d' ${pkgbase}-${pkgver}/po/CMakeLists.txt
- sed -i '/(nb)/d' ${pkgbase}-${pkgver}/po/CMakeLists.txt
- sed -i '/(nl)/d' ${pkgbase}-${pkgver}/po/CMakeLists.txt
- sed -i '/(pa)/d' ${pkgbase}-${pkgver}/po/CMakeLists.txt
- sed -i '/(pl)/d' ${pkgbase}-${pkgver}/po/CMakeLists.txt
- sed -i '/(pt)/d' ${pkgbase}-${pkgver}/po/CMakeLists.txt
- sed -i '/(pt_BR)/d' ${pkgbase}-${pkgver}/po/CMakeLists.txt
- sed -i '/(ro)/d' ${pkgbase}-${pkgver}/po/CMakeLists.txt
- sed -i '/(ru)/d' ${pkgbase}-${pkgver}/po/CMakeLists.txt
- sed -i '/(sl)/d' ${pkgbase}-${pkgver}/po/CMakeLists.txt
- sed -i '/(sr)/d' ${pkgbase}-${pkgver}/po/CMakeLists.txt
- sed -i '/(sr@ijekavian)/d' ${pkgbase}-${pkgver}/po/CMakeLists.txt
- sed -i '/(sr@ijekavianlatin)/d' ${pkgbase}-${pkgver}/po/CMakeLists.txt
- sed -i '/(sr@latin)/d' ${pkgbase}-${pkgver}/po/CMakeLists.txt
- sed -i '/(sv)/d' ${pkgbase}-${pkgver}/po/CMakeLists.txt
- sed -i '/(tr)/d' ${pkgbase}-${pkgver}/po/CMakeLists.txt
- sed -i '/(uk)/d' ${pkgbase}-${pkgver}/po/CMakeLists.txt
- sed -i '/(zh_CN)/d' ${pkgbase}-${pkgver}/po/CMakeLists.txt
- sed -i '/(zh_TW)/d' ${pkgbase}-${pkgver}/po/CMakeLists.txt
-
- # documentation languages
- sed -i '/(de)/d' ${pkgbase}-${pkgver}/doc/CMakeLists.txt
- sed -i '/(en_US)/d' ${pkgbase}-${pkgver}/doc/CMakeLists.txt
- sed -i '/(es)/d' ${pkgbase}-${pkgver}/doc/CMakeLists.txt
- sed -i '/(et)/d' ${pkgbase}-${pkgver}/doc/CMakeLists.txt
- sed -i '/(nl)/d' ${pkgbase}-${pkgver}/doc/CMakeLists.txt
- sed -i '/(pt)/d' ${pkgbase}-${pkgver}/doc/CMakeLists.txt
- sed -i '/(pt_BR)/d' ${pkgbase}-${pkgver}/doc/CMakeLists.txt
- sed -i '/(ru)/d' ${pkgbase}-${pkgver}/doc/CMakeLists.txt
- sed -i '/(sv)/d' ${pkgbase}-${pkgver}/doc/CMakeLists.txt
- sed -i '/(uk)/d' ${pkgbase}-${pkgver}/doc/CMakeLists.txt
-
- if [[ -d build ]]
- then
- rm -rf build
- fi
- mkdir build
-
+ mkdir -p build
}
build() {
-
cd build
- cmake ../${pkgbase}-${pkgver} \
- -DCMAKE_BUILD_TYPE=Release \
- -DQT_QMAKE_EXECUTABLE=qmake-qt4 \
- -DKDE4_BUILD_TESTS=OFF \
+ cmake ../$pkgname \
-DCMAKE_INSTALL_PREFIX=/usr \
- -DWITH_LibLastFm=OFF \
- -DWITH_MP3Tunes=OFF \
- -DWITH_Mtp=OFF \
- -DWITH_IPOD=OFF \
- -DWITH_LibOFA=OFF \
- -DWITH_QJSON=OFF \
- -DWITH_Mygpo-qt=OFF \
- -DWITH_NepomukCore=OFF \
- -DWITH_Soprano=OFF \
- -DWITH_PLAYGROUND=OFF
+ -DCMAKE_INSTALL_LIBDIR=lib \
+ -DBUILD_TESTING=OFF
make
-
}
-package(){
-
+package() {
cd build
- make DESTDIR="${pkgdir}" install
-
+ make DESTDIR="$pkgdir" install
}
-