diff options
author | evorster | 2016-06-01 17:21:34 +0200 |
---|---|---|
committer | evorster | 2016-06-01 17:21:34 +0200 |
commit | 9605501cecae5b54cbc4dee6f5e25a62b34b2df2 (patch) | |
tree | 85afa7664f09e704889474712a262f479c972141 /PKGBUILD | |
parent | cd180e034d53d5fb72f90ca948e60d059d6047c5 (diff) | |
download | aur-9605501cecae5b54cbc4dee6f5e25a62b34b2df2.tar.gz |
fix compilation with gcc6. Unfortunately we now need a patch until the git repo is updated
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 15 |
1 files changed, 11 insertions, 4 deletions
@@ -2,7 +2,7 @@ # Maintainer: Maƫl Kerbiriou <mael.kerbiriou-at-free-dot-fr> pkgname=amarok-git -pkgver=v2.8.90.14.g048ca3d +pkgver=v2.8.90.16.ga5df287 pkgrel=1 pkgdesc="The powerful music player for KDE - GIT version" arch=("i686" "x86_64") @@ -22,20 +22,27 @@ conflicts=('amarok' 'amarok2') provides=('amarok') replaces=('amarok-svn' 'amarok2-svn') install="${pkgname}.install" -source=(${pkgname}::git://anongit.kde.org/amarok.git) +#source=(${pkgname}::git://anongit.kde.org/amarok.git) +source=(git://anongit.kde.org/amarok.git) sha1sums=('SKIP') pkgver() { - cd "${pkgname}" + cd amarok git describe --always | sed 's|-|.|g' } +prepare(){ +#cd amarok +pwd; +patch -Np1 <../amarok-git.patch +} + build() { rm -rf build mkdir -p build cd build export PKG_CONFIG_PATH="/usr/lib/ffmpeg2.8/pkgconfig" - cmake "../${pkgname}" -Wno-dev \ + cmake "../amarok" -Wno-dev \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_BUILD_TYPE=Release \ -DKDE4_BUILD_TESTS=OFF \ |