-
Notifications
You must be signed in to change notification settings - Fork 21
/
io.mpv.Mpv.yml
1154 lines (1084 loc) · 37.7 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: '24.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.21.2.tar.gz
sha256: bde66be3d2025cb949de38518ad2652f3795f824c7fa89d4e443ede1ae828ea6
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.2.1
commit: 792f80402ee06ce69bca3a8f2a84295999c3a170
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: 19878ec05c239ccaf5f3d17af27670a963e25b8b
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.12.13/yt-dlp.tar.gz
sha256: ba55dd031ffa8452d0624a3c2ac993427f3aac2e5a5679f253bdd108d764e7c4
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
- --enable-asm
- --enable-harfbuzz
- --enable-fontconfig
sources:
- type: git
url: https://github.com/libass/libass.git
tag: 0.17.3
commit: e46aedea0a0d17da4c4ef49d84b94a7994664ab5
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.28.1
# commit: fc15e229d9d337e46d730f00647821adbbd58548
# 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.2.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: 186892539dedd661276014d71318c8c8f97ecb1250a86625256abd4defbf0d0c
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
mirror-urls:
- https://videolan.mirror.ba/libdvdread/6.1.3/libdvdread-6.1.3.tar.bz2
- https://videolan.c3sl.ufpr.br/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
mirror-urls:
- https://videolan.mirror.ba/libdvdnav/6.1.1/libdvdnav-6.1.1.tar.bz2
- https://videolan.c3sl.ufpr.br/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
# libgcrypt-1.10.3 build fails with freedeskop 24.08
- name: libgcrypt
config-opts:
- --disable-static
- --disable-doc
sources:
- type: git
url: https://dev.gnupg.org/source/libgcrypt.git
tag: libgcrypt-1.10.3
commit: aa1610866f8e42bdc272584f0a717f32ee050a22
# disabled for libgcrypt-1.11 because of build fail
#x-checker-data:
# type: anitya
# project-id: 1623
# stable-only: true
# tag-template: libgcrypt-$version
- 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
mirror-urls:
- https://videolan.mirror.ba/libaacs/0.11.1/libaacs-0.11.1.tar.bz2
- https://videolan.c3sl.ufpr.br/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
mirror-urls:
- https://videolan.mirror.ba/libbluray/1.3.4/libbluray-1.3.4.tar.bz2
- https://videolan.c3sl.ufpr.br/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: Tesseract
config-opts:
- --disable-static
modules:
- name: Leptonica
config-opts:
- --disable-static
- --with-pic
sources:
- type: archive
url: http://www.leptonica.org/source/leptonica-1.85.0.tar.gz
sha256: 3745ae3bf271a6801a2292eead83ac926e3a9bc1bf622e9cd4dd0f3786e17205
x-checker-data:
type: anitya
project-id: 1549
stable-only: true
url-template: http://www.leptonica.org/source/leptonica-$version.tar.gz
cleanup:
- /bin
sources:
- type: git
url: https://github.com/tesseract-ocr/tesseract.git
tag: 5.5.0
commit: 64eab6c457b2337dd690746a5fde5c222b40d5f8
x-checker-data:
type: json
url: https://api.github.com/repos/tesseract-ocr/tesseract/releases/latest
timestamp-query: .published_at
tag-query: .tag_name
version-query: .tag_name
cleanup:
- /bin
- name: ImageMagick
config-opts:
- --disable-static
- --disable-docs
- --with-hdri
- --with-pic
sources:
- type: archive
url: https://github.com/ImageMagick/ImageMagick/archive/7.1.1-41.tar.gz
sha256: cabf2516dce66da56dd4e3071453b808eefaf4326a93292d2a222a4ea623d601
x-checker-data:
type: anitya
project-id: 1372
stable-only: true
url-template: https://github.com/ImageMagick/ImageMagick/archive/$version.tar.gz
cleanup:
- /bin
- /etc
- /lib/ImageMagick*
- /share/ImageMagick*
- 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: v4.0.0
commit: 1d95888bec3ae0a17c0c4af791810d5a63f6bc35
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.5
commit: 0df0707f2f10187127e36acfbc3ba9b9ca5b5cf0
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.2.72.0
commit: c69278340ab1d5559c7d7bf0edf615dc33ddbba7
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
#mirror-urls:
# - https://github.com/jpsdr/x264
commit: da14df5535fd46776fb1c9da3130973295c87aca
# 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: '4.0'
commit: 6318f223684118a2c71f67f3f4633a9e35046b00
x-checker-data:
type: git
tag-pattern: ^([\d.]+)$
- name: libmysofa
buildsystem: cmake
config-opts:
- -DBUILD_TESTS=OFF
sources:
- type: git
commit: 444d2c1d7ececf5cc2d96d3b17b209047b02318d
tag: v1.3.3
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.11.0
# commit: 4df1e9eccdf86b8df4c0c7c08f529263906f9c4f
# disable-shallow-clone: true
# x-checker-data:
# type: git
# tag-pattern: ^v([\d.]+)$
# - name: vulkan-headers
# buildsystem: cmake-ninja
# sources:
# - type: archive
# url: https://github.com/KhronosGroup/Vulkan-Headers/archive/v1.3.286.tar.gz
# sha256: a82a6982efe5e603e23505ca19b469e8f3d876fc677c46b7bfb6177f517bf8fe
- 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
- --enable-libxml2
- --enable-vulkan
sources:
- type: git
url: https://github.com/FFmpeg/FFmpeg.git
mirror-urls:
- https://git.ffmpeg.org/ffmpeg.git
commit: b08d7969c550a804a59511c7b83f2dd8cc0499b8
tag: n7.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:
- --with-python-prefix=${FLATPAK_DEST}
sources:
- type: archive
url: https://github.com/vapoursynth/vapoursynth/archive/refs/tags/R70.tar.gz
sha256: 59c813ec36046be33812408ff00e16cae63c6843af6acf4e34595910a80e267b
x-checker-data:
type: anitya
project-id: 15982
stable-only: true
url-template: https://github.com/vapoursynth/vapoursynth/archive/$version.tar.gz
- name: libplacebo
buildsystem: meson
config-opts:
- -Dvulkan=enabled
- -Dshaderc=enabled
cleanup:
- /include
- /lib/pkgconfig
sources:
- type: git
url: https://github.com/haasn/libplacebo.git
mirror-urls:
- https://code.videolan.org/videolan/libplacebo.git
tag: v7.349.0
commit: 1fd3c7bde7b943fe8985c893310b5269a09b46c5
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: v2024.1
# commit: 04896c462d9f3f504c99a4698605b6524af813c1
# 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: 4f7b471f1a66b6d06462cd4ba57628cc0cd087d7
# dest: third_party/spirv-headers
#x-checker-data:
# type: git
# tag-pattern: ^sdk-([\d.]+)$
# - type: git
# url: https://github.com/KhronosGroup/glslang.git
# tag: 15.0.0
# commit: 46ef757e048e760b46601e6e77ae0cb72c97bd2f
# 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
- sed '/^X-KDE-Protocols/s/,smb//; /^X-KDE-Protocols/s/smb,//; /^X-KDE-Protocols/s/smb//;
/^X-KDE-Protocols=$/d' -i /app/share/applications/mpv.desktop
sources:
- type: git
url: https://github.com/mpv-player/mpv.git
tag: v0.39.0
commit: a0fba7be57f3822d967b04f0f6b6d6341e7516e7
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:
- if [ -f "MPV_VERSION" ]; then version=$(cat MPV_VERSION); else version=$(git
describe --tags --abbrev=0); fi
- sed -i "s/date=\"[0-9-]*\"/date=\"$(git log -n1 --pretty=format:%ad --date=short)\"/"
io.mpv.Mpv.appdata.xml
- sed -i "s/version=\"[0-9.]*\"/version=\"$version\"/" io.mpv.Mpv.appdata.xml
- mkdir -p /app/share/appdata
- mv io.mpv.Mpv.appdata.xml /app/share/appdata/io.mpv.Mpv.appdata.xml
- chmod 644 /app/share/appdata/io.mpv.Mpv.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.2.tar.lz
mirror-urls:
- https://mirrors.kernel.org/gnu/ed/ed-1.20.1.tar.lz
- https://mirrors.ocf.berkeley.edu/gnu/ed/ed-1.20.1.tar.lz
- https://ftpmirror.gnu.org/gnu/ed/ed-1.20.1.tar.lz
sha256: 65fec7318f48c2ca17f334ac0f4703defe62037bb13cc23920de077b5fa24523
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/33/cf/8435d5a7159e2a9c83a95896ed596f68cf798005fe107cc655b5c5c14704/urllib3-1.26.20-py2.py3-none-any.whl
sha256: 0ed14ccfbf1c30a9072c7ca157e4319b70d65f623e91e7b32fadb2853431016e
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/d1/c2/fe97d779f3ef3b15f05c94a2f1e3d21732574ed441687474db9d342a7315/soupsieve-2.6-py3-none-any.whl
sha256: e72c4ff06e4fb6e4b5a9f0f55fe6e81514581fca1515028625d0f299c602ccc9
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/1d/44/6a65ecd630393d47ad3e7d5354768cb7f9a10b3a0eb2cd8c6f52b28211ee/pbr-6.1.0-py2.py3-none-any.whl
sha256: a776ae228892d8013649c0aeccbb3d5f99ee15e005a4cbb7e61d55a067b28a2a
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/76/c6/c88e154df9c4e1a2a66ccf0005a88dfb2650c1dffb6f5ce603dfbd452ce3/idna-3.10-py3-none-any.whl
sha256: 946d195a0d259cbba61165e88e65941f16e9b36ea6ddb97f00452bae8b1287d3
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/bf/9b/08c0432272d77b04803958a4598a51e2a4b51c06640af8b8f0f908c18bf2/charset_normalizer-3.4.0-py3-none-any.whl
sha256: fe9f97feb71aa9896b81973a7bbada8c49501dc73e58a10fcef6663af95e5079
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/a5/32/8f6669fc4798494966bf446c8c4a162e0b5d893dff088afddf76414f70e1/certifi-2024.12.14-py3-none-any.whl
sha256: 1275f7a45be9464efc1173084eaa30f866fe2e47d389406136d332ed4967ec56
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/8f/73/d0091d22a65b55e8fb6aca7b3b6713b5a261dd01cec4cfd28ed127ac0cfc/stevedore-5.4.0-py3-none-any.whl
sha256: b0be3c4748b3ea7b854b265dcb4caa891015e442416422be16f8b31756107857
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/f9/9b/335f9764261e915ed497fcdeb11df5dfd6f7bf257d4a6a2a686d80da4d54/requests-2.32.3-py3-none-any.whl
sha256: 70761cfe03c773ceb22aa2f671b4757976145175cdfca038c02654d061d6dcc6
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/62/fc/ab37559419ca36dd8dd317c3a98395ed4dcee2beeb28bf6059b972906727/rarfile-4.2-py3-none-any.whl
sha256: 8757e1e3757e32962e229cab2432efc1f15f210823cc96ccba0f6a39d17370c9
x-checker-data:
type: pypi
name: rarfile
packagetype: bdist_wheel
- name: pytz
buildsystem: simple
build-commands:
- pip3 install --prefix=/app pytz-*.whl