summaryrefslogtreecommitdiff
path: root/extra/libmpeg2
diff options
context:
space:
mode:
authorNicolas Reynolds <fauno@kiwwwi.com.ar>2011-08-04 00:20:47 -0300
committerNicolas Reynolds <fauno@kiwwwi.com.ar>2011-08-04 00:20:47 -0300
commit97a74a6a87ccbeb5649f226377d0c10ae824f1e1 (patch)
tree614d5483fcdab0aa6adecc7041c4b872ffb5a293 /extra/libmpeg2
parente8eefc5a3834440246552e54c169abfa0703672e (diff)
parent8c2359e2541f9d1b11443b49d8ea502b3ffea39c (diff)
Merge branch 'master' of ssh://vparabola/home/parabola/abslibre-pre-mips64el
Conflicts: community/unifdef/PKGBUILD extra/gtk2/PKGBUILD extra/libmpeg2/PKGBUILD extra/mesa/PKGBUILD multilib/lib32-libdrm/PKGBUILD multilib/lib32-libdrm/no-pthread-stubs.patch multilib/lib32-mesa/PKGBUILD
Diffstat (limited to 'extra/libmpeg2')
-rw-r--r--extra/libmpeg2/PKGBUILD19
1 files changed, 11 insertions, 8 deletions
diff --git a/extra/libmpeg2/PKGBUILD b/extra/libmpeg2/PKGBUILD
index 81db4f23d..04a3e41d3 100644
--- a/extra/libmpeg2/PKGBUILD
+++ b/extra/libmpeg2/PKGBUILD
@@ -1,16 +1,16 @@
-# $Id: PKGBUILD 8676 2008-08-15 11:02:53Z andyrtr $
+# $Id: PKGBUILD 134269 2011-08-02 18:27:34Z jgc $
# Contributor: Sarah Hay <sarah@archlinux.org>
# Maintainer: Andreas Radke <andyrtr@archlinux.org>
pkgname=libmpeg2
pkgver=0.5.1
-pkgrel=1
-pkgdesc="libmpeg2 is a library for decoding MPEG-1 and MPEG-2 video streams."
+pkgrel=2
+pkgdesc="Library for decoding MPEG-1 and MPEG-2 video streams."
arch=('i686' 'x86_64' 'mips64el')
url="http://libmpeg2.sourceforge.net/"
depends=('glibc')
+makedepends=('sdl' 'libxv')
optdepends=('sdl: requiered for mpeg2dec'
- 'libsm: requiered for mpeg2dec'
'libxv: requiered for mpeg2dec')
source=(http://libmpeg2.sourceforge.net/files/${pkgname}-${pkgver}.tar.gz)
license=('GPL2')
@@ -19,10 +19,13 @@ provides=('mpeg2dec')
md5sums=('0f92c7454e58379b4a5a378485bbd8ef')
build() {
- cd ${srcdir}/${pkgname}-${pkgver}
- ./configure --prefix=/usr --enable-shared --disable-static || return 1
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ sed '/AC_PATH_XTRA/d' -i configure.ac
+ autoreconf --force --install
+
+ ./configure --prefix=/usr --enable-shared --disable-static
make OPT_CFLAGS="${CFLAGS}" \
MPEG2DEC_CFLAGS="${CFLAGS}" \
- LIBMPEG2_CFLAGS="" || return 1
- make DESTDIR=${pkgdir} install || return 1
+ LIBMPEG2_CFLAGS=""
+ make DESTDIR="${pkgdir}" install
}