mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-12-08 23:03:46 +00:00
50 lines
1.5 KiB
Bash
50 lines
1.5 KiB
Bash
# $Id: PKGBUILD 36082 2009-04-19 22:51:02Z eric $
|
|
# Contributor: Tom Newsom <Jeepster@gmx.co.uk>
|
|
# Maintainer: Paul Mattal <paul@archlinux.org>
|
|
|
|
pkgname=ffmpeg
|
|
pkgver=0.5
|
|
pkgrel=1
|
|
pkgdesc="Complete and free Internet live audio and video broadcasting solution for Linux/Unix"
|
|
arch=(i686 x86_64)
|
|
url="http://ffmpeg.mplayerhq.hu/"
|
|
license=('GPL')
|
|
depends=('lame' 'sdl' 'libvorbis' 'faad2>=2.7' 'faac' 'xvidcore' 'zlib' 'imlib2' 'x264>=20090416' 'libtheora')
|
|
options=('force')
|
|
#remake snapshot with: svn export svn://svn.mplayerhq.hu/ffmpeg/trunk@14236
|
|
#source=(ftp://ftp.archlinux.org/other/ffmpeg/ffmpeg-${pkgver}-17395.tar.bz2)
|
|
source=(http://ffmpeg.mplayerhq.hu/releases/ffmpeg-${pkgver}.tar.bz2)
|
|
md5sums=('be8503f15c3b81ba00eb8379ca8dcf33')
|
|
|
|
build() {
|
|
cd "$srcdir/$pkgname-$pkgver" || return 1
|
|
|
|
./configure \
|
|
--prefix=/usr \
|
|
--enable-gpl \
|
|
--enable-libmp3lame \
|
|
--enable-libvorbis \
|
|
--enable-libfaac \
|
|
--enable-libfaad \
|
|
--enable-libxvid \
|
|
--enable-libx264 \
|
|
--enable-libtheora \
|
|
--enable-postproc \
|
|
--enable-shared \
|
|
--enable-pthreads \
|
|
--enable-x11grab \
|
|
--enable-swscale \
|
|
|| return 1
|
|
|
|
make || return 1
|
|
make tools/qt-faststart || return 1
|
|
make doc/ff{mpeg,play,server}.1 || return 1
|
|
|
|
make DESTDIR="$pkgdir" install install-man || return 1
|
|
install -D -m755 tools/qt-faststart "$pkgdir/usr/bin/qt-faststart" || return 1
|
|
|
|
# since makepkg currently declines to strip .a files, do this for now
|
|
strip --strip-debug "$pkgdir"/usr/lib/*.a || return 1
|
|
}
|
|
|
|
# vim:set ts=2 sw=2 et:
|