Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
94 lines (93 sloc) 3.06 KB
{
"app-id": "io.mpv.app",
"runtime": "org.freedesktop.Platform",
"runtime-version": "1.4",
"sdk": "org.freedesktop.Sdk",
"rename-desktop-file": "mpv.desktop",
"rename-icon": "mpv",
"command": "mpv",
"separate-locales": false,
"finish-args": [
/* X11 + XShm access */
"--share=ipc", "--socket=x11",
/* Wayland access */
"--socket=wayland",
/* OpenGL access */
"--device=dri",
/* Needs to talk to the network: */
"--share=network",
/* XXX This sucks */
"--filesystem=home",
/* Play sounds */
"--socket=pulseaudio",
/* Browse user's Videos directory */
"--filesystem=xdg-videos",
/* Browse gvfs */
"--talk-name=org.gtk.vfs", "--talk-name=org.gtk.vfs.*",
/* xdg-screensaver */
"--talk-name=org.gnome.ScreenSaver"
],
"build-options" : {
"cflags": "-O2 -g",
"cxxflags": "-O2 -g"
},
"cleanup": [ "/include", "/share/bash-completion", "/lib/pkgconfig/", "/lib/*.a", "/lib/*.la", "/bin/av*", "/bin/fribidi", "/bin/*asm" ],
"modules": [
{
"name": "fribidi",
"sources": [
{
"type": "archive",
"url": "http://fribidi.org/download/fribidi-0.19.7.tar.bz2",
"sha256": "08222a6212bbc2276a2d55c3bf370109ae4a35b689acbc66571ad2a670595a8e"
}
]
},
{
"name": "libass",
"sources": [
{
"type": "archive",
"url": "https://github.com/libass/libass/releases/download/0.13.1/libass-0.13.1.tar.xz",
"sha256": "4aa36b1876a61cab46fc9284fee84224b9e2840fe7b3e63d96a8d32574343fe7"
}
]
},
{
"name": "libav",
"sources": [
{
"type": "archive",
"url": "https://libav.org/releases/libav-11.6.tar.xz",
"sha256": "542f30e4266d2d2226e681b888bc718c995f5438f2db66a9a27d581243d27aed"
}
]
},
{
"name": "mpv",
"sources": [
{
"type": "archive",
"url": "https://github.com/mpv-player/mpv/archive/v@VERSION@.tar.gz",
"sha256": "@MPV_SHA256SUM@"
},
{
"type": "file",
"url": "https://waf.io/waf-1.8.21",
"sha256": "31383a18d183c72be70d251e09b47389a6eb4bebbc94b737cff3187ddd88dff1",
"dest-filename": "waf"
},
{
"type": "script",
"commands": ["chmod +x waf", "./waf configure \"$@\""],
"dest-filename": "configure"
},
{
"type": "file",
"path": "mpv-Makefile",
"dest-filename": "Makefile"
}
]
}
]
}
You can’t perform that action at this time.