diff --git a/flatpaker/actions/build_runtime.py b/flatpaker/actions/build_runtime.py index cd6e520..33acc58 100644 --- a/flatpaker/actions/build_runtime.py +++ b/flatpaker/actions/build_runtime.py @@ -17,7 +17,8 @@ def _build_runtime(args: BaseBuildArguments, sdk: pathlib.Path, need_platform_workaround: bool) -> None: build_command: list[str] = [ - 'flatpak-builder', '--force-clean', '--user', 'build', sdk.as_posix()] + 'flatpak-builder', '--force-clean', '--user', + '--install-deps-from=flathub', 'build', sdk.as_posix()] if args.export: build_command.extend(['--repo', args.repo]) diff --git a/flatpaker/data/com.github.dcbaker.flatpaker.RPGM.Platform.yml b/flatpaker/data/com.github.dcbaker.flatpaker.RPGM.Platform.yml index 4b2f96d..4984618 100644 --- a/flatpaker/data/com.github.dcbaker.flatpaker.RPGM.Platform.yml +++ b/flatpaker/data/com.github.dcbaker.flatpaker.RPGM.Platform.yml @@ -4,21 +4,22 @@ runtime-version: "24.08" runtime: org.freedesktop.Platform sdk: org.freedesktop.Sdk inherit-extensions: - - "org.freedesktop.Platform.GL" + - "org.freedesktop.Platform.GL" + - "org.freedesktop.Platform.VAAPI.Intel" modules: - - name: "nwjs" - buildsystem: "simple" - sources: - - type: "archive" - url: "https://dl.nwjs.io/v0.114.1/nwjs-v0.114.1-linux-x64.tar.gz" - sha256: "35e53de9b37edf8a0cd77068d74728bcd470ae6569f88a4a15b97d27647635db" - only_arches: - - x86_64 - - type: "archive" - url: "https://dl.nwjs.io/v0.114.1/nwjs-v0.114.1-linux-arm64.tar.gz" - sha256: "40befc36553e189151a3d89481da2aa02b1d250df447f57020e142e1953090ff" - only_arches: - - aarch64 - build-commands: - - "mkdir /usr/lib/nwjs" - - "mv * /usr/lib/nwjs/" + - name: "nwjs" + buildsystem: "simple" + sources: + - type: "archive" + url: "https://dl.nwjs.io/v0.114.1/nwjs-v0.114.1-linux-x64.tar.gz" + sha256: "35e53de9b37edf8a0cd77068d74728bcd470ae6569f88a4a15b97d27647635db" + only_arches: + - x86_64 + - type: "archive" + url: "https://dl.nwjs.io/v0.114.1/nwjs-v0.114.1-linux-arm64.tar.gz" + sha256: "40befc36553e189151a3d89481da2aa02b1d250df447f57020e142e1953090ff" + only_arches: + - aarch64 + build-commands: + - "mkdir /usr/lib/nwjs" + - "mv * /usr/lib/nwjs/" diff --git a/flatpaker/data/com.github.dcbaker.flatpaker.RenPy.7.py2.Sdk.yml b/flatpaker/data/com.github.dcbaker.flatpaker.RenPy.7.py2.Sdk.yml index f8005fd..32a277f 100644 --- a/flatpaker/data/com.github.dcbaker.flatpaker.RenPy.7.py2.Sdk.yml +++ b/flatpaker/data/com.github.dcbaker.flatpaker.RenPy.7.py2.Sdk.yml @@ -7,6 +7,7 @@ runtime: org.freedesktop.Platform sdk: org.freedesktop.Sdk inherit-extensions: - "org.freedesktop.Platform.GL" + - "org.freedesktop.Platform.VAAPI.Intel" modules: - "modules/renpy-shared.yml" - "modules/python-2.7.json" diff --git a/flatpaker/data/com.github.dcbaker.flatpaker.RenPy.7.py3.Sdk.yml b/flatpaker/data/com.github.dcbaker.flatpaker.RenPy.7.py3.Sdk.yml index 9ffcf35..31c6cbd 100644 --- a/flatpaker/data/com.github.dcbaker.flatpaker.RenPy.7.py3.Sdk.yml +++ b/flatpaker/data/com.github.dcbaker.flatpaker.RenPy.7.py3.Sdk.yml @@ -7,6 +7,7 @@ runtime: org.freedesktop.Platform sdk: org.freedesktop.Sdk inherit-extensions: - "org.freedesktop.Platform.GL" + - "org.freedesktop.Platform.VAAPI.Intel" modules: - "modules/renpy-shared.yml" - "modules/python3-requirements.json" diff --git a/flatpaker/data/com.github.dcbaker.flatpaker.RenPy.8.Sdk.yml b/flatpaker/data/com.github.dcbaker.flatpaker.RenPy.8.Sdk.yml index bde4a33..30a163c 100644 --- a/flatpaker/data/com.github.dcbaker.flatpaker.RenPy.8.Sdk.yml +++ b/flatpaker/data/com.github.dcbaker.flatpaker.RenPy.8.Sdk.yml @@ -7,6 +7,7 @@ runtime: org.freedesktop.Platform sdk: org.freedesktop.Sdk inherit-extensions: - "org.freedesktop.Platform.GL" + - "org.freedesktop.Platform.VAAPI.Intel" modules: - "modules/renpy-shared.yml" - "modules/python3-requirements.json"