2014-02-26 12:48:06 +08:00
|
|
|
# Contributor: abveritas@chakra-project.org
|
|
|
|
# Maintainer: Bruce Liu <brli@users.sourceforge.net>
|
2011-04-18 10:52:18 +08:00
|
|
|
|
2010-03-14 23:48:48 +08:00
|
|
|
pkgname=ffmpeg
|
2014-02-26 12:48:06 +08:00
|
|
|
pkgver=2.1.4
|
2014-03-31 05:01:31 +08:00
|
|
|
pkgrel=2
|
2011-09-15 07:41:35 +08:00
|
|
|
pkgdesc="Complete and free Internet live audio and video broadcasting solution for Linux/Unix"
|
2012-12-07 09:54:45 +08:00
|
|
|
arch=('x86_64')
|
2014-02-26 12:48:06 +08:00
|
|
|
url="http://ffmpeg.org"
|
2011-09-15 07:41:35 +08:00
|
|
|
license=('GPL')
|
2013-03-21 07:25:17 +08:00
|
|
|
depends=('bzip2' 'lame' 'sdl' 'libvorbis' 'xvidcore' 'zlib' 'x264' 'libtheora' 'celt'
|
2012-12-07 09:54:45 +08:00
|
|
|
'opencore-amr' 'alsa-lib' 'libvdpau' 'libxfixes' 'schroedinger' 'libvpx>=1.1.0'
|
2014-01-12 06:27:23 +08:00
|
|
|
'libva' 'openjpeg' 'rtmpdump' 'speex' 'gsm' 'pulseaudio' 'v4l-utils' 'libass'
|
2014-03-31 05:01:31 +08:00
|
|
|
'fontconfig' 'freetype2' 'openal' 'libdc1394' 'libavc1394' 'libcaca' 'libxv')
|
2014-02-26 12:48:06 +08:00
|
|
|
makedepends=('yasm' 'libbluray')
|
|
|
|
optdepends=('libbluray: for Blueray disc playback support')
|
|
|
|
source=("${url}/releases/${pkgname}-${pkgver}.tar.gz"
|
|
|
|
"${url}/releases/${pkgname}-${pkgver}.tar.gz.asc")
|
|
|
|
md5sums=('bf8414a2c4c092330041cfdfe110cd2f'
|
|
|
|
'SKIP')
|
2010-03-14 23:48:48 +08:00
|
|
|
build() {
|
2012-01-25 08:21:52 +08:00
|
|
|
cd "${srcdir}/${pkgname}-${pkgver}"
|
2010-03-14 23:48:48 +08:00
|
|
|
|
2012-01-25 08:21:52 +08:00
|
|
|
./configure --prefix=/usr \
|
2014-01-12 06:27:23 +08:00
|
|
|
--disable-debug \
|
|
|
|
--disable-static \
|
|
|
|
--enable-avresample \
|
|
|
|
--enable-bzlib \
|
|
|
|
--enable-dxva2 \
|
|
|
|
--enable-fontconfig \
|
|
|
|
--enable-gpl \
|
2013-11-16 12:41:18 +08:00
|
|
|
--enable-libass \
|
2014-01-12 06:27:23 +08:00
|
|
|
--enable-libbluray \
|
|
|
|
--enable-libcaca \
|
|
|
|
--enable-libcelt \
|
|
|
|
--enable-libdc1394 \
|
2012-05-20 01:54:11 +08:00
|
|
|
--enable-libgsm \
|
2014-01-12 06:27:23 +08:00
|
|
|
--enable-libmp3lame \
|
2012-01-25 08:21:52 +08:00
|
|
|
--enable-libopencore_amrnb \
|
|
|
|
--enable-libopencore_amrwb \
|
|
|
|
--enable-libopenjpeg \
|
2012-05-20 01:54:11 +08:00
|
|
|
--enable-libpulse \
|
2014-01-12 06:27:23 +08:00
|
|
|
--enable-librtmp \
|
|
|
|
--enable-libschroedinger \
|
2012-01-25 08:21:52 +08:00
|
|
|
--enable-libspeex \
|
2014-01-12 06:27:23 +08:00
|
|
|
--enable-libtheora \
|
2013-03-21 07:25:17 +08:00
|
|
|
--enable-libv4l2 \
|
2014-01-12 06:27:23 +08:00
|
|
|
--enable-libvorbis \
|
|
|
|
--enable-libvpx \
|
|
|
|
--enable-libx264 \
|
|
|
|
--enable-libxvid \
|
|
|
|
--enable-openal \
|
|
|
|
--enable-postproc \
|
|
|
|
--enable-runtime-cpudetect \
|
|
|
|
--enable-shared \
|
|
|
|
--enable-vaapi \
|
|
|
|
--enable-vda \
|
|
|
|
--enable-vdpau \
|
|
|
|
--enable-version3 \
|
|
|
|
--enable-x11grab
|
2010-09-11 06:01:28 +08:00
|
|
|
|
|
|
|
make
|
|
|
|
make tools/qt-faststart
|
|
|
|
make doc/ff{mpeg,play,server}.1
|
2011-11-09 10:27:20 +08:00
|
|
|
}
|
2011-05-10 09:25:04 +08:00
|
|
|
|
2011-11-09 10:27:20 +08:00
|
|
|
package() {
|
2012-01-25 08:21:52 +08:00
|
|
|
cd "${srcdir}/${pkgname}-${pkgver}"
|
|
|
|
make DESTDIR="${pkgdir}" install install-man
|
|
|
|
install -D -m755 tools/qt-faststart "${pkgdir}/usr/bin/qt-faststart"
|
2010-03-14 23:48:48 +08:00
|
|
|
}
|