core/ffmpeg/PKGBUILD

92 lines
2.5 KiB
Bash
Raw Normal View History

2010-03-14 23:48:48 +08:00
pkgname=ffmpeg
pkgver=3.2.10
pkgrel=1
2016-01-02 12:17:32 +08:00
pkgdesc='Complete solution to record, convert and stream audio and video'
2017-01-16 04:09:37 +08:00
arch=('x86_64')
2016-01-02 12:17:32 +08:00
url='http://ffmpeg.org/'
license=('GPL3' 'custom')
2016-01-02 12:17:32 +08:00
depends=('alsa-lib' 'bzip2' 'fontconfig' 'fribidi' 'gnutls' 'gsm' 'lame'
'libass' 'libbluray' 'libmodplug' 'libpulse' 'libsoxr' 'libssh'
'libtheora' 'libva' 'libvdpau' 'libwebp' 'opencore-amr' 'openjpeg'
'opus' 'schroedinger' 'sdl' 'speex' 'v4l-utils' 'xvidcore' 'zlib'
'dcadec' 'vid.stab' 'libvorbis' 'lame' 'openh264'
2017-06-08 04:02:20 +08:00
'libvpx' 'libx264.so' 'x265' 'libfdk-aac' 'jack' 'libavc1394' 'libiec61883')
2016-01-02 12:17:32 +08:00
makedepends=('hardening-wrapper' 'ladspa' 'libvdpau' 'yasm')
optdepends=('ladspa: LADSPA filters')
#checkdepends=('valgrind')
2016-01-02 12:17:32 +08:00
provides=('libavcodec.so' 'libavdevice.so' 'libavfilter.so' 'libavformat.so'
'libavresample.so' 'libavutil.so' 'libpostproc.so' 'libswresample.so'
'libswscale.so')
source=(http://ffmpeg.org/releases/ffmpeg-${pkgver}.tar.bz2{,.asc})
2016-01-02 12:17:32 +08:00
validpgpkeys=('FCF986EA15E6E293A5644F10B4322F04D67658D8')
sha256sums=('4fbad0a9e1a7984cc4f8748f5e8a8ad643453f95aad9b400074072d71b415adb'
'SKIP')
2010-03-14 23:48:48 +08:00
build() {
2016-01-02 12:17:32 +08:00
cd ${pkgname}-${pkgver}
2010-03-14 23:48:48 +08:00
2016-01-02 12:17:32 +08:00
./configure \
--prefix='/usr' \
--disable-debug \
--disable-static \
--disable-stripping \
--enable-avisynth \
--enable-avresample \
--enable-fontconfig \
--enable-gmp \
2016-01-02 12:17:32 +08:00
--enable-gnutls \
--enable-gpl \
--enable-ladspa \
--enable-libass \
--enable-libbluray \
--enable-libfreetype \
--enable-libfribidi \
--enable-libgsm \
--enable-libiec61883 \
2016-01-02 12:17:32 +08:00
--enable-libmodplug \
--enable-libmp3lame \
--enable-libopencore_amrnb \
--enable-libopencore_amrwb \
--enable-libopenjpeg \
--enable-libopus \
--enable-libpulse \
--enable-libschroedinger \
--enable-libsoxr \
--enable-libspeex \
--enable-libssh \
--enable-libtheora \
--enable-libv4l2 \
--enable-libvidstab \
--enable-libvorbis \
--enable-libvpx \
--enable-libwebp \
--enable-libx264 \
--enable-libx265 \
--enable-libxvid \
--enable-shared \
--enable-version3 \
--enable-x11grab \
--enable-nonfree \
--enable-libfdk-aac \
--enable-libopenh264 \
--enable-libmp3lame
2010-09-11 06:01:28 +08:00
make
make tools/qt-faststart
make doc/ff{mpeg,play,server}.1
}
#check() {
# cd ${pkgname}-${pkgver}
# make check
#}
package() {
2016-01-02 12:17:32 +08:00
cd ${pkgname}-${pkgver}
2012-01-25 08:21:52 +08:00
make DESTDIR="${pkgdir}" install install-man
2016-01-02 12:17:32 +08:00
install -Dm 755 tools/qt-faststart "${pkgdir}"/usr/bin/
2010-03-14 23:48:48 +08:00
}
2016-01-02 12:17:32 +08:00
# vim: ts=2 sw=2 et: