aboutsummaryrefslogtreecommitdiffstats
path: root/ffmpeg/PKGBUILD
blob: 929bd59570b9fc785cbaaada8eeec38acf013b00 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
#Maintainer: Zee Eichel  <zee@dracos-linux.org>

pkgname=ffmpeg
pkgver=4.1.3
pkgrel=1
pkgdesc="Complete solution to record, convert and stream audio and video"
arch=('x86_64')
url="http://www.ffmpeg.org/"
license=('GPL3')
depends=('libass' 'fdk-aac' 'freetype' 'lame' 'libtheora' 'libvorbis' 'libvpx' 'opus' 'x264' 'x265' 'yasm'
         'alsa-lib' 'libva' 'libvdpau' 'sdl2' 'fontconfig' 'frei0r-plugins' 'libcdio' 'libwebp' 'opencv'
         'openjpeg' 'gnutls' 'pulseaudio' 'speex' 'texlive' 'v4l-utils' 'xvid' 'util-macros' 'flite' 'gsm' 'libaacplus' 'libbluray'
         'libcaca' 'libcelt' 'libdc1394' 'libdca' 'libiec61883' 'libilbc' 'libmodplug' 'libnut' 'librtmp' 'libssh' 'openal' 'opencore' 'amr'
         'schroedinger' 'twolame' 'vo-aaenc' 'vo-amrwbenc' 'zvbi'
)
source=("http://www.ffmpeg.org/releases/ffmpeg-${pkgver}.tar.xz")

build() {
	cd "${srcdir}/ffmpeg-${pkgver}"

	./configure --prefix=/usr \
		--enable-chromaprint \
		--enable-gpl \
		--enable-libass \
		--enable-libbluray \
		--enable-libcdio \
		--enable-libfdk-aac \
		--enable-libfontconfig \
		--enable-libfreetype \
		--enable-libfribidi \
		--enable-libmp3lame \
		--enable-libopenjpeg \
		--enable-libopus \
		--enable-libpulse \
		--enable-librsvg \
		--enable-librtmp \
		--enable-libsoxr \
		--enable-libspeex \
		--enable-libssh \
		--enable-libtheora \
		--enable-libv4l2 \
		--enable-libvo-amrwbenc \
		--enable-libvorbis \
		--enable-libvpx \
		--enable-libwavpack \
		--enable-libwebp \
		--enable-libx264 \
		--enable-libx265 \
		--enable-libxvid \
		--enable-libxml2 \
		--enable-nonfree \
		--enable-openal \
		--enable-opencl  \
		--enable-opengl \
		--enable-openssl \
		--enable-postproc \
		--enable-shared \
		--enable-vaapi \
		--enable-vdpau \
		--enable-version3 \
		--disable-debug \
		--disable-static

	make
}

package() {
	cd "${srcdir}/ffmpeg-${pkgver}"
	make install DESTDIR="${pkgdir}"
}