diff options
Diffstat (limited to 'extra/libmpeg2/PKGBUILD')
-rw-r--r-- | extra/libmpeg2/PKGBUILD | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/extra/libmpeg2/PKGBUILD b/extra/libmpeg2/PKGBUILD index 0e201b092..25960822d 100644 --- a/extra/libmpeg2/PKGBUILD +++ b/extra/libmpeg2/PKGBUILD @@ -1,10 +1,10 @@ -# $Id: PKGBUILD 134269 2011-08-02 18:27:34Z jgc $ +# $Id: PKGBUILD 134366 2011-08-03 07:11:36Z jgc $ # Contributor: Sarah Hay <sarah@archlinux.org> # Maintainer: Andreas Radke <andyrtr@archlinux.org> pkgname=libmpeg2 pkgver=0.5.1 -pkgrel=2 +pkgrel=3 pkgdesc="Library for decoding MPEG-1 and MPEG-2 video streams." arch=('i686' 'x86_64') url="http://libmpeg2.sourceforge.net/" @@ -12,14 +12,18 @@ depends=('glibc') makedepends=('sdl' 'libxv') optdepends=('sdl: requiered for mpeg2dec' 'libxv: requiered for mpeg2dec') -source=(http://libmpeg2.sourceforge.net/files/${pkgname}-${pkgver}.tar.gz) +source=(http://libmpeg2.sourceforge.net/files/${pkgname}-${pkgver}.tar.gz + libmpeg2-0.5.1-gcc4.6.patch) license=('GPL2') options=(!libtool) provides=('mpeg2dec') -md5sums=('0f92c7454e58379b4a5a378485bbd8ef') +md5sums=('0f92c7454e58379b4a5a378485bbd8ef' + '8b36660297e6ffde6aa9733136bff405') build() { cd "${srcdir}/${pkgname}-${pkgver}" + patch -Np1 -i "${srcdir}/libmpeg2-0.5.1-gcc4.6.patch" + sed '/AC_PATH_XTRA/d' -i configure.ac autoreconf --force --install |