-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathorg.paulpacifico.ShutterEncoder.yaml
More file actions
247 lines (246 loc) · 7.12 KB
/
org.paulpacifico.ShutterEncoder.yaml
File metadata and controls
247 lines (246 loc) · 7.12 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
####
# Flatpak Configuration for building Shutter Encoder
#
####
app-id: org.paulpacifico.ShutterEncoder
runtime: org.freedesktop.Platform
runtime-version: &runtime-version '23.08'
sdk: org.freedesktop.Sdk
sdk-extensions:
- org.freedesktop.Sdk.Extension.openjdk
finish-args:
- --share=ipc
- --share=network
- --socket=pulseaudio
- --socket=x11
- --socket=wayland
- --device=dri
- --filesystem=xdg-documents
- --filesystem=xdg-cache
- --filesystem=xdg-data
- --filesystem=xdg-videos
- --filesystem=xdg-pictures
command: /app/bin/ShutterEncoder.sh
modules:
# Installs the JRE into /app/jre
- name: openjdk
buildsystem: simple
build-commands:
- /usr/lib/sdk/openjdk/install.sh
- name: libzen
subdir: Project/GNU/Library
config-opts:
- --enable-shared
- --disable-static
cleanup:
- /bin
- /include
- /lib/pkgconfig
- /lib/*.la
sources:
- type: archive
url: https://mediaarea.net/download/source/libzen/0.4.40/libzen_0.4.40.tar.xz
sha256: 0c2e1c7302b3ee260d34b52e4b16ab655bdf021db8c14653e418aced46eb24a7
- name: libmediainfo
subdir: Project/GNU/Library
config-opts:
- --enable-shared
- --disable-static
- --with-libcurl
cleanup:
- /bin
- /include
- /lib/pkgconfig
- /lib/*.la
sources:
- type: git
url: https://github.com/MediaArea/MediaInfoLib.git
tag: v23.03
- name: libass
sources:
- type: archive
url: https://github.com/libass/libass/releases/download/0.14.0/libass-0.14.0.tar.xz
sha256: "881f2382af48aead75b7a0e02e65d88c5ebd369fe46bc77d9270a94aa8fd38a2"
- name: opencore-amr
sources:
- type: archive
url: https://downloads.sourceforge.net/project/opencore-amr/opencore-amr/opencore-amr-0.1.6.tar.gz
sha256: 483eb4061088e2b34b358e47540b5d495a96cd468e361050fae615b1809dc4a1
- name: SVT-AV1
buildsystem: cmake
sources:
- type: git
url: https://gitlab.com/AOMediaCodec/SVT-AV1.git
- name: twolame
sources:
- type: git
url: https://github.com/njh/twolame.git
branch: main
- type: shell
commands:
- touch doc/twolame.1
- name: libvidstab
buildsystem: cmake
sources:
- type: git
url: https://github.com/georgmartius/vid.stab.git
tag: v1.1.1
- name: libvmaf
buildsystem: meson
subdir: libvmaf
sources:
- type: git
url: https://github.com/Netflix/vmaf.git
tag: 'v3.0.0'
- name: vo-amrwbenc
sources:
- type: archive
url: https://downloads.sourceforge.net/sourceforge/opencore-amr/vo-amrwbenc/vo-amrwbenc-0.1.3.tar.gz
sha256: 5652b391e0f0e296417b841b02987d3fd33e6c0af342c69542cbb016a71d9d4e
- name: vvenc
buildsystem: cmake
sources:
- type: git
url: https://github.com/fraunhoferhhi/vvenc.git
tag: 'v1.12.1'
- name: x264
config-opts:
- --enable-shared
- --enable-static
sources:
- type: git
url: https://code.videolan.org/videolan/x264.git
commit: be4f0200
- name: x265
buildsystem: cmake
subdir: source
sources:
- type: git
url: https://bitbucket.org/multicoreware/x265_git.git
tag: '3.6'
- name: xvid
subdir: build/generic
sources:
- type: archive
url: https://downloads.xvid.com/downloads/xvidcore-1.3.7.tar.gz
sha256: abbdcbd39555691dd1c9b4d08f0a031376a3b211652c0d8b3b8aa9be1303ce2d
- name: zimg
sources:
- type: git
url: https://github.com/sekrit-twc/zimg.git
tag: 'release-3.0.5'
- name: amf
buildsystem: simple
sources:
- type: git
url: https://github.com/GPUOpen-LibrariesAndSDKs/AMF.git
tag: 'v1.4.35'
build-commands:
- mkdir -p /app/include/AMF
- cp -r amf/public/include/* /app/include/AMF/
- name: libgsm
buildsystem: simple
sources:
- type: archive
# url: https://www.quut.com/gsm/gsm-1.0.22.tar.gz
url: https://sources.buildroot.net/libgsm/gsm-1.0.22.tar.gz
sha256: f0072e91f6bb85a878b2f6dbf4a0b7c850c4deb8049d554c65340b3bf69df0ac
build-commands:
- make INSTALL_ROOT=/app
- make INSTALL_ROOT=/app GSM_INSTALL_INC=/app/include GSM_INSTALL_MAN=/app/share/man install
- name: nv-codec-headers
only-arches:
- i386
- x86_64
no-autogen: true
make-install-args:
- PREFIX=/app
sources:
- type: archive
url: https://github.com/FFmpeg/nv-codec-headers/archive/n11.1.5.3.tar.gz
sha256: 7e7fe9ecd3cb517698a7dde7885935f8616d13c6382dfd722bf3652a985d7fe1
cleanup: ['*']
- name: ffmpeg
config-opts:
- --prefix=/app
- --bindir=/app/bin/Library
- --enable-shared
- --disable-static
- --disable-doc
- --disable-manpages
- --disable-stripping
- --disable-ffplay
- --enable-ffprobe
- --enable-gpl
- --enable-version3
- --enable-fontconfig
- --enable-iconv
- --enable-libass
- --enable-libdav1d
- --enable-libfreetype
- --enable-libharfbuzz
- --enable-libmp3lame
- --enable-libopencore-amrnb
- --enable-libopencore-amrwb
- --enable-libopenjpeg
- --enable-libopus
# - --enable-libsnappy
- --enable-libtheora
- --enable-libtwolame
- --enable-libvpx
- --enable-libwebp
- --enable-libx264
- --enable-libx265
- --enable-libvvenc
- --enable-libzimg
- --enable-lzma
- --enable-zlib
- --enable-libvidstab
- --enable-libvmaf
- --enable-libvorbis
- --enable-libvo-amrwbenc
- --enable-libxvid
- --enable-libgsm
- --enable-libsvtav1
- --enable-libaom
- --enable-ffnvcodec
- --enable-vdpau
- --enable-amf
- --enable-nonfree
- --enable-nvdec
- --enable-nvenc
- --enable-cuvid
sources:
- type: git
url: https://git.ffmpeg.org/ffmpeg.git
commit: eb3cc508d8
post-install:
- install -p -D -m 0644 COPYING* "LICENSE.md" -t "${FLATPAK_DEST}/share/licenses/ffmpeg/";
cleanup:
- /share/ffmpeg/examples
- name: shutter-encoder
buildsystem: cmake
build-options:
env:
JAVA_HOME: /usr/lib/sdk/openjdk/jvm/openjdk-22
JAVA_COMPILER: /usr/lib/sdk/openjdk/jvm/openjdk-22/bin/javac
config-opts:
- -DCMAKE_INSTALL_LIBDIR=lib
- -DCMAKE_INSTALL_BINDIR=bin
post-install:
- cp src/contents/icon.png org.paulpacifico.ShutterEncoder.png
- install -Dm644 org.paulpacifico.ShutterEncoder.desktop -t /app/share/applications
- install -Dm644 org.paulpacifico.ShutterEncoder.png -t /app/share/icons/hicolor/256x256/apps
- install -Dm644 org.paulpacifico.ShutterEncoder.metainfo.xml -t /app/share/metainfo
sources:
- type: git
url: https://github.com/paulpacifico/shutter-encoder.git
tag: "18.5"
- type: file
path: CMakeLists.txt
- type: file
path: ShutterEncoder.sh
- type: file
path: org.paulpacifico.ShutterEncoder.desktop
- type: file
path: org.paulpacifico.ShutterEncoder.metainfo.xml