diff options
author | coadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu> | 2014-09-04 02:25:14 -0300 |
---|---|---|
committer | coadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu> | 2014-09-04 02:25:14 -0300 |
commit | fc353061e3e6b3e8542d2000b89ca2ecfc604b1b (patch) | |
tree | 615f9efcdc5cf45213866013e12c2293f69e2a69 /nonprism/amarok/PKGBUILD | |
parent | 0873eff3fe57c9e108ef0cf5f5b700bbb449629a (diff) | |
parent | 448c73d26577be3e04afda7364e3a7b3782b64cc (diff) | |
download | abslibre-fc353061e3e6b3e8542d2000b89ca2ecfc604b1b.tar.gz abslibre-fc353061e3e6b3e8542d2000b89ca2ecfc604b1b.tar.bz2 abslibre-fc353061e3e6b3e8542d2000b89ca2ecfc604b1b.zip |
Merge branch 'master' of ssh://lukeshu.com:1863/srv/git/mirror/parabola/abslibre
Diffstat (limited to 'nonprism/amarok/PKGBUILD')
-rw-r--r-- | nonprism/amarok/PKGBUILD | 54 |
1 files changed, 54 insertions, 0 deletions
diff --git a/nonprism/amarok/PKGBUILD b/nonprism/amarok/PKGBUILD new file mode 100644 index 000000000..d9a4013a6 --- /dev/null +++ b/nonprism/amarok/PKGBUILD @@ -0,0 +1,54 @@ +# $Id: PKGBUILD 211520 2014-04-19 11:27:02Z andrea $ +# Maintainer (Arch): Ronald van Haren <ronald@archlinux.org> +# Contributor (Arch): Andrea Scarpino <andrea@archlinux.org> +# Contributor (Arch): damir <damir@archlinux.org> +# Maintainer: André Silva <emulatorman@parabola.nu> + +pkgname=amarok +pkgver=2.8.0 +pkgrel=3.nonprism1 +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}-nonprism) +conflicts=(${pkgname}-nonprism) +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" + 'remove-amazon-references-on-docs.patch') +sha1sums=('e76ccd53c05d57f9457d74cd08c2c41383c00937' + 'eed2616fd1465cd16f86f2e3554e3b34b83557af') + +prepare() { + cd ${srcdir}/${pkgname}-${pkgver} + sed -i '\|amzdownloader|d' utilities/CMakeLists.txt + sed -i '\|amazon|d' src/services/CMakeLists.txt + patch -Np1 -i ${srcdir}/remove-amazon-references-on-docs.patch + cd .. + mkdir build +} + +build() { + cd build + cmake ../${pkgname}-${pkgver} \ + -DCMAKE_BUILD_TYPE=Release \ + -DKDE4_BUILD_TESTS=OFF \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DWITH_NepomukCore=OFF \ + -DWITH_Soprano=OFF + make +} + +package(){ + cd build + make DESTDIR="${pkgdir}" install +} |