-
Notifications
You must be signed in to change notification settings - Fork 13
/
io.mpv.player.yaml
128 lines (128 loc) · 4.12 KB
/
io.mpv.player.yaml
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
app-id: io.mpv.player
runtime: org.freedesktop.Platform
runtime-version: '21.08'
sdk: org.freedesktop.Sdk
command: mpv
rename-desktop-file: mpv.desktop
rename-icon: mpv
finish-args:
- --device=all
- --env=LC_NUMERIC=C
- --filesystem=xdg-download
- --filesystem=xdg-music
- --filesystem=xdg-pictures
- --filesystem=xdg-run/pipewire-0:ro
- --filesystem=xdg-videos
- --own-name=org.mpris.MediaPlayer2.mpv
- --share=ipc
- --share=network
- --socket=fallback-x11
- --socket=pulseaudio
- --socket=wayland
- --socket=x11
- --system-talk-name=org.freedesktop.RealtimeKit1
- --talk-name=org.freedesktop.Flatpak
- --talk-name=org.freedesktop.Flatpak.*
cleanup:
- /include
- /lib/cmake
- /lib/pkgconfig
- /lib/udev
- '*.a'
- '*.la'
modules:
- name: mpv
buildsystem: simple
build-commands:
- python3 waf configure --prefix=/app --enable-libmpv-shared --disable-build-date
--disable-alsa
- python3 waf build
- python3 waf install
sources:
- type: archive
url: https://github.com/mpv-player/mpv/archive/8087e3371f8ffbdc8ddcbc0445392b0480ef02a4.tar.gz
sha256: a01446eb37c1bbcbc9cefc578058ef8779d9b6a1aafd2f56fbfe60a2eb9cb3fe
x-checker-data:
type: anitya
project-id: 5348
stable-only: true
versions:
'>': 0.34.1
url-template: https://github.com/mpv-player/mpv/archive/v$version.tar.gz
- type: file
url: https://waf.io/waf-2.0.23
sha256: 28a2e4583314a162cfcbffefb8a9202c1d7869040d30b5852da479b76d9c0491
dest-filename: waf
x-checker-data:
type: anitya
project-id: 5116
stable-only: true
url-template: https://waf.io/waf-$version
modules:
- name: luajit
no-autogen: true
cleanup:
- /bin
- /lib/*.a
- /include
- /lib/pkgconfig
- /share/man
sources:
- type: archive
url: http://luajit.org/download/LuaJIT-2.1.0-beta3.tar.gz
sha256: 1ad2e34b111c802f9d0cdf019e986909123237a28c746b21295b63c9e785d9c3
x-checker-data:
type: anitya
project-id: 6444
stable-only: false
url-template: http://luajit.org/download/LuaJIT-$version.tar.gz
- type: shell
commands:
- sed -i 's|/usr/local|/app|' ./Makefile
- ../shared-modules/ffmpeg/ffmpeg.json
- 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.7.tar.xz
sha256: 3fc79408ae1d84b406922fa9319ce005631c95ca0f34b205fad867e8b30e45b1
x-checker-data:
type: anitya
project-id: 9265
stable-only: true
url-template: https://www.freedesktop.org/software/uchardet/releases/uchardet-$version.tar.xz
- ../shared-modules/flatpak-spawn-wrappers/youtube-dl.json
- ../shared-modules/flatpak-spawn-wrappers/yt-dlp.json
- name: mpv-mpris
buildsystem: simple
build-commands:
- make
- install -Dm644 mpris.so -t /app/lib/mpv/
sources:
- type: archive
url: https://github.com/hoyon/mpv-mpris/archive/0.6.tar.gz
sha256: 8b4493cc29d09f175d6f55e6905e77429228b51241f2ae4c3681e35fefef9ae8
x-checker-data:
type: anitya
project-id: 236434
stable-only: true
url-template: https://github.com/hoyon/mpv-mpris/archive/$version.tar.gz
# - name: mpvpaper
# buildsystem: meson
# sources:
# - type: archive
# url: https://github.com/GhostNaN/mpvpaper/archive/1.2.tar.gz
# sha256: 4bd11c9f2ff46a331ef5177cf63141d63c91ff356ab87a3fb67faec1d4d87bff
# x-checker-data:
# type: anitya
# project-id: 235058
# stable-only: true
# url-template: https://github.com/GhostNaN/mpvpaper/archive/$version.tar.gz