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

Eric Belanger eric at archlinux.org
Fri Jul 4 03:47:13 UTC 2008


    Date: Thursday, July 3, 2008 @ 23:47:13
  Author: eric
Revision: 4121

upgpkg: libavg 0.7.0-5
    rebuilt against x264 20080625, disabled SMP build

Modified:
  libavg/trunk/PKGBUILD

----------+
 PKGBUILD |   11 +++++++----
 1 file changed, 7 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2008-07-04 00:40:03 UTC (rev 4120)
+++ PKGBUILD	2008-07-04 03:47:13 UTC (rev 4121)
@@ -2,14 +2,14 @@
 # Maintainer: Alexander Baldeck <alexander at archlinux.org>
 pkgname=libavg
 pkgver=0.7.0
-pkgrel=4
+pkgrel=5
 pkgdesc="High-level multimedia platform with a focus on interactive art installations"
 arch=('i686' 'x86_64')
 url="http://www.libavg.de"
-depends=('imagemagick>=6.4.0.2' 'ffmpeg>=20071204-1' 'boost>=1.34.1-2' 'python>=2.5'
+depends=('imagemagick>=6.4.0.2' 'ffmpeg>=20080625' 'boost>=1.34.1-2' 'python>=2.5'
 	 'libdc1394>=2.0.1')
 makedepends=('pkgconfig' 'diffutils' 'libtool' 'autoconf' 'automake')
-options=('!libtool' '!emptydirs')
+options=('!libtool' '!emptydirs' '!makeflags')
 license=('LGPL')
 source=(http://www.libavg.de/${pkgname}-${pkgver}.tar.gz
 	gcc-4.3.patch
@@ -21,6 +21,9 @@
   cd ${startdir}/src/${pkgname}-${pkgver}
   patch -Np0 -i ${startdir}/src/gcc-4.3.patch || return 1
   patch -Np0 -i ${startdir}/src/dc1394-2.0.patch || return 1
+  sed -i 's|ffmpeg/avformat.h|libavformat/avformat.h|' \
+    src/video/{IDemuxer.h,FFMpegDemuxer.h,PacketVideoMsg.h,FFMpegDecoder.h} || return 1
+  sed -i 's|ffmpeg/swscale.h|libswscale/swscale.h|' src/video/FFMpegDecoder.h || return 1
 
   if [ "${CARCH}" = "x86_64" ]; then
     export CFLAGS="${CFLAGS} -fPIC"
@@ -31,7 +34,7 @@
   libtoolize --force --copy || return 1
   aclocal -I ./m4 || return 1
   autoconf || return 1
-  automake || return 1
+  automake --add-missing || return 1
   CXXFLAGS="${CXXFLAGS} -I/usr/include/ImageMagick" ./configure --prefix=/usr \
               --disable-DFB \
               --enable-GL \





More information about the arch-commits mailing list