{ "app-id": "com.github.iwalton3.jellyfin-mpv-desktop", "runtime": "org.gnome.Platform", "runtime-version": "3.36", "sdk": "org.gnome.Sdk", "command": "jellyfin-mpv-desktop", "finish-args": [ "--share=ipc", "--socket=fallback-x11", "--socket=wayland", "--device=all", "--share=network", "--socket=pulseaudio", "--filesystem=xdg-pictures", "--talk-name=org.gtk.vfs", "--talk-name=org.gtk.vfs.*", "--talk-name=org.gnome.SettingsDaemon.MediaKeys", "--env=LC_NUMERIC=C" ], "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-oss-audio --disable-alsa", "python3 waf build", "python3 waf install" ], "sources": [ { "type": "archive", "url": "https://github.com/mpv-player/mpv/archive/v0.32.0.tar.gz", "sha256": "9163f64832226d22e24bbc4874ebd6ac02372cd717bef15c28a0aa858c5fe592" }, { "type": "file", "url": "https://waf.io/waf-2.0.19", "sha256": "ba63c90a865a9bcf46926c4e6776f9a3f73d29f33d49b7f61f96bc37b7397cef", "dest-filename": "waf" } ], "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" }, { "type": "shell", "commands": [ "sed -i 's|/usr/local|/app|' ./Makefile" ] } ] }, { "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.16.7.tar.bz2", "sha256": "ee917a7e1af72c60c0532d9fdb9e48baf641d427aa7b009a9b2ca821f9e8e0d9" } ] }, { "name": "nv-codec-headers", "cleanup": [ "*" ], "no-autogen": true, "make-install-args": [ "PREFIX=/app" ], "sources": [ { "type": "git", "url": "https://git.videolan.org/git/ffmpeg/nv-codec-headers.git", "commit": "cf8b0b2bb70b59068b06f1d5610627c8aa6d5652" } ] }, { "name": "ffmpeg", "cleanup": [ "/include", "/lib/pkgconfig", "/share/ffmpeg/examples" ], "config-opts": [ "--enable-shared", "--disable-static", "--enable-gnutls", "--disable-doc", "--disable-programs", "--disable-encoders", "--disable-muxers", "--enable-encoder=png", "--enable-libv4l2", "--enable-libdav1d" ], "sources": [ { "type": "archive", "url": "https://ffmpeg.org/releases/ffmpeg-4.2.2.tar.xz", "sha256": "cb754255ab0ee2ea5f66f8850e1bd6ad5cac1cd855d0a2f4990fb8c668b0d29c" } ] }, { "name": "libass", "cleanup": [ "/include", "/lib/*.la", "/lib/pkgconfig" ], "config-opts": [ "--disable-static" ], "sources": [ { "type": "archive", "url": "https://github.com/libass/libass/releases/download/0.14.0/libass-0.14.0.tar.xz", "sha256": "881f2382af48aead75b7a0e02e65d88c5ebd369fe46bc77d9270a94aa8fd38a2" } ] }, { "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.6.tar.xz", "sha256": "8351328cdfbcb2432e63938721dd781eb8c11ebc56e3a89d0f84576b96002c61" } ] } ] }, { "name": "python3-jellyfin-mpv-desktop", "buildsystem": "simple", "build-commands": [ "pip3 install --no-index --find-links=\"file://${PWD}\" --prefix=${FLATPAK_DEST} 'jellyfin-mpv-shim[desktop]'" ], "sources": [ { "type": "file", "url": "https://files.pythonhosted.org/packages/12/e6/80034772a822b5b4e8c2be54b795cfb5e41c845b1d9f77b58978e725bd7c/pywebview-3.2.tar.gz", "sha256": "8c84e0dca08717b1091d2cbbf8d577fca19900b55c1a95d791380d1c8cc2c0f2" }, { "type": "file", "url": "https://files.pythonhosted.org/packages/bc/a9/01ffebfb562e4274b6487b4bb1ddec7ca55ec7510b22e4c51f14098443b8/chardet-3.0.4-py2.py3-none-any.whl", "sha256": "fc323ffcaeaed0e0a02bf4d117757b98aed530d9ed4531e3e15460124c106691" }, { "type": "file", "url": "https://files.pythonhosted.org/packages/8b/0f/52de51b9b450ed52694208ab952d5af6ebbcbce7f166a48784095d930d8c/websocket_client-0.57.0.tar.gz", "sha256": "d735b91d6d1692a6a181f2a8c9e0238e5f6373356f561bb9dc4c7af36f452010" }, { "type": "file", "url": "https://files.pythonhosted.org/packages/57/2b/26e37a4b034800c960a00c4e1b3d9ca5d7014e983e6e729e33ea2f36426c/certifi-2020.4.5.1-py2.py3-none-any.whl", "sha256": "1d987a998c75633c40847cc966fcf5904906c920a7f17ef374f5aa4282abd304" }, { "type": "file", "url": "https://files.pythonhosted.org/packages/c6/54/578dfa87c4d8bb6cb2c3618223feb33ebbd0f54b6af53fcd75c2231e9d48/pywebview-3.2-py3-none-any.whl", "sha256": "d6ce5f1aee7d070dc065f20c6f65a351d02c3890a688602352ddd57cf2c521cc" }, { "type": "file", "url": "https://files.pythonhosted.org/packages/21/9f/b251f7f8a76dec1d6651be194dfba8fb8d7781d10ab3987190de8391d08e/six-1.14.0.tar.gz", "sha256": "236bdbdce46e6e6a3d61a337c0f8b763ca1e8717c03b369e87a7ec7ce1319c0a" }, { "type": "file", "url": "https://files.pythonhosted.org/packages/b9/2e/64db92e53b86efccfaea71321f597fa2e1b2bd3853d8ce658568f7a13094/MarkupSafe-1.1.1.tar.gz", "sha256": "29872e92839765e546828bb7754a68c418d927cd064fd4708fab9fe9c8bb116b" }, { "type": "file", "url": "https://files.pythonhosted.org/packages/4c/5f/f61b420143ed1c8dc69f9eaec5ff1ac36109d52c80de49d66e0c36c3dfdf/websocket_client-0.57.0-py2.py3-none-any.whl", "sha256": "0fc45c961324d79c781bab301359d5a1b00b13ad1b10415a4780229ef71a5549" }, { "type": "file", "url": "https://files.pythonhosted.org/packages/7a/a6/e487b9c254bf8642e6991c0c762cd260521ab23894961c1ca788d900a8b5/python-mpv-jsonipc-1.1.8.tar.gz", "sha256": "6306aca18662337107d2df3f98a1e455bb320ef29a49b1f976d2dc84a128d1a7" }, { "type": "file", "url": "https://files.pythonhosted.org/packages/10/27/a33329150147594eff0ea4c33c2036c0eadd933141055be0ff911f7f8d04/Werkzeug-1.0.1.tar.gz", "sha256": "6c80b1e5ad3665290ea39320b91e1be1e0d5f60652b964a3070216de83d2e47c" }, { "type": "file", "url": "https://files.pythonhosted.org/packages/1a/70/1935c770cb3be6e3a8b78ced23d7e0f3b187f5cbfab4749523ed65d7c9b1/requests-2.23.0-py2.py3-none-any.whl", "sha256": "43999036bfa82904b6af1d99e4882b560e5e2c68e5c4b0aa03b655f3d7d73fee" }, { "type": "file", "url": "https://files.pythonhosted.org/packages/d8/03/e491f423379ea14bb3a02a5238507f7d446de639b623187bccc111fbecdf/Jinja2-2.11.1.tar.gz", "sha256": "93187ffbc7808079673ef52771baa950426fd664d3aad1d0fa3e95644360e250" }, { "type": "file", "url": "https://files.pythonhosted.org/packages/fc/bb/a5768c230f9ddb03acc9ef3f0d4a3cf93462473795d18e9535498c8f929d/chardet-3.0.4.tar.gz", "sha256": "84ab92ed1c4d4f16916e05906b6b75a6c0fb5db821cc65e70cbd64a3e2a5eaae" }, { "type": "file", "url": "https://files.pythonhosted.org/packages/55/ce/d6f862515948011e8f45d5b5c14def0c2068e5b6e27c4940167a02721651/python-mpv-0.4.6.tar.gz", "sha256": "9daaf2866e76cb02d5ab536ef006696dc34b728d0a6d279e880a1942f6a9ba3a" }, { "type": "file", "url": "https://files.pythonhosted.org/packages/65/eb/1f97cb97bfc2390a276969c6fae16075da282f5058082d4cb10c6c5c1dba/six-1.14.0-py2.py3-none-any.whl", "sha256": "8f3cd2e254d8f793e7f3d6d9df77b92252b52637291d0f0da013c76ea2724b6c" }, { "type": "file", "url": "https://files.pythonhosted.org/packages/32/39/36f8092fd7662effd8dd37ec6ae77688427434ed5b5a34f4822171f68041/jellyfin-apiclient-python-1.5.0.tar.gz", "sha256": "e71080f44e601e31d1f439ef3f4281286f98e98f650f324df8446d14b5b7e170" }, { "type": "file", "url": "https://files.pythonhosted.org/packages/cc/94/5f7079a0e00bd6863ef8f1da638721e9da21e5bacee597595b318f71d62e/Werkzeug-1.0.1-py2.py3-none-any.whl", "sha256": "2de2a5db0baeae7b2d2664949077c2ac63fbd16d98da0ff71837f7d1dea3fd43" }, { "type": "file", "url": "https://files.pythonhosted.org/packages/b8/e2/a3a86a67c3fc8249ed305fc7b7d290ebe5e4d46ad45573884761ef4dea7b/certifi-2020.4.5.1.tar.gz", "sha256": "51fcb31174be6e6664c5f69e3e1691a2d72a1a12e90f872cbdb1567eb47b6519" }, { "type": "file", "url": "https://files.pythonhosted.org/packages/0c/c6/89b3ba5066e795101b776e89437a6bae9f564ace8901f163b5c71142d60d/jellyfin_apiclient_python-1.5.0-py3-none-any.whl", "sha256": "109303c6b5d515ce247a1f639eb0d6670c2c9d611c8750b42c010ec22866eeb9" }, { "type": "file", "url": "https://files.pythonhosted.org/packages/68/1a/f27de07a8a304ad5fa817bbe383d1238ac4396da447fa11ed937039fa04b/itsdangerous-1.1.0.tar.gz", "sha256": "321b033d07f2a4136d3ec762eac9f16a10ccd60f53c0c91af90217ace7ba1f19" }, { "type": "file", "url": "https://files.pythonhosted.org/packages/cb/e3/c38965e081448c110515910cfb982cec2bd2e31ab10929a51faca993fabe/python_mpv_jsonipc-1.1.8-py3-none-any.whl", "sha256": "0d0888d1b9ca0972ac21268ab48f7afa9f071bc026b9681f844e76332bf5127a" }, { "type": "file", "url": "https://files.pythonhosted.org/packages/c5/3e/1591b0961057bebe15cc0499fc8a56661df02fc8b05e6ff991df509f2e94/jellyfin_mpv_shim-1.5.5-py3-none-any.whl", "sha256": "ba181bcc64b68544b9ba16d1bf544ff643115a377a65d9c838eb3b7bfafbad0c" }, { "type": "file", "url": "https://files.pythonhosted.org/packages/dd/c0/4d8f43a9b16e289f36478422031b8a63b54b6ac3b1ba605d602f10dd54d6/click-7.1.1-py2.py3-none-any.whl", "sha256": "e345d143d80bf5ee7534056164e5e112ea5e22716bbb1ce727941f4c8b471b9a" }, { "type": "file", "url": "https://files.pythonhosted.org/packages/cb/19/57503b5de719ee45e83472f339f617b0c01ad75cba44aba1e4c97c2b0abd/idna-2.9.tar.gz", "sha256": "7588d1c14ae4c77d74036e8c22ff447b26d0fde8f007354fd48a7814db15b7cb" }, { "type": "file", "url": "https://files.pythonhosted.org/packages/4e/0b/cb02268c90e67545a0e3a37ea1ca3d45de3aca43ceb7dbf1712fb5127d5d/Flask-1.1.2.tar.gz", "sha256": "4efa1ae2d7c9865af48986de8aeb8504bf32c7f3d6fdc9353d34b21f4b127060" }, { "type": "file", "url": "https://files.pythonhosted.org/packages/90/1f/4e6b0aa32add45fe1f27a99012878fc39cf2bbd4a8002acfddb3312997b0/jellyfin-mpv-shim-1.5.5.tar.gz", "sha256": "2ba9ee82f02e8914c8f99e3aa1aac6616f631b92f4baedb2c67026e19944608e" }, { "type": "file", "url": "https://files.pythonhosted.org/packages/27/24/4f35961e5c669e96f6559760042a55b9bcfcdb82b9bdb3c8753dbe042e35/Jinja2-2.11.1-py2.py3-none-any.whl", "sha256": "b0eaf100007721b5c16c1fc1eecb87409464edc10469ddc9a22a27a99123be49" }, { "type": "file", "url": "https://files.pythonhosted.org/packages/89/e3/afebe61c546d18fb1709a61bee788254b40e736cff7271c7de5de2dc4128/idna-2.9-py2.py3-none-any.whl", "sha256": "a068a21ceac8a4d63dbfd964670474107f541babbd2250d61922f029858365fa" }, { "type": "file", "url": "https://files.pythonhosted.org/packages/4e/ab/5d6bc3b697154018ef196f5b17d958fac3854e2efbc39ea07a284d4a6a9b/click-7.1.1.tar.gz", "sha256": "8a18b4ea89d8820c5d0c7da8a64b2c324b4dabb695804dbfea19b9be9d88c0cc" }, { "type": "file", "url": "https://files.pythonhosted.org/packages/76/ae/44b03b253d6fade317f32c24d100b3b35c2239807046a4c953c7b89fa49e/itsdangerous-1.1.0-py2.py3-none-any.whl", "sha256": "b12271b2047cb23eeb98c8b5622e2e5c5e9abd9784a153e9d8ef9cb4dd09d749" }, { "type": "file", "url": "https://files.pythonhosted.org/packages/f2/28/2a03252dfb9ebf377f40fba6a7841b47083260bf8bd8e737b0c6952df83f/Flask-1.1.2-py2.py3-none-any.whl", "sha256": "8a4fdd8936eba2512e9c85df320a37e694c93945b33ef33c89946a340a238557" }, { "type": "file", "url": "https://files.pythonhosted.org/packages/f5/4f/280162d4bd4d8aad241a21aecff7a6e46891b905a4341e7ab549ebaf7915/requests-2.23.0.tar.gz", "sha256": "b3f43d496c6daba4493e7c431722aeb7dbc6288f52a6e04e7b6023b0247817e6" }, { "type": "file", "url": "https://files.pythonhosted.org/packages/09/06/3bc5b100fe7e878d3dee8f807a4febff1a40c213d2783e3246edde1f3419/urllib3-1.25.8.tar.gz", "sha256": "87716c2d2a7121198ebcb7ce7cccf6ce5e9ba539041cfbaeecfb641dc0bf6acc" }, { "type": "file", "url": "https://files.pythonhosted.org/packages/e8/74/6e4f91745020f967d09332bb2b8b9b10090957334692eb88ea4afe91b77f/urllib3-1.25.8-py2.py3-none-any.whl", "sha256": "2f3db8b19923a873b3e5256dc9c2dedfa883e33d87c690d9c7913e1f40673cdc" } ] } ] }