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

Bartłomiej Piotrowski bpiotrowski at nymeria.archlinux.org
Sat Jul 27 16:42:25 UTC 2013


    Date: Saturday, July 27, 2013 @ 18:42:25
  Author: bpiotrowski
Revision: 94592

upgpkg: ffmpeg-compat 1:0.10.7-1

- upstream release

Modified:
  ffmpeg-compat/trunk/PKGBUILD

----------+
 PKGBUILD |   76 +++++++++++++++++++++++++++++++++++--------------------------
 1 file changed, 44 insertions(+), 32 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2013-07-27 15:54:12 UTC (rev 94591)
+++ PKGBUILD	2013-07-27 16:42:25 UTC (rev 94592)
@@ -1,59 +1,71 @@
-# $Id$
-# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
-# Contributor: Ionut Biru <ibiru at archlinux.org>
+# $Id: PKGBUILD 185036 2013-05-10 14:39:15Z bpiotrowski $
+# Maintainer : Ionut Biru <ibiru at archlinux.org>
 # Contributor: Tom Newsom <Jeepster at gmx.co.uk>
 # Contributor: Paul Mattal <paul at archlinux.org>
 
 pkgname=ffmpeg-compat
-pkgver=20120509
-pkgrel=4
-pkgdesc="Complete and free Internet live audio and video broadcasting solution for Linux/Unix"
+pkgver=0.10.7
+pkgrel=1
+epoch=1
+pkgdesc='Complete and free Internet live audio and video broadcasting solution for Linux/Unix'
 arch=('i686' 'x86_64')
-url="http://ffmpeg.org/"
+url='http://ffmpeg.org/'
 license=('GPL')
-depends=(alsa-lib bzip2 gsm lame libpulse libtheora libva libvorbis libvpx opencore-amr openjpeg rtmpdump schroedinger sdl speex x264 xvidcore zlib)
-makedepends=('yasm' 'git' 'libvdpau')
-#git clone git://git.videolan.org/ffmpeg.git
-source=(ftp://ftp.archlinux.org/other/ffmpeg/ffmpeg-$pkgver.tar.xz)
-md5sums=('a35359e424608f369d380f03e4dc9966')
+depends=(
+      'alsa-lib' 'bzip2' 'gsm' 'lame' 'libass'
+      'libmodplug' 'libpulse' 'libtheora' 'libva' 'libvorbis' 'libvpx'
+      'opencore-amr' 'openjpeg' 'rtmpdump' 'schroedinger' 'sdl' 'speex'
+      'v4l-utils' 'x264' 'xvidcore' 'zlib'
+      )
+makedepends=('libvdpau' 'yasm')
+source=(http://ffmpeg.org/releases/ffmpeg-$pkgver.tar.bz2)
+sha256sums=('f5f3fc43e0f7789a3cf8f4f379851a5a838dd652144e5d2ad4fc727387678422')
 
 build() {
-  cd "ffmpeg"
+  cd ffmpeg-$pkgver
 
-  export CFLAGS="$CFLAGS -I/usr/include/openjpeg-1.5"
+  CFLAGS+=" -I/usr/include/openjpeg-1.5" \
   ./configure \
     --prefix=/usr \
     --incdir=/usr/include/ffmpeg-compat \
     --libdir=/usr/lib/ffmpeg-compat \
     --shlibdir=/usr/lib/ffmpeg-compat \
+    --disable-debug \
+    --disable-static \
+    --enable-gpl \
+    --enable-libass \
+    --enable-libfreetype \
+    --enable-libgsm \
+    --enable-libmodplug \
     --enable-libmp3lame \
+    --enable-libopencore_amrnb \
+    --enable-libopencore_amrwb \
+    --enable-libopenjpeg \
+    --enable-libpulse \
+    --enable-librtmp \
+    --enable-libschroedinger \
+    --enable-libspeex \
+    --enable-libtheora \
+    --enable-libv4l2 \
     --enable-libvorbis \
+    --enable-libvpx \
+    --enable-libx264 \
     --enable-libxvid \
-    --enable-libx264 \
-    --enable-libvpx \
-    --enable-libtheora \
-    --enable-libgsm \
-    --enable-libspeex \
     --enable-postproc \
+    --enable-runtime-cpudetect \
     --enable-shared \
-    --enable-x11grab \
-    --enable-libopencore_amrnb \
-    --enable-libopencore_amrwb \
-    --enable-libschroedinger \
-    --enable-libopenjpeg \
-    --enable-librtmp \
-    --enable-libpulse \
-    --enable-gpl \
+    --enable-vdpau \
     --enable-version3 \
-    --enable-runtime-cpudetect \
-    --disable-debug \
-    --disable-static
+    --enable-x11grab
+ 
 
   make
 }
 
 package() {
-  cd "ffmpeg"
+  cd ffmpeg-$pkgver
   make DESTDIR="$pkgdir" install
-  rm -rf $pkgdir/usr/{bin,share}
+  rm -rf "$pkgdir"/usr/share/{ffmpeg,man} "$pkgdir"/usr/bin/{ffmpeg,ffplay,ffprobe,ffserver}
 }
+
+# vim:set ts=2 sw=2 et:




More information about the arch-commits mailing list