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

Bartłomiej Piotrowski bpiotrowski at nymeria.archlinux.org
Thu Jul 11 14:53:35 UTC 2013


    Date: Thursday, July 11, 2013 @ 16:53:35
  Author: bpiotrowski
Revision: 189925

upgpkg: ffmpeg 1:2.0-1

- upstream release
- enable PIC
- disable asm for i686

Modified:
  ffmpeg/trunk/PKGBUILD

----------+
 PKGBUILD |    9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2013-07-11 14:40:14 UTC (rev 189924)
+++ PKGBUILD	2013-07-11 14:53:35 UTC (rev 189925)
@@ -4,7 +4,7 @@
 # Contributor: Paul Mattal <paul at archlinux.org>
 
 pkgname=ffmpeg
-pkgver=1.2.1
+pkgver=2.0
 pkgrel=1
 epoch=1
 pkgdesc="Complete and free Internet live audio and video broadcasting solution for Linux/Unix"
@@ -19,13 +19,16 @@
       )
 makedepends=('libvdpau' 'yasm')
 source=(http://ffmpeg.org/releases/$pkgname-$pkgver.tar.bz2)
-sha256sums=('0302375c3a64e9c2facfa7cbeb1aa333a39fdf6bbacda228cd48e04bf9ee32ca')
+sha256sums=('940e1bc4f3e185364099b4ba60d4b952615a4232c5641baa3e9f45d4d748130c')
 
+[[ "$CARCH" == i686 ]] && _asm='--disable-asm'
+
 build() {
   cd $pkgname-$pkgver
 
   ./configure \
     --prefix=/usr \
+    $_asm \
     --disable-debug \
     --disable-static \
     --enable-avresample \
@@ -52,13 +55,13 @@
     --enable-libvpx \
     --enable-libx264 \
     --enable-libxvid \
+    --enable-pic \
     --enable-postproc \
     --enable-runtime-cpudetect \
     --enable-shared \
     --enable-vdpau \
     --enable-version3 \
     --enable-x11grab
- 
 
   make
   make tools/qt-faststart




More information about the arch-commits mailing list