diff options
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 14 |
1 files changed, 10 insertions, 4 deletions
@@ -3,7 +3,7 @@ pkgname=libgroove pkgver=4.3.0 -pkgrel=2 +pkgrel=3 pkgdesc='Library that provides decoding and encoding of audio on a playlist.' arch=(i686 x86_64) url='https://github.com/andrewrk/libgroove' @@ -11,15 +11,21 @@ license=(MIT) depends=(sdl2 chromaprint libebur128) makedepends=(cmake yasm) options=('strip') -source=("https://github.com/andrewrk/libgroove/archive/${pkgver}.tar.gz") -sha256sums=('76f68896f078a9613d420339ef887ca8293884ad2cd0fbc031d89a6af2993636') +source=("https://github.com/andrewrk/libgroove/archive/${pkgver}.tar.gz" + "0001-update-for-ffmpeg-3.0.patch") +sha256sums=('76f68896f078a9613d420339ef887ca8293884ad2cd0fbc031d89a6af2993636' + '444daed8d4a1180eb8ce303470c87c15bd6c28ff90cf145c5db815639c47be08') + prepare() { + cd "${srcdir}/${pkgname}-${pkgver}" + patch -fNp1 -i ../0001-update-for-ffmpeg-3.0.patch + sed \ -e 's|^libdir=$|libdir=/usr/lib|' \ -e 's|^includedir=$|includedir=/usr/include/groove|' \ -e "s|^Version:$|Version: ${pkgver}|" \ - "${srcdir}/${pkgname}-${pkgver}/example/libgroove.pc" \ + example/libgroove.pc \ > "${srcdir}/libgroove.pc" } |