forked from xfangfang/wiliwili
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.flatpak-manifest.yml
132 lines (128 loc) · 4.38 KB
/
.flatpak-manifest.yml
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
app-id: cn.xfangfang.wiliwili
runtime: org.freedesktop.Platform
runtime-version: '22.08'
sdk: org.freedesktop.Sdk
command: wiliwili
copy-icon: true
finish-args:
- --share=ipc
- --socket=x11
- --socket=wayland
- --device=all
- --share=network
- --socket=pulseaudio
- --filesystem=home/.var/app/cn.xfangfang.wiliwili/config:create
- --env=LC_NUMERIC=C
modules:
- name: wiliwili
buildsystem: cmake-ninja
config-opts:
- '-DPLATFORM_DESKTOP=ON'
- '-DUSE_SYSTEM_CURL=ON'
- '-DINSTALL=ON'
- '-DCMAKE_BUILD_TYPE=Release'
builddir: true
sources:
- type: dir
path: '.'
modules:
- name: libmpv
cleanup:
- /include
- /lib/pkgconfig
- /share/man
buildsystem: simple
build-commands:
- python3 waf configure --prefix=/app --enable-libmpv-shared --disable-cplayer --disable-build-date --disable-alsa
- python3 waf build
- python3 waf install
sources:
- type: archive
url: 'https://github.com/mpv-player/mpv/archive/refs/tags/v0.35.0.tar.gz'
sha256: 'dc411c899a64548250c142bf1fa1aa7528f1b4398a24c86b816093999049ec00'
- type: file
url: 'https://waf.io/waf-2.0.24'
sha256: '93909bca823a675f9f40af7c65b24887c3a3c0efdf411ff1978ba827194bdeb0'
dest-filename: waf
modules:
- name: libv4l2
cleanup:
- /sbin
- /bin
- /include
- /lib/*.la
- /lib/*/*.la
- /lib*/*/*/*.la
- /lib/pkgconfig
- /share/man
config-opts:
- '--disable-static'
- '--disable-bpf'
- '--with-udevdir=/app/lib/udev'
sources:
- type: archive
url: 'https://linuxtv.org/downloads/v4l-utils/v4l-utils-1.22.1.tar.bz2'
sha256: '65c6fbe830a44ca105c443b027182c1b2c9053a91d1e72ad849dfab388b94e31'
- name: nv-codec-headers
cleanup:
- '*'
no-autogen: true
make-install-args:
- PREFIX=/app
sources:
- type: archive
url: 'https://github.com/FFmpeg/nv-codec-headers/releases/download/n11.1.5.1/nv-codec-headers-11.1.5.1.tar.gz'
sha256: 'a28cdde3ac0e9e02c2dde7a1b4de5333b4ac6148a8332ca712da243a3361a0d9'
- name: ffmpeg
cleanup:
- /include
- /lib/pkgconfig
- /share/ffmpeg/examples
config-opts:
- '--enable-shared'
- '--disable-static'
- '--enable-gnutls'
- '--enable-gpl'
- '--disable-doc'
- '--disable-programs'
- '--disable-encoders'
- '--disable-muxers'
- '--enable-encoder=png,libwebp'
- '--enable-libv4l2'
- '--enable-libdav1d'
- '--enable-libfontconfig'
- '--enable-libfreetype'
- '--enable-libopus'
- '--enable-librsvg'
- '--enable-libvpx'
- '--enable-libmp3lame'
- '--enable-libwebp'
sources:
- type: archive
url: 'https://ffmpeg.org/releases/ffmpeg-5.1.tar.gz'
sha256: 'c0b2ec290abd5ad31b5e0a8c455c34f90306ecd2ede6ace5db5ca3a07f3b842f'
- name: libass
cleanup:
- /include
- /lib/*.la
- /lib/pkgconfig
config-opts:
- '--disable-static'
sources:
- type: archive
url: 'https://github.com/libass/libass/releases/download/0.16.0/libass-0.16.0.tar.gz'
sha256: 'fea8019b1887cab9ab00c1e58614b4ec2b1cee339b3f7e446f5fab01b032d430'
- name: uchardet
buildsystem: cmake-ninja
config-opts:
- '-DCMAKE_BUILD_TYPE=Release'
- '-DBUILD_STATIC=0'
cleanup:
- /bin
- /include
- /lib/pkgconfig
- /share/man
sources:
- type: archive
url: 'https://gitlab.freedesktop.org/uchardet/uchardet/-/archive/v0.0.7/uchardet-v0.0.7.tar.gz'
sha256: 'f3635d1d10e1470452bc42c1bf509451a9926b399a11740a9949e86069d69f58'