Date: Monday, April 23, 2018 @ 20:40:08 Author: arojas Revision: 317450
ffmpeg 4 rebuild, use system libebur128 Modified: cantata/trunk/PKGBUILD ----------+ PKGBUILD | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2018-04-23 19:54:38 UTC (rev 317449) +++ PKGBUILD 2018-04-23 20:40:08 UTC (rev 317450) @@ -7,18 +7,20 @@ pkgname=cantata pkgver=2.2.0 -pkgrel=3 +pkgrel=4 pkgdesc='Qt5 client for the music player daemon (MPD)' arch=(x86_64) url='https://github.com/CDrummond/cantata' license=(GPL) -depends=(qt5-svg libmtp libmusicbrainz5 mpg123 vlc taglib-extras media-player-info libcdio-paranoia udisks2) -optdepends=('perl-uri: dynamic playlist' 'mpd: playback' 'ffmpeg: ReplayGain support') -makedepends=(cmake qt5-tools ffmpeg) +depends=(libmtp libmusicbrainz5 mpg123 vlc taglib-extras media-player-info libcdio-paranoia udisks2) +optdepends=('perl-uri: dynamic playlist' 'mpd: playback' 'ffmpeg: ReplayGain support' 'libebur128: ReplayGain support') +makedepends=(cmake qt5-tools ffmpeg libebur128) source=("https://github.com/CDrummond/cantata/releases/download/v$pkgver/$pkgname-$pkgver.tar.bz2" - cantata-qt5.10-crash.patch::"https://github.com/CDrummond/cantata/commit/4da7a912.patch") + cantata-qt5.10-crash.patch::"https://github.com/CDrummond/cantata/commit/4da7a912.patch" + cantata-ffmpeg4.patch::"https://github.com/CDrummond/cantata/commit/ca10b5ff.patch") sha256sums=('c84691eb17711118d3c512d70cb422267f7a137290082cdd1ff0a871b4a8e5c0' - '13f7fc999333b28bc5dc07d8f50c16479c87e606045ef018cf3cc7dac7460305') + '13f7fc999333b28bc5dc07d8f50c16479c87e606045ef018cf3cc7dac7460305' + 'f0305315306a65df51b7d0bb304439d02a38ea6ed4f99f65c0f08314fe366cd9') prepare() { mkdir -p build @@ -25,6 +27,7 @@ cd $pkgname-$pkgver patch -p1 -i ../cantata-qt5.10-crash.patch # Fix crash with Qt 5.10 https://github.com/CDrummond/cantata/issues/1130 + patch -p1 -i ../cantata-ffmpeg4.patch # Fix build with ffmpeg 4 } build() { @@ -31,7 +34,6 @@ cd build cmake ../$pkgname-$pkgver \ -DCMAKE_INSTALL_PREFIX=/usr \ - -DCMAKE_BUILD_TYPE=Release \ -DENABLE_TOUCH_SUPPORT=ON make }
