From 7347bb994a41d021c83e97b503f577f2399302e7 Mon Sep 17 00:00:00 2001 From: root Date: Wed, 22 Jun 2011 23:03:32 +0000 Subject: Wed Jun 22 23:03:32 UTC 2011 --- extra/ffmpeg/PKGBUILD | 54 ++++++++++++++++++++++ extra/ffmpeg/avutils-make-aes-and-sha-public.patch | 37 +++++++++++++++ 2 files changed, 91 insertions(+) create mode 100644 extra/ffmpeg/PKGBUILD create mode 100644 extra/ffmpeg/avutils-make-aes-and-sha-public.patch (limited to 'extra/ffmpeg') diff --git a/extra/ffmpeg/PKGBUILD b/extra/ffmpeg/PKGBUILD new file mode 100644 index 000000000..466fe6629 --- /dev/null +++ b/extra/ffmpeg/PKGBUILD @@ -0,0 +1,54 @@ +# $Id: PKGBUILD 122938 2011-05-07 11:51:04Z ibiru $ +# Maintainer : Ionut Biru +# Contributor: Tom Newsom +# Contributor: Paul Mattal + +pkgname=ffmpeg +pkgver=20110330 +pkgrel=2 +pkgdesc="Complete and free Internet live audio and video broadcasting solution for Linux/Unix" +arch=('i686' 'x86_64') +url="http://ffmpeg.org/" +license=('GPL') +depends=('bzip2' 'lame' 'sdl' 'libvorbis' 'xvidcore' 'zlib' 'x264' 'libtheora' 'opencore-amr' 'alsa-lib' 'libvdpau' 'libxfixes' 'schroedinger' 'libvpx' 'libva' 'openjpeg') +makedepends=('yasm' 'git') +#git clone git://git.videolan.org/ffmpeg.git +source=(ftp://ftp.archlinux.org/other/ffmpeg/${pkgname}-${pkgver}.tar.xz + avutils-make-aes-and-sha-public.patch) +md5sums=('dd682a876a496b9f9ae8afb3b3b70389' + '06eb45335669cb742fdcbea48f0605ce') + +build() { + cd "$srcdir/$pkgname" + + patch -Np1 -i "$srcdir/avutils-make-aes-and-sha-public.patch" + + ./configure \ + --prefix=/usr \ + --enable-libmp3lame \ + --enable-libvorbis \ + --enable-libxvid \ + --enable-libx264 \ + --enable-libvpx \ + --enable-libtheora \ + --enable-postproc \ + --enable-shared \ + --enable-x11grab \ + --enable-libopencore_amrnb \ + --enable-libopencore_amrwb \ + --enable-libschroedinger \ + --enable-libopenjpeg \ + --enable-gpl \ + --enable-version3 \ + --enable-runtime-cpudetect \ + --disable-debug + + make + make tools/qt-faststart + make doc/ff{mpeg,play,server}.1 + + make DESTDIR="$pkgdir" install install-man + install -D -m755 tools/qt-faststart "$pkgdir/usr/bin/qt-faststart" +} + +# vim:set ts=2 sw=2 et: diff --git a/extra/ffmpeg/avutils-make-aes-and-sha-public.patch b/extra/ffmpeg/avutils-make-aes-and-sha-public.patch new file mode 100644 index 000000000..ac10e4f4a --- /dev/null +++ b/extra/ffmpeg/avutils-make-aes-and-sha-public.patch @@ -0,0 +1,37 @@ +From a3a0af4fb1237bed0af75868073f9a63db8b1864 Mon Sep 17 00:00:00 2001 +From: Alexis Ballier +Date: Thu, 7 Apr 2011 10:19:23 -0300 +Subject: [PATCH] avutil: make aes and sha api public + +The functions are already av_ prefixed and sha1 header is already provided. +Install libavutil/{aes,sha}.h + +Signed-off-by: Michael Niedermayer +Signed-off-by: Luca Barbato +--- + libavutil/Makefile | 2 ++ + 1 files changed, 2 insertions(+), 0 deletions(-) + +diff --git a/libavutil/Makefile b/libavutil/Makefile +index 300acb1..baee496 100644 +--- a/libavutil/Makefile ++++ b/libavutil/Makefile +@@ -3,6 +3,7 @@ include $(SUBDIR)../config.mak + NAME = avutil + + HEADERS = adler32.h \ ++ aes.h \ + attributes.h \ + audioconvert.h \ + avassert.h \ +@@ -33,6 +34,7 @@ HEADERS = adler32.h \ + random_seed.h \ + rational.h \ + samplefmt.h \ ++ sha.h \ + sha1.h \ + + BUILT_HEADERS = avconfig.h +-- +1.7.2.5 + -- cgit v1.2.3-54-g00ecf