summaryrefslogtreecommitdiff
path: root/pcr/ffmpeg-static
diff options
context:
space:
mode:
authorMárcio Alexandre Silva Delgado <coadde@adinet.com.uy>2012-09-26 14:47:43 -0300
committerMárcio Alexandre Silva Delgado <coadde@adinet.com.uy>2012-09-26 14:47:43 -0300
commitf9404aabf6f47252c537d9ac6546d9a0aa0f04e2 (patch)
treeee4a42e09b296cafb7762e0e199b993a6c960ba2 /pcr/ffmpeg-static
parentfaab3d43d0f1e705cfd16a7953f6a7f5b5a1642c (diff)
ffmpeg-static: add package to pcr, needed for zoneminder compilation
Diffstat (limited to 'pcr/ffmpeg-static')
-rw-r--r--pcr/ffmpeg-static/PKGBUILD61
1 files changed, 61 insertions, 0 deletions
diff --git a/pcr/ffmpeg-static/PKGBUILD b/pcr/ffmpeg-static/PKGBUILD
new file mode 100644
index 000000000..592c4a7bf
--- /dev/null
+++ b/pcr/ffmpeg-static/PKGBUILD
@@ -0,0 +1,61 @@
+# $Id$
+# Maintainer : Ionut Biru <ibiru@archlinux.org>
+# Contributor: Tom Newsom <Jeepster@gmx.co.uk>
+# Contributor: Paul Mattal <paul@archlinux.org>
+# Maintainer (Parabola): Márcio Silva <coadde@lavabit.com>
+
+pkgname=ffmpeg-static
+pkgver=0.11.2
+pkgrel=1
+epoch=1
+pkgdesc='Complete and free Internet live audio and video broadcasting solution for GNU/Linux, with static library'
+arch=(i686 x86_64 mips64el)
+url=http://${pkgname%-static}.org/
+license=(GPL)
+depends=(alsa-lib bzip2 gsm lame libpulse libtheora libva libvorbis libvpx opencore-amr openjpeg rtmpdump schroedinger sdl speex v4l-utils x264 xvidcore zlib)
+makedepends=(yasm libvdpau)
+provides=(${pkgname%-static})
+conflicts=(${pkgname%-static})
+source=(http://${pkgname%-static}.org/releases/${pkgname%-static}-$pkgver.tar.bz2)
+md5sums=(93c1908022567b321df74db7214da6ac)
+
+build() {
+ cd ${pkgname%-static}-$pkgver
+
+ ./configure \
+ --prefix=/usr \
+ --enable-libmp3lame \
+ --enable-libvorbis \
+ --enable-libxvid \
+ --enable-libx264 \
+ --enable-libvpx \
+ --enable-libtheora \
+ --enable-libgsm \
+ --enable-libspeex \
+ --enable-postproc \
+ --enable-shared \
+ --enable-x11grab \
+ --enable-libopencore_amrnb \
+ --enable-libopencore_amrwb \
+ --enable-libschroedinger \
+ --enable-libopenjpeg \
+ --enable-librtmp \
+ --enable-libpulse \
+ --enable-libv4l2 \
+ --enable-gpl \
+ --enable-version3 \
+ --enable-runtime-cpudetect \
+ --disable-debug \
+ --enable-static
+ make
+ make tools/qt-faststart
+ make doc/ff{mpeg,play,server}.1
+}
+
+package() {
+ cd ${pkgname%-static}-$pkgver
+ make DESTDIR="$pkgdir" install install-man
+ install -D -m755 tools/qt-faststart "$pkgdir/usr/bin/qt-faststart"
+}
+
+# vim:set ts=2 sw=2 et: