blob: 463fa98f45c4b3e7608b126fb0798ac0f057a0c3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
|
# $Id: PKGBUILD 5671 2008-07-20 05:09:25Z eric $
# Contributor: Tom Newsom <Jeepster@gmx.co.uk>
# Maintainer: Paul Mattal <paul@archlinux.org>
pkgname=ffmpeg
pkgver=20080715
pkgrel=3
pkgdesc="Complete and free Internet live audio and video broadcasting solution for Linux/Unix"
arch=(i686 x86_64)
url="http://ffmpeg.mplayerhq.hu/"
license=('LGPL')
depends=('lame' 'sdl' 'libvorbis' 'a52dec' 'faad2>=2.6.1' 'faac' 'xvidcore' 'zlib' 'imlib2' 'x264>=20080625' 'libtheora')
#remake snapshot with: svn export svn://svn.mplayerhq.hu/ffmpeg/trunk@14236
source=(ftp://ftp.archlinux.org/other/ffmpeg/ffmpeg-20080715-14236.tar.bz2)
md5sums=('899ee3dd56a779b1152e48a94fde69f0')
build() {
cd "$srcdir/$pkgname" || return 1
./configure \
--prefix=/usr \
--enable-gpl \
--enable-libmp3lame \
--enable-libvorbis \
--enable-libfaac \
--enable-libfaad \
--enable-liba52 \
--enable-libxvid \
--enable-libx264 \
--enable-libtheora \
--enable-postproc \
--enable-shared \
--enable-pthreads \
--enable-x11grab \
--enable-swscale \
|| return 1
make -j 2 || return 1
make doc/ff{mpeg,play,server}.1 || return 1
make DESTDIR="$pkgdir" install || return 1
make DESTDIR="$pkgdir" install-man || return 1
# since makepkg currently declines to strip .a files, do this for now
strip --strip-debug $startdir/pkg/usr/lib/*.a || return 1
}
# vim:set ts=2 sw=2 et:
|