{
 "app_id": "ru.linux_gaming.PortProton",
 "source_url": "https://raw.githubusercontent.com/flathub/ru.linux_gaming.PortProton/master/ru.linux_gaming.PortProton.yml",
 "runtime": "org.freedesktop.Platform",
 "runtime_version": "25.08",
 "sdk": "org.freedesktop.Sdk",
 "finish_args": [
  "--share=ipc",
  "--share=network",
  "--socket=pulseaudio",
  "--socket=wayland",
  "--socket=x11",
  "--device=all",
  "--filesystem=xdg-run/pipewire-0:ro",
  "--filesystem=xdg-run/gamescope-0:ro",
  "--filesystem=host",
  "--allow=bluetooth",
  "--allow=devel",
  "--allow=multiarch",
  "--allow=per-app-dev-shm",
  "--talk-name=org.kde.StatusNotifierWatcher",
  "--talk-name=org.ayatana.indicator.application",
  "--talk-name=org.freedesktop.Notifications",
  "--talk-name=org.freedesktop.ScreenSaver",
  "--system-talk-name=org.freedesktop.NetworkManager",
  "--system-talk-name=org.freedesktop.UDisks2"
 ],
 "module_count": 28,
 "fetched_at": "2026-09-17T16:17:20.151647+00:00",
 "manifest": {
  "app-id": "ru.linux_gaming.PortProton",
  "runtime": "org.freedesktop.Platform",
  "runtime-version": "25.08",
  "x-runtime-version-extra": "25.08-extra",
  "x-gl-version": "1.4",
  "x-gl-versions": "25.08;25.08-extra;1.4",
  "x-gl-merge-dirs": "vulkan/icd.d;glvnd/egl_vendor.d;egl/egl_external_platform.d;OpenCL/vendors;lib/dri;lib/d3d;lib/gbm;vulkan/explicit_layer.d;vulkan/implicit_layer.d;vdpau",
  "sdk": "org.freedesktop.Sdk",
  "command": "portproton",
  "separate-locales": false,
  "finish-args": [
   "--share=ipc",
   "--socket=x11",
   "--socket=wayland",
   "--socket=pulseaudio",
   "--device=all",
   "--share=network",
   "--allow=multiarch",
   "--allow=bluetooth",
   "--allow=devel",
   "--allow=per-app-dev-shm",
   "--system-talk-name=org.freedesktop.UDisks2",
   "--system-talk-name=org.freedesktop.NetworkManager",
   "--filesystem=xdg-run/gamescope-0:ro",
   "--filesystem=xdg-run/pipewire-0:ro",
   "--filesystem=host",
   "--env=PATH=/app/bin:/usr/bin:/app/utils/bin:/usr/lib/extensions/vulkan/MangoHud/bin/:/usr/lib/extensions/vulkan/gamescope/bin:/usr/lib/extensions/vulkan/OBSVkCapture/bin",
   "--env=LD_LIBRARY_PATH=/usr/lib/extensions/vulkan/gamescope/lib",
   "--env=GST_PLUGIN_SYSTEM_PATH=/app/lib/gstreamer-1.0:/app/lib32/gstreamer-1.0:/usr/lib/extensions/gstreamer-1.0:/usr/lib/x86_64-linux-gnu/codecs-extra/lib/gstreamer-1.0:/usr/lib/i386-linux-gnu/codecs-extra/lib/gstreamer-1.0:/usr/lib/x86_64-linux-gnu/gstreamer-1.0:/usr/lib/i386-linux-gnu/gstreamer-1.0",
   "--talk-name=org.kde.StatusNotifierWatcher",
   "--talk-name=org.ayatana.indicator.application",
   "--talk-name=org.freedesktop.Notifications",
   "--talk-name=org.freedesktop.ScreenSaver"
  ],
  "add-extensions": {
   "org.freedesktop.Platform.Compat.i386": {
    "directory": "lib/i386-linux-gnu",
    "version": "25.08"
   },
   "org.freedesktop.Platform.Compat.i386.Debug": {
    "directory": "lib/debug/lib/i386-linux-gnu",
    "version": "25.08",
    "no-autodownload": true
   },
   "org.freedesktop.Platform.GL32": {
    "directory": "lib/i386-linux-gnu/GL",
    "version": "1.4",
    "versions": "25.08;25.08-extra;1.4",
    "subdirectories": true,
    "no-autodownload": true,
    "autodelete": false,
    "add-ld-path": "lib",
    "merge-dirs": "vulkan/icd.d;glvnd/egl_vendor.d;egl/egl_external_platform.d;OpenCL/vendors;lib/dri;lib/d3d;lib/gbm;vulkan/explicit_layer.d;vulkan/implicit_layer.d;vdpau",
    "download-if": "active-gl-driver",
    "enable-if": "active-gl-driver",
    "autoprune-unless": "active-gl-driver"
   },
   "org.freedesktop.Platform.GL32.Debug": {
    "directory": "lib/debug/lib/i386-linux-gnu/GL",
    "version": "1.4",
    "versions": "25.08;25.08-extra;1.4",
    "subdirectories": true,
    "no-autodownload": true,
    "merge-dirs": "vulkan/icd.d;glvnd/egl_vendor.d;egl/egl_external_platform.d;OpenCL/vendors;lib/dri;lib/d3d;lib/gbm;vulkan/explicit_layer.d;vulkan/implicit_layer.d;vdpau",
    "enable-if": "active-gl-driver",
    "autoprune-unless": "active-gl-driver"
   },
   "org.freedesktop.Platform.VAAPI.Intel.i386": {
    "directory": "lib/i386-linux-gnu/dri/intel-vaapi-driver",
    "version": "25.08",
    "versions": "25.08",
    "autodelete": false,
    "no-autodownload": true,
    "add-ld-path": "lib",
    "download-if": "have-intel-gpu",
    "autoprune-unless": "have-intel-gpu"
   },
   "org.freedesktop.Platform.VAAPI.nvidia.i386": {
    "directory": "i386/nvidia-vaapi-driver",
    "version": "25.08",
    "versions": "25.08",
    "autodelete": false,
    "no-autodownload": true,
    "add-ld-path": "lib",
    "download-if": "have-kernel-module-nvidia",
    "autoprune-unless": "have-kernel-module-nvidia"
   },
   "org.freedesktop.Platform.codecs_extra.i386": {
    "directory": "lib/i386-linux-gnu/codecs-extra",
    "version": "25.08-extra",
    "autodelete": false,
    "add-ld-path": "lib"
   },
   "org.winehq.Wine.gecko": {
    "directory": "share/wine/gecko"
   },
   "org.winehq.Wine.mono": {
    "directory": "share/wine/mono"
   }
  },
  "sdk-extensions": [
   "org.freedesktop.Sdk.Compat.i386",
   "org.freedesktop.Sdk.Extension.toolchain-i386"
  ],
  "x-compat-i386-opts": {
   "prepend-pkg-config-path": "/app/lib32/pkgconfig:/usr/lib/i386-linux-gnu/pkgconfig",
   "ldflags": "-L/app/lib32 -Wl,-rpath-link=/app/lib32 -Wl,-z,relro,-z,now -Wl,--as-needed",
   "ldflags-override": true,
   "append-path": "/usr/lib/sdk/toolchain-i386/bin",
   "env": {
    "CC": "ccache i686-unknown-linux-gnu-gcc",
    "CXX": "ccache i686-unknown-linux-gnu-g++"
   },
   "libdir": "/app/lib32"
  },
  "cleanup": [
   "/include",
   "/lib*/pkgconfig",
   "/man",
   "/share/doc",
   "/share/gtk-doc",
   "/share/man",
   "/share/pkgconfig",
   "/share/help",
   "/share/vala",
   "*.la",
   "*.a",
   "*.pod"
  ],
  "modules": [
   "ru.linux_gaming.PortProton.pypi-deps.yaml",
   {
    "name": "oniguruma",
    "buildsystem": "autotools",
    "sources": [
     {
      "type": "archive",
      "url": "https://github.com/kkos/oniguruma/releases/download/v6.9.10/onig-6.9.10.tar.gz",
      "sha256": "2a5cfc5ae259e4e97f86b68dfffc152cdaffe94e2060b770cb827238d769fc05",
      "x-checker-data": {
       "type": "anitya",
       "project-id": 11184,
       "stable-only": true,
       "url-template": "https://github.com/kkos/oniguruma/releases/download/v${version}/onig-${version}.tar.gz"
      }
     }
    ]
   },
   {
    "name": "yad",
    "config-opts": [
     "--enable-standalone",
     "--disable-icon-browser",
     "--disable-tools"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://github.com/v1cont/yad/releases/download/v15.0/yad-15.0.tar.xz",
      "sha256": "7cf4dc136a643bf484ceab27d9b28a513624dffe38a08731132c0e4e24073772",
      "x-checker-data": {
       "type": "anitya",
       "project-id": 5280,
       "stable-only": true,
       "url-template": "https://github.com/v1cont/yad/releases/download/v$version/yad-$version.tar.xz"
      }
     }
    ],
    "modules": [
     "shared-modules/intltool/intltool-0.51.json",
     "shared-modules/lzo/lzo.json",
     "shared-modules/libayatana-appindicator/libayatana-appindicator-gtk3.json",
     "shared-modules/squashfs-tools/squashfs-tools.json"
    ]
   },
   {
    "name": "exiftool",
    "buildsystem": "simple",
    "build-commands": [
     "perl Makefile.PL",
     "make install"
    ],
    "cleanup": [
     "*.pod"
    ],
    "sources": [
     {
      "type": "git",
      "url": "https://github.com/exiftool/exiftool.git",
      "tag": "13.58",
      "commit": "38bdbace3037a89d2c332664fc60bddad118958a",
      "x-checker-data": {
       "type": "git",
       "tag-pattern": "^(\\d+\\.\\d+[02468])$"
      }
     }
    ],
    "modules": [
     {
      "name": "perl",
      "buildsystem": "simple",
      "build-commands": [
       "./Configure -des -Dprefix=$FLATPAK_DEST -Dman1dir=none -Dman3dir=none",
       "make",
       "make install"
      ],
      "post-install": [
       "chmod -R u+w $FLATPAK_DEST/lib/perl5"
      ],
      "cleanup": [
       "/bin/corelist",
       "/bin/cpan",
       "/bin/enc2xs",
       "/bin/encguess",
       "/bin/h2ph",
       "/bin/h2xs",
       "/bin/instmodsh",
       "/bin/json_pp",
       "/bin/libnetcfg",
       "/bin/perl5*",
       "/bin/perlbug",
       "/bin/perldoc",
       "/bin/perlivp",
       "/bin/perlthanks",
       "/bin/piconv",
       "/bin/pl2pm",
       "/bin/pod2html",
       "/bin/pod2man",
       "/bin/pod2text",
       "/bin/pod2usage",
       "/bin/podchecker",
       "/bin/prove",
       "/bin/ptar",
       "/bin/ptardiff",
       "/bin/ptargrep",
       "/bin/shasum",
       "/bin/splain",
       "/bin/streamzip",
       "/bin/xsubpp",
       "/bin/zipdetails",
       "*.pod"
      ],
      "sources": [
       {
        "type": "git",
        "url": "https://github.com/Perl/perl5.git",
        "tag": "v5.38.2",
        "commit": "55dd2f792ffc8cefe614350a411f785374281b24",
        "disable-fsckobjects": true
       }
      ]
     }
    ]
   },
   {
    "name": "libXmu",
    "buildsystem": "autotools",
    "config-opts": [
     "--disable-static"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://xorg.freedesktop.org/releases/individual/lib/libXmu-1.3.1.tar.gz",
      "sha512": "aa92d4d2153f4d793eb87806fa0e6063774e798bd98d7a9f2e2708f65f9d6ded1bd25e1521b56b0673fe123f54e31d88b4ef131fd8052652a963541aa2aec93e",
      "x-checker-data": {
       "type": "anitya",
       "project-id": 1785,
       "url-template": "https://xorg.freedesktop.org/releases/individual/lib/libXmu-$version.tar.gz"
      }
     }
    ]
   },
   {
    "name": "xdpyinfo",
    "buildsystem": "autotools",
    "sources": [
     {
      "type": "git",
      "url": "https://gitlab.freedesktop.org/xorg/app/xdpyinfo.git",
      "tag": "xdpyinfo-1.4.0",
      "commit": "7fe49a22498b9438a15d5d9fdef55d5d832b1672",
      "x-checker-data": {
       "type": "git",
       "tag-pattern": "^xdpyinfo-([\\d.]+)$"
      }
     }
    ]
   },
   {
    "name": "xrdb",
    "buildsystem": "autotools",
    "sources": [
     {
      "type": "archive",
      "url": "https://xorg.freedesktop.org/releases/individual/app/xrdb-1.2.2.tar.gz",
      "sha256": "db2d774a35ae2f7e7ac61cc2de0dcae27fc2aa14399c35721f8300e63ea73549",
      "x-checker-data": {
       "type": "anitya",
       "project-id": 14956,
       "url-template": "https://xorg.freedesktop.org/releases/individual/app/xrdb-$version.tar.gz"
      }
     }
    ]
   },
   {
    "name": "libXaw",
    "buildsystem": "autotools",
    "sources": [
     {
      "type": "archive",
      "url": "https://xorg.freedesktop.org/releases/individual/lib/libXaw-1.0.16.tar.gz",
      "sha256": "012f90adf8739f2f023d63a5fee1528949cf2aba92ef7ac1abcfc2ae9cf28798",
      "x-checker-data": {
       "type": "anitya",
       "project-id": 1766,
       "url-template": "https://xorg.freedesktop.org/releases/individual/lib/libXaw-$version.tar.gz"
      }
     }
    ]
   },
   {
    "name": "xterm",
    "buildsystem": "autotools",
    "config-opts": [
     "--disable-full-tgetent"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://invisible-mirror.net/archives/xterm/xterm-410.tgz",
      "sha256": "7ba9fbb303dd3d95d06ca24360d019048d84e5822dc6fe722cd77369bdbf231f",
      "x-checker-data": {
       "type": "anitya",
       "project-id": 5272,
       "url-template": "https://invisible-mirror.net/archives/xterm/xterm-$version.tgz"
      }
     }
    ]
   },
   {
    "name": "cabextract",
    "sources": [
     {
      "type": "archive",
      "url": "https://www.cabextract.org.uk/cabextract-1.11.tar.gz",
      "sha256": "b5546db1155e4c718ff3d4b278573604f30dd64c3c5bfd4657cd089b823a3ac6"
     }
    ]
   },
   {
    "name": "vulkan-tools",
    "buildsystem": "cmake-ninja",
    "config-opts": [
     "-DGLSLANG_INSTALL_DIR=/app",
     "-DVULKAN_HEADERS_INSTALL_DIR=/app",
     "-DCMAKE_BUILD_TYPE=Release"
    ],
    "sources": [
     {
      "type": "git",
      "url": "https://github.com/KhronosGroup/Vulkan-Tools.git",
      "tag": "sdk-1.3.261.1",
      "commit": "a7da7027ca9fd0901639f02619c226da9c6036f1",
      "x-checker-data": {
       "type": "git",
       "tag-pattern": "^sdk-([\\d.]+)$"
      }
     }
    ],
    "modules": [
     {
      "name": "vulkan-headers",
      "buildsystem": "cmake-ninja",
      "sources": [
       {
        "type": "git",
        "url": "https://github.com/KhronosGroup/Vulkan-Headers.git",
        "tag": "sdk-1.3.261.1",
        "commit": "85c2334e92e215cce34e8e0ed8b2dce4700f4a50",
        "x-checker-data": {
         "type": "git",
         "tag-pattern": "^sdk-([\\d.]+)$"
        }
       }
      ]
     }
    ]
   },
   {
    "name": "xrandr",
    "sources": [
     {
      "type": "archive",
      "url": "https://xorg.freedesktop.org/archive/individual/app/xrandr-1.5.1.tar.gz",
      "sha256": "7b99edb7970a1365eaf5bcaf552144e4dfc3ccf510c4abc08569849929fb366e"
     }
    ]
   },
   {
    "name": "setxkbmap",
    "sources": [
     {
      "type": "archive",
      "url": "https://xorg.freedesktop.org/archive/individual/app/setxkbmap-1.3.3.tar.xz",
      "sha256": "b560c678da6930a0da267304fa3a41cc5df39a96a5e23d06f14984c87b6f587b"
     }
    ]
   },
   {
    "name": "glxinfo",
    "buildsystem": "meson",
    "config-opts": [
     "--bindir=/app/mesa-demos",
     "-Degl=disabled",
     "-Dglut=disabled",
     "-Dosmesa=disabled",
     "-Dvulkan=disabled",
     "-Dwayland=disabled"
    ],
    "post-install": [
     "mv -v /app/mesa-demos/glxinfo /app/bin"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://archive.mesa3d.org/demos/mesa-demos-9.0.0.tar.xz",
      "sha256": "3046a3d26a7b051af7ebdd257a5f23bfeb160cad6ed952329cdff1e9f1ed496b",
      "x-checker-data": {
       "type": "anitya",
       "project-id": 16781,
       "stable-only": true,
       "url-template": "https://archive.mesa3d.org/demos/mesa-demos-$version.tar.xz"
      }
     }
    ],
    "cleanup": [
     "/include",
     "/mesa-demos",
     "/share"
    ],
    "modules": [
     "shared-modules/glu/glu-9.json"
    ]
   },
   {
    "name": "glew",
    "no-autogen": true,
    "make-args": [
     "GLEW_PREFIX=${FLATPAK_DEST}",
     "GLEW_DEST=${FLATPAK_DEST}",
     "LIBDIR=${FLATPAK_DEST}/lib",
     "CFLAGS.EXTRA:=${CFLAGS} -fPIC",
     "LDFLAGS.EXTRA=${LDFLAGS}"
    ],
    "make-install-args": [
     "GLEW_PREFIX=${FLATPAK_DEST}",
     "GLEW_DEST=${FLATPAK_DEST}",
     "LIBDIR=${FLATPAK_DEST}/lib",
     "CFLAGS.EXTRA:=${CFLAGS} -fPIC",
     "LDFLAGS.EXTRA=${LDFLAGS}"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://downloads.sourceforge.net/project/glew/glew/2.2.0/glew-2.2.0.tgz",
      "sha256": "d4fc82893cfb00109578d0a1a2337fb8ca335b3ceccf97b97e5cc7f08e4353e1"
     }
    ]
   },
   {
    "name": "glew-32bit",
    "build-options": {
     "arch": {
      "x86_64": {
       "prepend-pkg-config-path": "/app/lib32/pkgconfig:/usr/lib/i386-linux-gnu/pkgconfig",
       "ldflags": "-L/app/lib32 -Wl,-rpath-link=/app/lib32 -Wl,-z,relro,-z,now -Wl,--as-needed",
       "ldflags-override": true,
       "append-path": "/usr/lib/sdk/toolchain-i386/bin",
       "env": {
        "CC": "ccache i686-unknown-linux-gnu-gcc",
        "CXX": "ccache i686-unknown-linux-gnu-g++"
       },
       "libdir": "/app/lib32"
      }
     }
    },
    "no-autogen": true,
    "make-args": [
     "GLEW_PREFIX=${FLATPAK_DEST}",
     "GLEW_DEST=${FLATPAK_DEST}",
     "LIBDIR=${FLATPAK_DEST}/lib",
     "CFLAGS.EXTRA:=${CFLAGS} -fPIC",
     "LDFLAGS.EXTRA=${LDFLAGS}"
    ],
    "make-install-args": [
     "GLEW_PREFIX=${FLATPAK_DEST}",
     "GLEW_DEST=${FLATPAK_DEST}",
     "LIBDIR=${FLATPAK_DEST}/lib",
     "CFLAGS.EXTRA:=${CFLAGS} -fPIC",
     "LDFLAGS.EXTRA=${LDFLAGS}"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://downloads.sourceforge.net/project/glew/glew/2.2.0/glew-2.2.0.tgz",
      "sha256": "d4fc82893cfb00109578d0a1a2337fb8ca335b3ceccf97b97e5cc7f08e4353e1"
     }
    ]
   },
   {
    "name": "libNVCtrl",
    "no-autogen": true,
    "no-make-install": true,
    "build-commands": [
     "mkdir -p ${FLATPAK_DEST}/lib",
     "cp -a libXNVCtrl.so* ${FLATPAK_DEST}/lib/",
     "install -D *.h -t ${FLATPAK_DEST}/include/NVCtrl"
    ],
    "subdir": "src/libXNVCtrl",
    "sources": [
     {
      "type": "archive",
      "archive-type": "tar",
      "url": "https://api.github.com/repos/NVIDIA/nvidia-settings/tarball/refs/tags/470.63.01",
      "sha256": "0ede63515851d85ac0d1ed5f00e355f539968e6d1fd226120a27b2c66c3575de"
     },
     {
      "type": "patch",
      "path": "patches/libxnvctrl_so_0.patch",
      "x-checker-data": {
       "type": "json",
       "url": "https://api.github.com/repos/NVIDIA/nvidia-settings/tags",
       "url-query": ".[0].tarball_url",
       "version-query": ".[0].name"
      }
     }
    ]
   },
   {
    "name": "hwdata",
    "config-opts": [
     "--datarootdir=/app/share"
    ],
    "sources": [
     {
      "type": "git",
      "url": "https://github.com/vcrhonek/hwdata",
      "tag": "v0.409",
      "commit": "73fa04de426aefe192505fcbc6c24237a9fd9c9b",
      "x-checker-data": {
       "type": "json",
       "url": "https://api.github.com/repos/vcrhonek/hwdata/releases/latest",
       "tag-query": ".tag_name"
      }
     }
    ]
   },
   {
    "name": "usbutils",
    "buildsystem": "meson",
    "sources": [
     {
      "type": "git",
      "url": "https://github.com/gregkh/usbutils",
      "commit": "d0c76b601b4b3ab9b2ab2647d604a8e3cce6d666",
      "tag": "v019",
      "x-checker-data": {
       "type": "anitya",
       "project-id": 5061,
       "stable-only": true,
       "tag-template": "v$version"
      }
     }
    ]
   },
   {
    "name": "platform-bootstrap",
    "buildsystem": "simple",
    "build-commands": [
     "set -e\nmkdir -p /app/bin\nmkdir -p /app/utils\nmkdir -p /app/lib/i386-linux-gnu\nmkdir -p /app/lib/i386-linux-gnu/GL\nmkdir -p /app/lib/debug/lib/i386-linux-gnu\nmkdir -p /app/lib/debug/lib/i386-linux-gnu/GL\nmkdir -p /app/lib/i386-linux-gnu/dri/intel-vaapi-driver\nmkdir -p /app/i386/nvidia-vaapi-driver\nmkdir -p /app/lib/i386-linux-gnu/codecs-extra\nmkdir -p /app/share/vulkan/implicit_layer.d/\nmkdir -p /app/share/wine/gecko/\nmkdir -p /app/share/wine/mono/\ninstall -Dm644 -t /app/etc ld.so.conf\n"
    ],
    "sources": [
     {
      "type": "inline",
      "dest-filename": "ld.so.conf",
      "contents": "/app/lib32\n/app/lib/i386-linux-gnu\n"
     }
    ]
   },
   {
    "name": "PortProton",
    "buildsystem": "simple",
    "build-commands": [
     "set -e\ninstall -Dm755 portproton /app/bin/portproton\ninstall -Dm644 ru.linux_gaming.PortProton.svg /app/share/icons/hicolor/scalable/apps/ru.linux_gaming.PortProton.svg\ninstall -Dm644 ru.linux_gaming.PortProton.desktop /app/share/applications/ru.linux_gaming.PortProton.desktop\ninstall -Dm644 ru.linux_gaming.PortProton.metainfo.xml /app/share/metainfo/ru.linux_gaming.PortProton.metainfo.xml\ninstall -Dm644 LICENSE /app/share/licenses/ru.linux_gaming.PortProton/LICENSE\n"
    ],
    "sources": [
     {
      "type": "git",
      "url": "https://github.com/Castro-Fidel/PortProton_ALT",
      "tag": "v1.7.5",
      "commit": "06b304c35c10e48b824223c4c9f8345c87689f6d",
      "x-checker-data": {
       "type": "git",
       "tag-pattern": "^v([\\\\d.]+)$"
      }
     }
    ]
   }
  ]
 }
}