{
 "app_id": "ca.johnramsden.pathofexile",
 "source_url": "https://raw.githubusercontent.com/johnramsden/pathofexile-flatpak/master/ca.johnramsden.pathofexile.json",
 "runtime": "org.freedesktop.Platform/i386",
 "runtime_version": "1.6",
 "sdk": "org.freedesktop.Sdk/i386",
 "finish_args": [
  "--persist=.local/share/pathofexile",
  "--socket=x11",
  "--share=network",
  "--share=ipc",
  "--device=dri",
  "--allow=multiarch",
  "--socket=pulseaudio",
  "--filesystem=/var/log:ro",
  "--filesystem=xdg-documents",
  "--env=WINEDEBUG=-all",
  "--env=WINE_RESOLUTION=1920x1080",
  "--env=VIDEO_MEMORY="
 ],
 "module_count": 10,
 "fetched_at": "2026-09-18T08:36:55.231355+00:00",
 "manifest": {
  "app-id": "ca.johnramsden.pathofexile",
  "branch": "master",
  "runtime": "org.freedesktop.Platform/i386",
  "sdk": "org.freedesktop.Sdk/i386",
  "runtime-version": "1.6",
  "tags": [
   "proprietary"
  ],
  "command": "pathofexile.sh",
  "build-options": {
   "cflags": "-O1 -pipe",
   "env": {
    "WINEPREFIX": "/var/data/.local/share/pathofexile",
    "WINEDLLOVERRIDES": "mscoree=d;mshtml=d",
    "V": "0"
   }
  },
  "finish-args": [
   "--persist=.local/share/pathofexile",
   "--socket=x11",
   "--share=network",
   "--share=ipc",
   "--device=dri",
   "--allow=multiarch",
   "--socket=pulseaudio",
   "--filesystem=/var/log:ro",
   "--filesystem=xdg-documents",
   "--env=WINEDEBUG=-all",
   "--env=WINE_RESOLUTION=1920x1080",
   "--env=VIDEO_MEMORY="
  ],
  "modules": [
   {
    "name": "wine",
    "build-options": {
     "make-args": [
      "--silent"
     ]
    },
    "config-opts": [
     "--libdir=/app/lib",
     "--disable-win16",
     "--with-x",
     "--without-cups",
     "--without-curses",
     "--without-capi",
     "--without-glu",
     "--without-gphoto",
     "--without-gsm",
     "--without-hal",
     "--without-ldap",
     "--without-netapi"
    ],
    "cleanup": [
     "/bin/function_grep.pl",
     "/bin/msiexec",
     "/bin/widl",
     "/bin/wine64-preloader",
     "/bin/winebuild",
     "/bin/wineconsole",
     "/bin/winedbg",
     "/bin/winefile",
     "/bin/winegcc",
     "/bin/winemine",
     "/bin/wrc",
     "/bin/msidb",
     "/bin/notepad",
     "/bin/regsvr32",
     "/bin/wineboot",
     "/bin/winecfg",
     "/bin/winecpp",
     "/bin/winedump",
     "/bin/wineg++",
     "/bin/winemaker",
     "/bin/winepath",
     "/bin/wmc",
     "/include",
     "/share/man",
     "/share/applications"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://dl.winehq.org/wine/source/3.x/wine-3.8.tar.xz",
      "sha256": "02b00c6c948b3bab717e1b1e2075a5406b14d138bd2e01fdb1268a93d1c20d51"
     },
     {
      "type": "archive",
      "url": "https://github.com/wine-staging/wine-staging/archive/v3.8.tar.gz",
      "sha256": "fd40c24e00b3da4498f78885a5d3c4a9699790c1de78f6e43ff151432824f2ad"
     },
     {
      "type": "shell",
      "commands": [
       "./patches/patchinstall.sh DESTDIR=$(pwd) --all"
      ]
     }
    ]
   },
   {
    "name": "winetricks",
    "buildsystem": "simple",
    "build-commands": [
     "make",
     "make PREFIX=/app install",
     "chmod +x /app/bin/winetricks"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://github.com/Winetricks/winetricks/archive/20180513.tar.gz",
      "sha256": "626aff64e3d93698704b0b668225d5504fd8ef556e3834f569058deaeafada8e"
     }
    ]
   },
   {
    "name": "cabextract",
    "buildsystem": "autotools",
    "sources": [
     {
      "type": "archive",
      "url": "https://www.cabextract.org.uk/cabextract-1.6.tar.gz",
      "sha256": "cee661b56555350d26943c5e127fc75dd290b7f75689d5ebc1f04957c4af55fb"
     }
    ]
   },
   {
    "name": "wine-gecko",
    "buildsystem": "simple",
    "build-commands": [
     "install -D wine_gecko-2.47-x86.msi /app/share/wine/gecko/wine_gecko-2.47-x86.msi"
    ],
    "no-make-install": true,
    "sources": [
     {
      "type": "file",
      "url": "http://dl.winehq.org/wine/wine-gecko/2.47/wine_gecko-2.47-x86.msi",
      "sha256": "3b8a361f5d63952d21caafd74e849a774994822fb96c5922b01d554f1677643a"
     }
    ]
   },
   {
    "name": "wine-mono",
    "buildsystem": "simple",
    "build-commands": [
     "install -D wine-mono-4.7.1.msi /app/share/wine/mono/wine-mono-4.7.1.msi"
    ],
    "no-make-install": true,
    "sources": [
     {
      "type": "file",
      "url": "http://dl.winehq.org/wine/wine-mono/4.7.1/wine-mono-4.7.1.msi",
      "sha256": "2c8d5db7f833c3413b2519991f5af1f433d59a927564ec6f38a3f1f8b2c629aa"
     }
    ]
   },
   {
    "name": "wget",
    "buildsystem": "autotools",
    "sources": [
     {
      "type": "archive",
      "url": "https://ftp.gnu.org/gnu/wget/wget-1.19.4.tar.gz",
      "sha256": "93fb96b0f48a20ff5be0d9d9d3c4a986b469cb853131f9d5fe4cc9cecbc8b5b5"
     }
    ]
   },
   {
    "name": "pathofexile-installer",
    "buildsystem": "simple",
    "build-commands": [
     "install --directory ${WINEPREFIX}",
     "install pathofexile.sh /app/bin"
    ],
    "no-make-install": true,
    "sources": [
     {
      "type": "file",
      "path": "pathofexile.sh"
     }
    ]
   },
   {
    "name": "icons",
    "buildsystem": "simple",
    "build-commands": [
     "install -D --mode=644 pathofexile-256.png /app/share/icons/hicolor/256x256/apps/ca.johnramsden.pathofexile.png"
    ],
    "no-make-install": true,
    "sources": [
     {
      "type": "file",
      "path": "pathofexile-256.png",
      "sha256": "812ffce2eef92b9b4efac0674e9dcfb56dd66989b2d005e1742a6ed6d1ad2d7f"
     }
    ]
   },
   {
    "name": "desktop",
    "buildsystem": "simple",
    "build-commands": [
     "install -D --mode=644 pathofexile.desktop /app/share/applications/ca.johnramsden.pathofexile.desktop"
    ],
    "no-make-install": true,
    "sources": [
     {
      "type": "file",
      "path": "pathofexile.desktop"
     }
    ]
   },
   {
    "name": "metadata",
    "buildsystem": "simple",
    "build-commands": [
     "install -D --mode=644 ca.johnramsden.pathofexile.appdata.xml /app/share/metainfo/ca.johnramsden.pathofexile.appdata.xml"
    ],
    "no-make-install": true,
    "sources": [
     {
      "type": "file",
      "path": "ca.johnramsden.pathofexile.appdata.xml"
     }
    ]
   }
  ]
 }
}