[arch-commits] Commit in cantata/trunk (PKGBUILD)

Antonio Rojas arojas at archlinux.org
Sat Jun 4 08:50:12 UTC 2016


    Date: Saturday, June 4, 2016 @ 10:50:12
  Author: arojas
Revision: 177850

Update to 2.0.1

Modified:
  cantata/trunk/PKGBUILD

----------+
 PKGBUILD |   19 +++++--------------
 1 file changed, 5 insertions(+), 14 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2016-06-04 07:51:02 UTC (rev 177849)
+++ PKGBUILD	2016-06-04 08:50:12 UTC (rev 177850)
@@ -6,8 +6,8 @@
 # Contributor: MisterFred <mister.fred[at]free[dot]fr>
 
 pkgname=cantata
-pkgver=2.0.0
-pkgrel=4
+pkgver=2.0.1
+pkgrel=1
 pkgdesc='Qt5 client for the music player daemon (MPD)'
 arch=(i686 x86_64)
 url='https://github.com/CDrummond/cantata'
@@ -16,19 +16,11 @@
          udisks2 hicolor-icon-theme)
 optdepends=('perl-uri: dynamic playlist' 'mpd: playback' 'ffmpeg: ReplayGain support')
 makedepends=(cmake qt5-tools ffmpeg)
-source=("https://github.com/CDrummond/cantata/releases/download/v$pkgver/$pkgname-$pkgver.tar.bz2"
-        cantata-cxxflags.patch::"https://github.com/CDrummond/cantata/commit/bf353b1c.patch")
-md5sums=('dc7a65145692c5b2cac4c2c8a7c767c5'
-         'df65c35e954a4ddb9891b958fe78a6fe')
+source=("https://github.com/CDrummond/cantata/releases/download/v$pkgver/$pkgname-$pkgver.tar.bz2")
+md5sums=('dacab1b6bf7639e3d46876db8883fbb2')
 
 prepare() {
   mkdir -p build
-
-# Fix build against ffmpeg 3.0
-  sed -e '/audioconvert.h/d' -i $pkgname-$pkgver/replaygain/ffmpeginput.cpp
-# Don't replace CXXFLAGS
-  cd $pkgname-$pkgver
-  patch -p1 -i ../cantata-cxxflags.patch
 }
 
 build() {
@@ -36,8 +28,7 @@
   cmake ../$pkgname-$pkgver \
     -DCMAKE_INSTALL_PREFIX=/usr \
     -DCMAKE_BUILD_TYPE=Release \
-    -DENABLE_TOUCH_SUPPORT=ON \
-    -DCMAKE_POSITION_INDEPENDENT_CODE=ON
+    -DENABLE_TOUCH_SUPPORT=ON
   make
 }
 



More information about the arch-commits mailing list