-
Notifications
You must be signed in to change notification settings - Fork 21
/
io.mpv.Mpv.yml
1052 lines (987 loc) · 34 KB
/
io.mpv.Mpv.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
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
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
id: io.mpv.Mpv
runtime: org.freedesktop.Platform
runtime-version: '23.08'
sdk: org.freedesktop.Sdk
command: mpv
rename-desktop-file: mpv.desktop
rename-icon: mpv
finish-args:
- --share=ipc
- --socket=x11
- --socket=wayland
- --device=all
- --share=network
- --socket=pulseaudio
- --filesystem=/tmp:rw
- --filesystem=xdg-pictures:rw
- --filesystem=xdg-videos:rw
- --filesystem=home/.var/app/io.mpv.Mpv/config/mpv/scripts:create
- --filesystem=host:ro
- --env=LC_NUMERIC=C
- --env=XCURSOR_PATH=/run/host/user-share/icons:/run/host/share/icons
- --filesystem=xdg-run/pipewire-0:ro
# mpris support via dbus
- --own-name=org.mpris.MediaPlayer2.mpv.*
- --talk-name=org.gnome.SessionManager
cleanup:
- '*.la'
- '*.a'
modules:
- name: lmdb
sources:
- sha256: f3927859882eb608868c8c31586bb7eb84562a40a6bf5cc3e13b6b564641ea28
type: archive
url: https://github.com/LMDB/lmdb/archive/LMDB_0.9.22.tar.gz
make-install-args:
- prefix=/app
no-autogen: true
subdir: libraries/liblmdb
- name: parse-yapp
buildsystem: simple
build-commands:
- perl Makefile.PL INSTALL_BASE=/app
- make
- make install
sources:
- type: archive
url: https://cpan.metacpan.org/authors/id/W/WB/WBRASWELL/Parse-Yapp-1.21.tar.gz
sha256: 3810e998308fba2e0f4f26043035032b027ce51ce5c8a52a8b8e340ca65f13e5
- name: smbclient
config-opts:
- --without-json
- --without-ad-dc
- --without-ldap
- --without-ads
- --without-pam
- --disable-python
- --disable-cups
- --disable-iprint
- --without-systemd
- --bindir=.
- --sbindir=.
- --sysconfdir=.
cleanup:
- /lib/perl5
build-options:
env:
PERL5LIB: /app/lib/perl5
buildsystem: autotools
sources:
- type: archive
archive-type: tar
url: https://download.samba.org/pub/samba/stable/samba-4.19.5.tar.gz
sha256: 0e2405b4cec29d0459621f4340a1a74af771ec7cffedff43250cad7f1f87605e
x-checker-data:
type: html
url: https://download.samba.org/pub/samba/stable/?C=M;O=D
version-pattern: samba-(\d+\.\d+\.\d+).tar.gz
url-template: https://download.samba.org/pub/samba/stable/samba-$version.tar.gz
- name: libXmu
buildsystem: autotools
sources:
- type: git
url: https://gitlab.freedesktop.org/xorg/lib/libxmu.git
tag: libXmu-1.1.4
commit: b29c739b577ee142877e69eb3fb07c7312d81557
x-checker-data:
type: git
tag-pattern: ^libXmu-([\d.]+)$
- name: xclip
buildsystem: autotools
sources:
- type: git
url: https://github.com/astrand/xclip.git
tag: '0.13'
commit: 9aa7090c3b8b437c6489edca32ae43d82e0c1281
x-checker-data:
type: git
tag-pattern: ^(\d+\.\d+)$
- name: libXpresent
buildsystem: autotools
sources:
- type: git
url: https://gitlab.freedesktop.org/xorg/lib/libxpresent.git
tag: libXpresent-1.0.1
commit: 37507b5f44332accfb1064ee69a4f6a833994747
x-checker-data:
type: git
tag-pattern: ^libXpresent-([\d.]+)$
- name: luajit
no-autogen: true
cleanup:
- /bin
- /include
- /lib/pkgconfig
- /share/man
sources:
- type: git
url: https://github.com/LuaJIT/LuaJIT.git
mirror-urls:
- https://luajit.org/git/luajit.git
disable-shallow-clone: true
commit: d06beb0480c5d1eb53b3343e78063950275aa281
x-checker-data:
type: json
url: https://api.github.com/repos/LuaJIT/LuaJIT/commits
commit-query: first( .[].sha )
version-query: first( .[].sha )
timestamp-query: first( .[].commit.committer.date )
- type: shell
commands:
- sed -i 's|/usr/local|/app|' ./Makefile
- name: yt-dlp
no-autogen: true
no-make-install: true
make-args:
- yt-dlp
- PYTHON=/usr/bin/python3
post-install:
- install yt-dlp /app/bin
sources:
- type: archive
url: https://github.com/yt-dlp/yt-dlp/releases/download/2024.03.10/yt-dlp.tar.gz
sha256: 1db8eade9e860543b655f5f973e26727ac2cc20874dc6fed9a3e78a4a05ee989
x-checker-data:
type: json
url: https://api.github.com/repos/yt-dlp/yt-dlp/releases/latest
version-query: .tag_name
url-query: .assets[] | select(.name=="yt-dlp.tar.gz") | .browser_download_url
- 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://www.freedesktop.org/software/uchardet/releases/uchardet-0.0.8.tar.xz
sha256: e97a60cfc00a1c147a674b097bb1422abd9fa78a2d9ce3f3fdcc2e78a34ac5f0
x-checker-data:
type: html
url: https://www.freedesktop.org/software/uchardet/releases/
version-pattern: uchardet-(\d\.\d+\.?\d*).tar.xz
url-template: https://www.freedesktop.org/software/uchardet/releases/uchardet-$version.tar.xz
- name: libass
cleanup:
- /include
- /lib/pkgconfig
config-opts:
- --disable-static
sources:
- type: git
url: https://github.com/libass/libass.git
tag: 0.17.1
commit: e8ad72accd3a84268275a9385beb701c9284e5b3
x-checker-data:
type: git
tag-pattern: ^(\d\.\d{1,3}\.\d{1,2})$
- name: libv4l2
buildsystem: meson
cleanup:
- /include
- /lib/pkgconfig
- /share/man
config-opts:
- -Ddoxygen-html=false
- -Ddoxygen-doc=disabled
- -Dbpf=disabled
- -Dudevdir=/app/lib/udev
sources:
- type: git
url: https://git.linuxtv.org/v4l-utils.git
mirror-urls:
- https://github.com/gjasny/v4l-utils.git
tag: v4l-utils-1.26.1
commit: 4aee01a027923cab1e40969f56f8ba58d3e6c0d1
x-checker-data:
type: git
tag-pattern: ^v4l-utils-([\d.]+)$
- name: libcdio
config-opts:
- --disable-static
- --disable-example-progs
cleanup:
- /include
- /lib/pkgconfig
sources:
- type: archive
url: https://ftp.gnu.org/gnu/libcdio/libcdio-2.1.0.tar.bz2
mirror-urls:
- https://mirrors.kernel.org/gnu/libcdio/libcdio-2.1.0.tar.bz2
- https://mirrors.ocf.berkeley.edu/gnu/libcdio/libcdio-2.1.0.tar.bz2
- https://ftpmirror.gnu.org/gnu/libcdio/libcdio-2.1.0.tar.bz2
sha256: 8550e9589dbd594bfac93b81ecf129b1dc9d0d51e90f9696f1b2f9b2af32712b
x-checker-data:
type: html
url: https://ftp.gnu.org/gnu/libcdio/
version-pattern: libcdio-(\d\.\d+\.?\d*).tar.bz2
url-template: https://ftp.gnu.org/gnu/libcdio/libcdio-$version.tar.bz2
- name: libcdio-paranoia
config-opts:
- --disable-static
- --disable-example-progs
cleanup:
- /include
- /lib/pkgconfig
sources:
- type: archive
url: https://ftp.gnu.org/gnu/libcdio/libcdio-paranoia-10.2+2.0.1.tar.bz2
mirror-urls:
- https://mirrors.kernel.org/gnu/libcdio/libcdio-paranoia-10.2+2.0.1.tar.bz2
- https://mirrors.ocf.berkeley.edu/gnu/libcdio/libcdio-paranoia-10.2+2.0.1.tar.bz2
- https://ftpmirror.gnu.org/gnu/libcdio/libcdio-paranoia-10.2+2.0.1.tar.bz2
sha256: 33b1cf305ccfbfd03b43936975615000ce538b119989c4bec469577570b60e8a
x-checker-data:
type: html
url: https://ftp.gnu.org/gnu/libcdio/
version-pattern: libcdio-paranoia-([\d\.\+-]+).tar.bz2
url-template: https://ftp.gnu.org/gnu/libcdio/libcdio-paranoia-$version.tar.bz2
- name: libdvdread
config-opts:
- --disable-static
cleanup:
- /include
- /lib/pkgconfig
sources:
- type: archive
url: https://download.videolan.org/pub/videolan/libdvdread/6.1.3/libdvdread-6.1.3.tar.bz2
sha256: ce35454997a208cbe50e91232f0e73fb1ac3471965813a13b8730a8f18a15369
x-checker-data:
type: html
url: https://www.videolan.org/developers/libdvdnav.html
version-pattern: The latest version of <code>libdvdread</code> is <b>([\d\-\.]+)<
url-template: https://download.videolan.org/pub/videolan/libdvdread/$version/libdvdread-$version.tar.bz2
- name: libdvdnav
config-opts:
- --disable-static
cleanup:
- /include
- /lib/pkgconfig
sources:
- type: archive
url: https://download.videolan.org/pub/videolan/libdvdnav/6.1.1/libdvdnav-6.1.1.tar.bz2
sha256: c191a7475947d323ff7680cf92c0fb1be8237701885f37656c64d04e98d18d48
x-checker-data:
type: html
url: https://www.videolan.org/developers/libdvdnav.html
version-pattern: The latest version of <code>libdvdnav</code> is <b>([\d\-\.]+)</b>\.
url-template: https://download.videolan.org/pub/videolan/libdvdnav/$version/libdvdnav-$version.tar.bz2
- name: libaacs
config-opts:
- --disable-static
- --disable-bdjava-jar
cleanup:
- /include
- /lib/pkgconfig
sources:
- sha256: a88aa0ebe4c98a77f7aeffd92ab3ef64ac548c6b822e8248a8b926725bea0a39
type: archive
url: https://download.videolan.org/pub/videolan/libaacs/0.11.1/libaacs-0.11.1.tar.bz2
x-checker-data:
type: html
url: https://www.videolan.org/developers/libaacs.html
version-pattern: Latest release is <b>libaacs (\d\.\d+\.?\d*)</b>
url-template: https://download.videolan.org/pub/videolan/libaacs/$version/libaacs-$version.tar.bz2
- name: libbluray
config-opts:
- --disable-static
- --disable-bdjava-jar
cleanup:
- /include
- /lib/pkgconfig
sources:
- sha256: 478ffd68a0f5dde8ef6ca989b7f035b5a0a22c599142e5cd3ff7b03bbebe5f2b
type: archive
url: https://download.videolan.org/pub/videolan/libbluray/1.3.4/libbluray-1.3.4.tar.bz2
x-checker-data:
type: html
url: https://www.videolan.org/developers/libbluray.html
version-pattern: Latest release is <b>libbluray (\d\.\d+\.?\d*)</b>\.
url-template: https://download.videolan.org/pub/videolan/libbluray/$version/libbluray-$version.tar.bz2
- name: zimg
config-opts:
- --disable-static
cleanup:
- /include
- /lib/pkgconfig
- /share/doc
sources:
- type: archive
archive-type: tar
url: https://api.github.com/repos/sekrit-twc/zimg/tarball/release-3.0.5
sha256: 1b8998f03f4a49e4d730033143722b32bc28a5306ef809ccfb3b4bbb29e4b784
x-checker-data:
type: json
url: https://api.github.com/repos/sekrit-twc/zimg/releases/latest
url-query: .tarball_url
version-query: .tag_name | sub("^release-"; "")
timestamp-query: .published_at
- name: rubberband
buildsystem: meson
cleanup:
- /include
- /lib/pkgconfig
sources:
- type: git
url: https://github.com/breakfastquay/rubberband.git
mirror-urls:
- https://hg.sr.ht/~breakfastquay/rubberband
tag: v3.3.0
commit: 2be46b0dffb13273a67396c77bc9278736bb03d2
x-checker-data:
type: git
tag-pattern: ^v([\d.]+)$
- name: mujs
buildsystem: autotools
no-autogen: true
make-args:
- release
make-install-args:
- prefix=/app
- install-shared
cleanup:
- /bin
- /include
- /lib/pkgconfig
sources:
- type: git
url: https://github.com/ccxvii/mujs.git
mirror-urls:
- http://git.ghostscript.com/mujs.git
tag: 1.3.4
commit: a76d157bdaa9aec8de5ea5a362eed2f59139152d
x-checker-data:
type: git
url: https://api.github.com/repos/ccxvii/mujs/tags
tag-pattern: ^([\d.]+)$
- name: nv-codec-headers
cleanup:
- '*'
no-autogen: true
make-install-args:
- PREFIX=/app
sources:
- type: git
url: https://github.com/FFmpeg/nv-codec-headers.git
mirror-urls:
- https://git.videolan.org/git/ffmpeg/nv-codec-headers.git
tag: n12.1.14.0
commit: 1889e62e2d35ff7aa9baca2bceb14f053785e6f1
x-checker-data:
type: git
tag-pattern: ^n([\d.]+)$
- name: x264
cleanup:
- /include
- /lib/pkgconfig
- /share/man
config-opts:
- --disable-cli
- --enable-shared
sources:
- type: git
url: https://code.videolan.org/videolan/x264.git
commit: 585e01997f0c7e6d72c8ca466406d955c07de912
# Every commit to the master branch is considered a release
# https://code.videolan.org/videolan/x264/-/issues/35
x-checker-data:
type: json
url: https://code.videolan.org/api/v4/projects/536/repository/commits
commit-query: first( .[].id )
version-query: first( .[].id )
timestamp-query: first( .[].committed_date )
- name: x265
buildsystem: cmake
subdir: source
config-opts:
- -DCMAKE_BUILD_TYPE=Release
- -DBUILD_STATIC=0
cleanup:
- /include
- /lib/pkgconfig
- /share/man
sources:
- type: git
url: https://bitbucket.org/multicoreware/x265_git.git
tag: '3.5'
commit: f0c1022b6be121a753ff02853fbe33da71988656
x-checker-data:
type: git
tag-pattern: ^([\d.]+)$
- name: libmysofa
buildsystem: cmake
config-opts:
- -DBUILD_TESTS=OFF
sources:
- type: git
commit: 33974839677da7044ef5a70be7ad5550735aae6e
tag: v1.3.2
url: https://github.com/hoene/libmysofa.git
x-checker-data:
type: git
tag-pattern: ^v([\d.]+)$
- name: libbs2b
buildsystem: autotools
config-opts:
- --disable-static
cleanup:
- /include
- /lib/pkgconfig
sources:
- type: archive
archive-type: tar
url: https://downloads.sourceforge.net/sourceforge/bs2b/libbs2b-3.1.0.tar.gz
sha256: 6aaafd81aae3898ee40148dd1349aab348db9bfae9767d0e66e0b07ddd4b2528
x-checker-data:
type: html
url: https://sourceforge.net/projects/bs2b/files/libbs2b/
version-pattern: projects/bs2b/files/libbs2b/(\d+\.\d+\.\d+)
url-template: https://downloads.sourceforge.net/sourceforge/bs2b/libbs2b-$version.tar.gz
# https://src.fedoraproject.org/rpms/libbs2b/blob/rawhide/f/libbs2b.spec#_40
- type: shell
commands:
- sed -i -e 's/lzma/xz/g' configure.ac
- autoreconf -vif
- name: libjxl
buildsystem: cmake
config-opts:
- -DCMAKE_BUILD_TYPE=Release
- -DBUILD_TESTING=OFF
sources:
- type: git
url: https://github.com/libjxl/libjxl.git
tag: v0.10.2
commit: e1489592a770b989303b0edc5cc1dc447bbe0515
disable-shallow-clone: true
x-checker-data:
type: git
tag-pattern: ^v([\d.]+)$
- name: ffmpeg
cleanup:
- /include
- /lib/pkgconfig
- /share/ffmpeg/examples
config-opts:
- --disable-debug
- --disable-doc
- --disable-static
- --enable-encoder=png
- --enable-gnutls
- --enable-gpl
- --enable-shared
- --enable-version3
- --enable-libaom
- --enable-libass
- --enable-libbs2b
- --enable-libdav1d
- --enable-libfreetype
- --enable-libmp3lame
- --enable-libopus
- --enable-libjxl
- --enable-libmysofa
- --enable-libtheora
- --enable-libv4l2
- --enable-libvorbis
- --enable-libvpx
- --enable-libx264
- --enable-libx265
- --enable-libwebp
- --enable-libsmbclient
sources:
- type: git
url: https://github.com/FFmpeg/FFmpeg.git
mirror-urls:
- https://git.ffmpeg.org/ffmpeg.git
commit: e38092ef9395d7049f871ef4d5411eb410e283e0
tag: n6.1.1
x-checker-data:
type: git
tag-pattern: ^n([\d.]{3,7})$
- name: libsixel
buildsystem: meson
cleanup:
- /include
- /lib/pkgconfig
sources:
- type: archive
archive-type: tar
url: https://api.github.com/repos/libsixel/libsixel/tarball/refs/tags/v1.10.3
sha256: 7be774befba882d53701e131b6657836118f6cdb15a7515f92345c7bb6e2bb5c
x-checker-data:
type: json
url: https://api.github.com/repos/libsixel/libsixel/tags
url-query: .[0].tarball_url
version-query: .[0].name
- name: vapoursynth
config-opts:
- --disable-static
- --with-python_prefix=/app
sources:
- type: git
url: https://github.com/vapoursynth/vapoursynth.git
tag: R66
commit: fe6c67cdb17f41160c79434f0240077f74de9fd1
x-checker-data:
type: git
tag-pattern: ^R([\d.]+)$
- name: libplacebo
buildsystem: meson
config-opts:
- -Dvulkan=enabled
- -Dshaderc=enabled
cleanup:
- /include
- /lib/pkgconfig
sources:
- type: git
url: https://code.videolan.org/videolan/libplacebo.git
mirror-urls:
- https://github.com/haasn/libplacebo.git
tag: v6.338.2
commit: 64c1954570f1cd57f8570a57e51fb0249b57bb90
x-checker-data:
type: git
tag-pattern: ^v([\d.]+)$
modules:
- name: shaderc
buildsystem: cmake-ninja
builddir: true
config-opts:
- -DSHADERC_SKIP_COPYRIGHT_CHECK=ON
- -DSHADERC_SKIP_EXAMPLES=ON
- -DSHADERC_SKIP_TESTS=ON
- -DSPIRV_SKIP_EXECUTABLES=ON
- -DENABLE_GLSLANG_BINARIES=OFF
cleanup:
- /bin
- /include
- /lib/cmake
- /lib/pkgconfig
sources:
- type: git
url: https://github.com/google/shaderc.git
#tag: v2023.7
commit: 40bced4e1e205ecf44630d2dfa357655b6dabd04
#x-checker-data:
# type: git
# tag-pattern: ^v(\d{4}\.\d{1,2})$
- type: git
url: https://github.com/KhronosGroup/SPIRV-Tools.git
tag: v2023.2
commit: 44d72a9b36702f093dd20815561a56778b2d181e
dest: third_party/spirv-tools
x-checker-data:
type: git
tag-pattern: ^v(\d{4}\.\d{1})$
- type: git
url: https://github.com/KhronosGroup/SPIRV-Headers.git
tag: sdk-1.3.250.1
commit: 268a061764ee69f09a477a695bf6a11ffe311b8d
dest: third_party/spirv-headers
#x-checker-data:
# type: git
# tag-pattern: ^sdk-([\d.]+)$
- type: git
url: https://github.com/KhronosGroup/glslang.git
tag: 14.1.0
commit: ee2f5d09eaf8f4e8d0d598bd2172fce290d4ca60
dest: third_party/glslang
x-checker-data:
type: git
tag-pattern: ^(\d{1,2}\.\d{1,2}\.\d{1,4})$
- name: mpv
buildsystem: meson
config-opts:
- -Dbuild-date=false
- -Dlibmpv=true
- -Dmanpage-build=disabled
- -Dcdda=enabled
- -Ddvbin=enabled
- -Ddvdnav=enabled
- -Dlibarchive=enabled
- -Dsdl2=enabled
- -Dshaderc=enabled
- -Dvulkan=enabled
- -Dvulkan-interop=enabled
cleanup:
- /include
- /lib/pkgconfig
post-install:
- mv /app/bin/mpv /app/bin/mpv-bin
# save screenshots at xdg-pictures/mpv
- echo "screenshot-directory=~/.var/app/io.mpv.Mpv/Pictures/mpv" > /app/etc/mpv/mpv.conf
sources:
- type: git
url: https://github.com/mpv-player/mpv.git
tag: v0.37.0
commit: 818ce7c51a6b9179307950e919983e0909942098
x-checker-data:
type: git
tag-pattern: ^v([\d.]+)$
- type: file
path: io.mpv.Mpv.appdata.xml
# Automatically update version and date in io.mpv.Mpv.appdata.xml
# Then install io.mpv.Mpv.appdata.xml
- type: shell
commands:
- sed -i "s/date=\"[0-9-]*\"/date=\"$(git log -n1 --pretty=format:%ad --date=short
VERSION)\"/" io.mpv.Mpv.appdata.xml
- sed -i "s/version=\"[0-9.]*\"/version=\"$(cat VERSION)\"/" io.mpv.Mpv.appdata.xml
# This doesn't find the file.
# - install -D -m644 $FLATPAK_ID.appdata.xml /app/share/appdata/$FLATPAK_ID.appdata.xml
- mkdir -p /app/share/appdata
- mv $FLATPAK_ID.appdata.xml /app/share/appdata/$FLATPAK_ID.appdata.xml
- chmod 644 /app/share/appdata/$FLATPAK_ID.appdata.xml
# Scripts for mpv
- name: mpv-wrapper
buildsystem: simple
build-commands:
- install -D mpv /app/bin/mpv
sources:
- type: file
path: mpv
- name: mpv-mpris
no-autogen: true
make-install-args:
- SCRIPTS_DIR=/app/etc/mpv/scripts
sources:
- type: archive
archive-type: tar
url: https://api.github.com/repos/hoyon/mpv-mpris/tarball/1.1
sha256: 08d6b53a41224710ebed1c4d6daee815686e0f2f10e3f81778f4411562ed5958
x-checker-data:
type: json
url: https://api.github.com/repos/hoyon/mpv-mpris/releases/latest
version-query: .name
url-query: .tarball_url
- name: ed
build-options:
no-debuginfo: true
buildsystem: autotools
sources:
- type: archive
url: https://ftp.gnu.org/gnu/ed/ed-1.20.1.tar.lz
mirror-urls:
- https://mirrors.kernel.org/gnu/ed/ed-1.07.1.tar.lz
- https://mirrors.ocf.berkeley.edu/gnu/ed/ed-1.07.1.tar.lz
- https://ftpmirror.gnu.org/gnu/ed/ed-1.07.1.tar.lz
sha256: b1a463b297a141f9876c4b1fcd01477f645cded92168090e9a35db2af4babbca
x-checker-data:
type: html
url: https://ftp.gnu.org/gnu/ed/
version-pattern: ed-(\d\.\d+\.?\d*).tar.lz
url-template: https://ftp.gnu.org/gnu/ed/ed-$version.tar.lz
- name: bc
build-options:
no-debuginfo: true
buildsystem: autotools
sources:
- type: archive
url: https://ftp.gnu.org/gnu/bc/bc-1.07.1.tar.gz
mirror-urls:
- https://mirrors.kernel.org/gnu/bc/bc-1.07.1.tar.gz
- https://mirrors.ocf.berkeley.edu/gnu/bc/bc-1.07.1.tar.gz
- https://ftpmirror.gnu.org/gnu/bc/bc-1.07.1.tar.gz
sha256: 62adfca89b0a1c0164c2cdca59ca210c1d44c3ffc46daf9931cf4942664cb02a
x-checker-data:
type: html
url: https://ftp.gnu.org/gnu/bc/
version-pattern: bc-(\d\.\d+\.?\d*).tar.gz
url-template: https://ftp.gnu.org/gnu/bc/bc-$version.tar.gz
### Python modules for mpv scripts
- name: python_dateutil
buildsystem: simple
build-commands:
- pip3 install --prefix=/app python_dateutil*.whl
sources:
- type: file
url: https://files.pythonhosted.org/packages/ec/57/56b9bcc3c9c6a792fcbaf139543cee77261f3651ca9da0c93f5c1221264b/python_dateutil-2.9.0.post0-py2.py3-none-any.whl
sha256: a8b2bc7bffae282281c8140a97d3aa9c14da0b136dfe83f850eea9a5f7470427
x-checker-data:
type: pypi
name: python_dateutil
packagetype: bdist_wheel
- name: urllib3
buildsystem: simple
build-commands:
- pip3 install --prefix=/app urllib3*.whl
sources:
- type: file
url: https://files.pythonhosted.org/packages/b0/53/aa91e163dcfd1e5b82d8a890ecf13314e3e149c05270cc644581f77f17fd/urllib3-1.26.18-py2.py3-none-any.whl
sha256: 34b97092d7e0a3a8cf7cd10e386f401b3737364026c45e622aa02903dffe0f07
x-checker-data:
# Requests doesn't work with > 1.26.x for now
# https://github.com/flathub/io.mpv.Mpv/pull/190#issuecomment-1523855709
versions: {'>=': 1.21.1, <: '1.27'}
type: pypi
name: urllib3
packagetype: bdist_wheel
- name: soupsieve
buildsystem: simple
build-commands:
- pip3 install --prefix=/app soupsieve*.whl
sources:
- type: file
url: https://files.pythonhosted.org/packages/4c/f3/038b302fdfbe3be7da016777069f26ceefe11a681055ea1f7817546508e3/soupsieve-2.5-py3-none-any.whl
sha256: eaa337ff55a1579b6549dc679565eac1e3d000563bcb1c8ab0d0fefbc0c2cdc7
x-checker-data:
type: pypi
name: soupsieve
packagetype: bdist_wheel
- name: rebulk
buildsystem: simple
build-commands:
- pip3 install --prefix=/app rebulk-*.whl
sources:
- type: file
url: https://files.pythonhosted.org/packages/84/4d/df073d593f7e7e4a5a7e19148b2e9b4ae63b4ddcbb863f1e7bb2b6f19c62/rebulk-3.2.0-py3-none-any.whl
sha256: 6bc31ae4b37200623c5827d2f539f9ec3e52b50431322dad8154642a39b0a53e
x-checker-data:
type: pypi
name: rebulk
packagetype: bdist_wheel
- name: pbr
buildsystem: simple
build-commands:
- pip3 install --prefix=/app pbr-*.whl
sources:
- type: file
url: https://files.pythonhosted.org/packages/64/dd/171c9fb653591cf265bcc89c436eec75c9bde3dec921cc236fa71e5698df/pbr-6.0.0-py2.py3-none-any.whl
sha256: 4a7317d5e3b17a3dccb6a8cfe67dab65b20551404c52c8ed41279fa4f0cb4cda
x-checker-data:
type: pypi
name: pbr
packagetype: bdist_wheel
- name: idna
buildsystem: simple
build-commands:
- pip3 install --prefix=/app idna-*.whl
sources:
- type: file
url: https://files.pythonhosted.org/packages/c2/e7/a82b05cf63a603df6e68d59ae6a68bf5064484a0718ea5033660af4b54a9/idna-3.6-py3-none-any.whl
sha256: c05567e9c24a6b9faaa835c4821bad0590fbb9d5779e7caa6e1cc4978e7eb24f
x-checker-data:
type: pypi
name: idna
packagetype: bdist_wheel
- name: decorator
buildsystem: simple
build-commands:
- pip3 install --prefix=/app decorator-*.whl
sources:
- type: file
url: https://files.pythonhosted.org/packages/d5/50/83c593b07763e1161326b3b8c6686f0f4b0f24d5526546bee538c89837d6/decorator-5.1.1-py3-none-any.whl
sha256: b8c3f85900b9dc423225913c5aace94729fe1fa9763b38939a95226f02d37186
x-checker-data:
type: pypi
name: decorator
packagetype: bdist_wheel
- name: charset_normalizer
buildsystem: simple
build-commands:
- pip3 install --prefix=/app charset_normalizer-*.whl
sources:
- type: file
url: https://files.pythonhosted.org/packages/28/76/e6222113b83e3622caa4bb41032d0b1bf785250607392e1b778aca0b8a7d/charset_normalizer-3.3.2-py3-none-any.whl
sha256: 3e4d1f6587322d2788836a99c69062fbb091331ec940e02d12d179c1d53e25fc
x-checker-data:
type: pypi
name: charset_normalizer
packagetype: bdist_wheel
- name: certifi
buildsystem: simple
build-commands:
- pip3 install --prefix=/app certifi-*.whl
sources:
- type: file
url: https://files.pythonhosted.org/packages/ba/06/a07f096c664aeb9f01624f858c3add0a4e913d6c96257acb4fce61e7de14/certifi-2024.2.2-py3-none-any.whl
sha256: dc383c07b76109f368f6106eee2b593b04a011ea4d55f652c6ca24a754d1cdd1
x-checker-data:
type: pypi
name: certifi
packagetype: bdist_wheel
- name: stevedore
buildsystem: simple
build-commands:
- pip3 install --prefix=/app stevedore-*.whl
sources:
- type: file
url: https://files.pythonhosted.org/packages/eb/f1/c7c6205c367c764ee173537f7eaf070bba4dd0fa11bf081813c2f75285a3/stevedore-5.2.0-py3-none-any.whl
sha256: 1c15d95766ca0569cad14cb6272d4d31dae66b011a929d7c18219c176ea1b5c9
x-checker-data:
type: pypi
name: stevedore
packagetype: bdist_wheel
- name: requests
buildsystem: simple
build-commands:
- pip3 install --prefix=/app requests-*.whl
sources:
- type: file
url: https://files.pythonhosted.org/packages/70/8e/0e2d847013cb52cd35b38c009bb167a1a26b2ce6cd6965bf26b47bc0bf44/requests-2.31.0-py3-none-any.whl
sha256: 58cd2187c01e70e6e26505bca751777aa9f2ee0b7f4300988b709f44e013003f
x-checker-data:
type: pypi
name: requests
packagetype: bdist_wheel
- name: rarfile
buildsystem: simple
build-commands:
- pip3 install --prefix=/app rarfile-*.whl
sources:
- type: file
url: https://files.pythonhosted.org/packages/75/34/f06b7de74bcea328d8d7a950aad099c1100578cc3960ffc5a00d30ab511c/rarfile-4.1-py3-none-any.whl
sha256: 17d7554c93c776ceae677e9d927051267d4c5eba38bf64b9cc89a415d9a5f901
x-checker-data:
type: pypi
name: rarfile
packagetype: bdist_wheel
- name: pytz
buildsystem: simple
build-commands:
- pip3 install --prefix=/app pytz-*.whl
sources:
- type: file
url: https://files.pythonhosted.org/packages/9c/3d/a121f284241f08268b21359bd425f7d4825cffc5ac5cd0e1b3d82ffd2b10/pytz-2024.1-py2.py3-none-any.whl
sha256: 328171f4e3623139da4983451950b28e95ac706e13f3f2630a879749e7a8b319
x-checker-data:
type: pypi
name: pytz
packagetype: bdist_wheel
- name: pysrt
buildsystem: simple
build-commands:
- python3 setup.py install --prefix=/app --root=/
sources:
- type: archive
url: https://files.pythonhosted.org/packages/31/1a/0d858da1c6622dcf16011235a2639b0a01a49cecf812f8ab03308ab4de37/pysrt-1.1.2.tar.gz
sha256: b4f844ba33e4e7743e9db746492f3a193dc0bc112b153914698e7c1cdeb9b0b9
x-checker-data:
type: pypi
name: pysrt
- name: babelfish
buildsystem: simple
build-commands:
- pip3 install --prefix=/app babelfish-*.whl
sources:
- type: file
url: https://files.pythonhosted.org/packages/ce/2c/f7951f771261da6740af14fd9698064616aa040780cd8a03243fc43165c7/babelfish-0.6.0-py3-none-any.whl
sha256: 268f1c6279f2a04a66837972e8a9f3dcc68e16f1201eec57d2a4b828a8b41b11
x-checker-data:
type: pypi
name: babelfish
packagetype: bdist_wheel
- name: guessit
buildsystem: simple
build-commands:
- pip3 install --prefix=/app guessit-*.whl
sources:
- type: file
url: https://files.pythonhosted.org/packages/b8/9b/924a8f9709c3143d4c9a301a88042cbce37e09789378217284b19d4f8132/guessit-3.8.0-py3-none-any.whl
sha256: eb5747b1d0fbca926562c1e5894dbc3f6507c35e8c0bd9e38148401cd9579d83
x-checker-data:
type: pypi
name: guessit
packagetype: bdist_wheel
- name: enzyme
buildsystem: simple
build-commands:
- python3 setup.py install --prefix=/app --root=/
sources:
- type: archive
url: https://files.pythonhosted.org/packages/dd/99/e4eee822d9390ebf1f63a7a67e8351c09fb7cd75262e5bb1a5256898def9/enzyme-0.4.1.tar.gz
sha256: f2167fa97c24d1103a94d4bf4eb20f00ca76c38a37499821049253b2059c62bb
x-checker-data:
type: pypi
name: enzyme
- name: typing-extensions
buildsystem: simple
build-commands:
- pip3 install --prefix=/app typing*.whl
sources:
- type: file
url: https://files.pythonhosted.org/packages/f9/de/dc04a3ea60b22624b51c703a84bbe0184abcd1d0b9bc8074b5d6b7ab90bb/typing_extensions-4.10.0-py3-none-any.whl
sha256: 69b1a937c3a517342112fb4c6df7e72fc39a38e7891a5730ed4985b5214b5475
x-checker-data:
type: pypi
name: typing-extensions
packagetype: bdist_wheel
- name: dogpile
buildsystem: simple
build-commands:
- pip3 install --prefix=/app dogpile*.whl
sources:
- type: file
url: https://files.pythonhosted.org/packages/62/bb/f487b5490301975d9c88e935043f2b6bc871ad4b90d570ce74c92879b0cb/dogpile.cache-1.3.2-py3-none-any.whl
sha256: c59250e23ddb4c03259c315c3b03d18b0658ec4f30ee665b39b91faf6401ef41
x-checker-data:
type: pypi
name: dogpile.cache
packagetype: bdist_wheel
- name: click
buildsystem: simple
build-commands:
- pip3 install --prefix=/app click-*.whl
sources:
- type: file
url: https://files.pythonhosted.org/packages/00/2e/d53fa4befbf2cfa713304affc7ca780ce4fc1fd8710527771b58311a3229/click-8.1.7-py3-none-any.whl
sha256: ae74fb96c20a0277a1d615f1e4d73c8414f5a98db8b799a7931d1582f3390c28
x-checker-data:
type: pypi
name: click
packagetype: bdist_wheel
- name: chardet
buildsystem: simple
build-commands: