This week only. Pastebin PRO Accounts Christmas Special! Don't miss out!Want more features on Pastebin? Sign Up, it's FREE!
Guest

Untitled

By: skuda on Jul 16th, 2012  |  syntax: None  |  size: 1.48 KB  |  views: 63  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
This paste has a previous version, view the difference. Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. # $Id: PKGBUILD 158782 2012-05-09 17:58:43Z ibiru $
  2.  
  3. pkgname=ffmpeg-local
  4. pkgver=20120509
  5. pkgrel=1
  6. pkgdesc="Complete and free Internet live audio and video broadcasting solution for Linux/Unix"
  7. arch=('i686' 'x86_64')
  8. url="http://ffmpeg.org/"
  9. license=('GPL')
  10. depends=(alsa-lib bzip2 gsm lame libpulse libtheora libva libvorbis libvpx opencore-amr openjpeg rtmpdump schroedinger sdl speex x264 xvidcore zlib)
  11. makedepends=('yasm' 'git' 'libvdpau')
  12. #git clone git://git.videolan.org/ffmpeg.git
  13. source=(ftp://ftp.archlinux.org/other/ffmpeg/ffmpeg-$pkgver.tar.xz)
  14. md5sums=('a35359e424608f369d380f03e4dc9966')
  15.  
  16. build() {
  17.   cd "ffmpeg"
  18.  
  19.   ./configure \
  20.     --prefix=/usr/local \
  21.     --enable-libmp3lame \
  22.     --enable-libvorbis \
  23.     --enable-libxvid \
  24.     --enable-libx264 \
  25.     --enable-libvpx \
  26.     --enable-libtheora \
  27.     --enable-libgsm \
  28.     --enable-libspeex \
  29.     --enable-postproc \
  30.     --enable-shared \
  31.     --enable-x11grab \
  32.     --enable-libopencore_amrnb \
  33.     --enable-libopencore_amrwb \
  34.     --enable-libschroedinger \
  35.     --enable-libopenjpeg \
  36.     --enable-librtmp \
  37.     --enable-libpulse \
  38.     --enable-gpl \
  39.     --enable-version3 \
  40.     --enable-runtime-cpudetect \
  41.     --disable-debug \
  42.     --disable-static
  43.  
  44.   make
  45.   make tools/qt-faststart
  46.   make doc/ff{mpeg,play,server}.1
  47. }
  48.  
  49. package() {
  50.   cd "ffmpeg"
  51.   make DESTDIR="$pkgdir" install install-man
  52.   install -D -m755 tools/qt-faststart "$pkgdir/usr/local/bin/qt-faststart"
  53. }
  54.  
  55. # vim:set ts=2 sw=2 et:
clone this paste RAW Paste Data