summaryrefslogtreecommitdiff
path: root/nonprism
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
parent9ab774845bb1c6510f7a564f2b8ba1503eb2f3a0 (diff)
downloadabslibre-7e5148db4a1f4255d78a6e466be762ecf6d85674.tar.gz
abslibre-7e5148db4a1f4255d78a6e466be762ecf6d85674.tar.bz2
abslibre-7e5148db4a1f4255d78a6e466be762ecf6d85674.zip
amarok-nonprism: add new package to [nonprism]
Diffstat (limited to 'nonprism')
-rw-r--r--nonprism/amarok-nonprism/PKGBUILD51
-rw-r--r--nonprism/amarok-nonprism/amarok.install12
2 files changed, 63 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
+}
diff --git a/nonprism/amarok-nonprism/amarok.install b/nonprism/amarok-nonprism/amarok.install
new file mode 100644
index 000000000..81ce5c4b0
--- /dev/null
+++ b/nonprism/amarok-nonprism/amarok.install
@@ -0,0 +1,12 @@
+post_install() {
+ xdg-icon-resource forceupdate --theme hicolor &> /dev/null
+ update-desktop-database -q
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ post_install
+}