summaryrefslogtreecommitdiff
path: root/nonprism/amarok-nonprism/PKGBUILD
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@parabola.nu>2014-04-17 16:39:17 -0300
committerAndré Fabian Silva Delgado <emulatorman@parabola.nu>2014-04-17 16:39:17 -0300
commit7e5148db4a1f4255d78a6e466be762ecf6d85674 (patch)
tree99760cc0aae978baf2969fbc7fd110cca0c859c1 /nonprism/amarok-nonprism/PKGBUILD
parent9ab774845bb1c6510f7a564f2b8ba1503eb2f3a0 (diff)
amarok-nonprism: add new package to [nonprism]
Diffstat (limited to 'nonprism/amarok-nonprism/PKGBUILD')
-rw-r--r--nonprism/amarok-nonprism/PKGBUILD51
1 files changed, 51 insertions, 0 deletions
diff --git a/nonprism/amarok-nonprism/PKGBUILD b/nonprism/amarok-nonprism/PKGBUILD
new file mode 100644
index 000000000..03588415a
--- /dev/null
+++ b/nonprism/amarok-nonprism/PKGBUILD
@@ -0,0 +1,51 @@
+# $Id: PKGBUILD 202413 2013-12-21 18:12:28Z andyrtr $
+# Maintainer: Ronald van Haren <ronald@archlinux.org>
+# Contributor: Andrea Scarpino <andrea@archlinux.org>
+# Contributor: damir <damir@archlinux.org>
+# Maintainer (Parabola): André Silva <emulatorman@parabola.nu>
+
+_pkgname=amarok
+pkgname=amarok-nonprism
+pkgver=2.8.0
+pkgrel=2
+pkgdesc="The powerful music player for KDE, without Amazon MP3 store support"
+arch=("i686" "x86_64")
+url="http://amarok.kde.org/"
+license=('GPL2' 'LGPL2.1' 'FDL')
+replaces=$_pkgname
+conflicts=$_pkgname
+provides=$_pkgname=$pkgver
+depends=('kdebase-runtime' 'mariadb' 'qtscriptgenerator' 'taglib-extras'
+ 'liblastfm' 'ffmpeg' 'libofa' 'qjson')
+makedepends=('pkgconfig' 'automoc4' 'cmake' 'libgpod' 'libmtp' 'loudmouth'
+ 'libmygpo-qt' 'mesa')
+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-qt: gpodder.net Internet Service")
+install="${_pkgname}.install"
+source=("http://download.kde.org/stable/${_pkgname}/${pkgver}/src/${_pkgname}-${pkgver}.tar.bz2")
+sha1sums=('e76ccd53c05d57f9457d74cd08c2c41383c00937')
+
+prepare() {
+ cd ${srcdir}/${_pkgname}-${pkgver}
+ sed -i '\|amzdownloader|d' utilities/CMakeLists.txt
+ sed -i '\|amazon|d' src/services/CMakeLists.txt
+ cd ..
+ mkdir build
+}
+
+build() {
+ cd build
+ cmake ../${_pkgname}-${pkgver} \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DKDE4_BUILD_TESTS=OFF \
+ -DCMAKE_INSTALL_PREFIX=/usr
+ make
+}
+
+package(){
+ cd build
+ make DESTDIR="${pkgdir}" install
+}