summaryrefslogtreecommitdiffstats
path: root/trunk/PKGBUILD
diff options
context:
space:
mode:
authorbpiotrowski <bpiotrowski@eb2447ed-0c53-47e4-bac8-5bc4a241df78>2013-07-11 14:53:35 +0000
committersvntogit <svntogit@nymeria.archlinux.org>2013-07-11 14:53:35 +0000
commitb20b553d74417cae5eb84fc02ab1cfa3ed653f48 (patch)
tree9621c2dbf57aa115a18481bcb19c407fd0345d8d /trunk/PKGBUILD
parent22b0c75a6176134be1de83d95161f7d5834f8cc6 (diff)
upgpkg: ffmpeg 1:2.0-1
- upstream release - enable PIC - disable asm for i686 git-svn-id: file:///srv/repos/svn-packages/svn@189925 eb2447ed-0c53-47e4-bac8-5bc4a241df78
Diffstat (limited to 'trunk/PKGBUILD')
-rw-r--r--trunk/PKGBUILD9
1 files changed, 6 insertions, 3 deletions
diff --git a/trunk/PKGBUILD b/trunk/PKGBUILD
index 5588019c28a..12a601e2dc0 100644
--- a/trunk/PKGBUILD
+++ b/trunk/PKGBUILD
@@ -4,7 +4,7 @@
# Contributor: Paul Mattal <paul@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 @@ depends=(
)
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 @@ build() {
--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

Copyright © 2002-2020 Judd Vinet and Aaron Griffin. The Arch Linux name and logo are recognized trademarks. Some rights reserved. The registered trademark Linux® is used pursuant to a sublicense from LMI, the exclusive licensee of Linus Torvalds, owner of the mark on a world-wide basis.