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

Antonio Rojas arojas at archlinux.org
Fri Apr 27 18:26:10 UTC 2018


    Date: Friday, April 27, 2018 @ 18:26:09
  Author: arojas
Revision: 318296

ffmpeg 4.0 rebuild

Modified:
  pianobar/trunk/PKGBUILD

----------+
 PKGBUILD |   13 ++++++++++---
 1 file changed, 10 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2018-04-27 18:21:16 UTC (rev 318295)
+++ PKGBUILD	2018-04-27 18:26:09 UTC (rev 318296)
@@ -6,17 +6,24 @@
 
 pkgname=pianobar
 pkgver=2017.08.30
-pkgrel=3
+pkgrel=4
 pkgdesc="Console-based frontend for Pandora"
 arch=('x86_64')
 url="https://6xq.net/pianobar/"
 license=('MIT')
 depends=('libao' 'ffmpeg' 'curl' 'json-c')
-source=(https://6xq.net/pianobar/$pkgname-$pkgver.tar.bz2{,.asc})
+source=(https://6xq.net/pianobar/$pkgname-$pkgver.tar.bz2{,.asc}
+        pianobar-ffmpeg4.patch::"https://github.com/PromyLOPh/pianobar/commit/38b16f99.patch")
 sha256sums=('ec14db6cf1a7dbc1d8190b5ca0d256021e970587bcdaeb23904d4bca71a04674'
-            'SKIP')
+            'SKIP'
+            'cc90b0f0cd7b02a1a5470af2cb60e5dc6f45bcbc2302faba6502f2f6c9e73bf0')
 validpgpkeys=('017D74E27F5856963801781DF663943E08D8092A') # Lars-Dominik Braun <lars at 6xq.net>
 
+prepare() {
+  cd $pkgname-$pkgver
+  patch -p1 -i ../pianobar-ffmpeg4.patch # Fix build with ffmpeg 4
+}
+
 build() {
   make -C ${pkgname}-${pkgver}
 }



More information about the arch-commits mailing list