-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathorg.ffmpeg.FFmpeg.yaml
More file actions
253 lines (239 loc) · 7.11 KB
/
Copy pathorg.ffmpeg.FFmpeg.yaml
File metadata and controls
253 lines (239 loc) · 7.11 KB
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
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
app-id: org.ffmpeg.FFmpeg
runtime: org.freedesktop.Platform
runtime-version: '18.08'
sdk: org.freedesktop.Sdk
command: ffmpeg
finish-args:
- --filesystem=host
- --share=network
- --env=LD_LIBRARY_PATH="${FLATPAK_DEST}/lib"
cleanup:
- /include
- /lib/pkgconfig
- /lib/*.a
- /lib/*.la
- /share/doc
- /share/man
modules:
- name: 'x264'
config-opts:
- --disable-cli
- --enable-shared
- --enable-pic
- --bit-depth=10
sources:
- type: archive
url: http://download.videolan.org/x264/snapshots/x264-snapshot-20191217-2245-stable.tar.bz2
sha256: b2495c8f2930167d470994b1ce02b0f4bfb24b3317ba36ba7f112e9809264160
- name: 'x265'
buildsystem: cmake-ninja
builddir: true
subdir: source
config-opts:
- -DENABLE_SHARED=ON
- -DCMAKE_POSITION_INDEPENDENT_CODE=ON
- -DHIGH_BIT_DEPTH=ON
- -DMAIN12=ON
- -DCMAKE_BUILD_TYPE=Release
modules:
- name: numa
config-opts:
- --disable-static
- --enable-shared
sources:
- type: archive
url: https://github.com/numactl/numactl/releases/download/v2.0.13/numactl-2.0.13.tar.gz
sha256: 991e254b867eb5951a44d2ae0bf1996a8ef0209e026911ef6c3ef4caf6f58c9a
cleanup:
- /bin
sources:
- type: archive
url: https://bitbucket.org/multicoreware/x265/downloads/x265_3.3.tar.gz
sha256: f26e148ed1f4dfb33fd1eb3ff5e60e08078d1b2017e88bcbb045b3fb58300b9c
cleanup:
- /bin
- name: libvpx
config-opts:
- --disable-examples
- --disable-unit-tests
- --enable-vp9-highbitdepth
- --enable-pic
- --enable-shared
- --disable-static
- --as=yasm
modules:
- name: yasm
sources:
- type: archive
url: http://www.tortall.net/projects/yasm/releases/yasm-1.3.0.tar.gz
md5: fc9e586751ff789b34b1f21d572d96af
cleanup:
- /bin
sources:
- type: archive
url: https://github.com/webmproject/libvpx/archive/v1.8.2.tar.gz
sha256: 8735d9fcd1a781ae6917f28f239a8aa358ce4864ba113ea18af4bb2dc8b474ac
- name: fdk-aac
config-opts:
- --enable-shared
- --disable-static
sources:
- type: archive
url: https://github.com/mstorsjo/fdk-aac/archive/v2.0.1.tar.gz
sha256: a4142815d8d52d0e798212a5adea54ecf42bcd4eec8092b37a8cb615ace91dc6
- type: script
dest-filename: autogen.sh
commands:
- autoreconf -fiv
- name: aom
buildsystem: cmake-ninja
builddir: true
config-opts:
- -DENABLE_SHARED=ON
- -DENABLE_NASM=ON
- -DCMAKE_POSITION_INDEPENDENT_CODE=ON
- -DCMAKE_BUILD_TYPE=Release
sources:
- type: git
disable-shallow-clone: true
url: https://aomedia.googlesource.com/aom
tag: v1.0.0-errata1-avif
commit: 4eb1e7795b9700d532af38a2d9489458a8038233
cleanup:
- /bin
- name: libass
config-opts:
- --disable-static
- --enable-asm
- --enable-harfbuzz
- --enable-fontconfig
sources:
- type: archive
url: https://github.com/libass/libass/releases/download/0.14.0/libass-0.14.0.tar.xz
md5: 5b8c23340654587b8a472cb74ee9366b
- type: script
dest-filename: autogen.sh
commands:
- autoreconf -fiv
- name: libdrm
buildsystem: meson
config-opts:
- -Dudev=false
- -Dvalgrind=false
sources:
- type: archive
url: https://dri.freedesktop.org/libdrm/libdrm-2.4.100.tar.bz2
sha256: c77cc828186c9ceec3e56ae202b43ee99eb932b4a87255038a80e8a1060d0a5d
cleanup:
- /bin
- name: openh264
buildsystem: meson
modules:
- name: gtest
buildsystem: cmake-ninja
config-opts:
- -DBUILD_SHARED_LIBS=ON
- -Dgtest_build_tests=OFF
- -DCMAKE_BUILD_TYPE=Release
sources:
- type: archive
url: https://github.com/google/googletest/archive/release-1.10.0.tar.gz
sha256: 9dc9157a9a1551ec7a7e43daea9a694a0bb5fb8bec81235d8a1e6ef64c716dcb
sources:
- type: archive
url: https://github.com/cisco/openh264/archive/v2.0.0.tar.gz
sha256: 73c35f80cc487560d11ecabb6d31ad828bd2f59d412f9cd726cc26bfaf4561fd
- name: kvazaar
config-opts:
- --disable-static
sources:
- type: archive
url: https://github.com/ultravideo/kvazaar/releases/download/v1.3.0/kvazaar-1.3.0.tar.xz
sha256: 8916bd616539e0ac7b0b4320190b37d7bf7223299bdd7e545f52eb79a949e26d
- type: script
dest-filename: autogen.sh
commands:
- autoreconf -fiv
- name: dav1d
buildsystem: meson
sources:
- type: archive
url: http://downloads.videolan.org/pub/videolan/dav1d/0.5.2/dav1d-0.5.2.tar.xz
sha256: f94cf88c4a3ac2fd3cb30d688e8ef5943854d73db2dd12985a78892e76560f0a
- name: zimg
config-opts:
- --disable-static
sources:
- type: archive
url: https://github.com/sekrit-twc/zimg/archive/release-2.9.3.tar.gz
sha256: a15c0483fbe945ffe695a1a989bc43b3381c8bf33e2d1760464ec21d32cdf30b
- name: ffnvcodec
no-autogen: true
make-install-args: [PREFIX=/app]
sources:
- type: archive
url: https://github.com/FFmpeg/nv-codec-headers/archive/n9.1.23.1.tar.gz
sha256: 063f49838113c90504fd430377a6025478e2a454f812ce8a4da033e474727dc8
- name: opencl
buildsystem: simple
build-commands:
- install -d "${FLATPAK_DEST}/include/CL"
- install -Dm644 CL/* "${FLATPAK_DEST}/include/CL"
sources:
- type: git
url: https://github.com/KhronosGroup/OpenCL-Headers.git
- name: ffmpeg
config-opts:
- --pkg-config-flags=--static
- --enable-hardcoded-tables
- --disable-debug
- --disable-doc
- --enable-pic
- --enable-gpl
- --enable-version3
- --enable-nonfree
- --disable-podpages
- --enable-optimizations
- --enable-libaom
- --enable-libdrm
- --enable-libdav1d
- --enable-libopenh264
- --enable-libkvazaar
- --enable-libass
- --enable-libfdk-aac
- --enable-gnutls
- --enable-libfontconfig
- --enable-libfribidi
- --enable-libpulse
- --enable-libspeex
- --enable-libtheora
- --enable-libwebp
- --enable-nvdec
- --enable-nvenc
- --enable-openal
- --enable-opengl
- --enable-sdl2
- --enable-libfreetype
- --enable-libmp3lame
- --enable-libopus
- --enable-libvorbis
- --enable-libvpx
- --enable-libx264
- --enable-libx265
- --enable-nonfree
- --enable-libzimg
- --enable-opencl
modules:
- name: appdata
buildsystem: simple
build-commands:
- install -Dm644 org.ffmpeg.FFmpeg.appdata.xml -t "${FLATPAK_DEST}/share/appdata/"
sources:
- type: file
path: org.ffmpeg.FFmpeg.appdata.xml
sources:
- type: archive
url: https://ffmpeg.org/releases/ffmpeg-4.2.2.tar.xz
sha256: cb754255ab0ee2ea5f66f8850e1bd6ad5cac1cd855d0a2f4990fb8c668b0d29c
cleanup:
- /share/ffmpeg