Skip to content

Commit

Permalink
Change Proton-GE release source type to archive and toolmanifest.patc…
Browse files Browse the repository at this point in the history
…h type to patch, replace sed patch with compatibilitytool.patch, and add back manifest and metainfo symlinks.
  • Loading branch information
ChrisHobday committed Jul 16, 2024
1 parent 3729a45 commit 1609067
Show file tree
Hide file tree
Showing 6 changed files with 130 additions and 110 deletions.
72 changes: 0 additions & 72 deletions com.valvesoftware.Steam.CompatibilityTool.Proton-GE.metainfo.xml

This file was deleted.

35 changes: 0 additions & 35 deletions com.valvesoftware.Steam.CompatibilityTool.Proton-GE.yml

This file was deleted.

1 change: 1 addition & 0 deletions com.valvesoftware.Steam.CompatibilityTool.Proton-GE.yml
72 changes: 72 additions & 0 deletions com.valvesoftware.Steam.CompatibilityTool.Proton.metainfo.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,72 @@
<?xml version="1.0" encoding="UTF-8"?>
<component type="addon">
<id>com.valvesoftware.Steam.CompatibilityTool.Proton-GE</id>
<extends>com.valvesoftware.Steam</extends>
<name>Proton-GE (community build)</name>
<summary>Latest Proton-GE version built on the Flatpak Freedesktop SDK</summary>
<url type="homepage">https://github.com/GloriousEggroll/proton-ge-custom</url>
<project_license>BSD-3-Clause and LGPL-2.1 and zlib-acknowledgement and Zlib and OFL-1.1 and MIT and MPL-2.0 and LicenseRef-proprietary</project_license>
<metadata_license>CC0-1.0</metadata_license>
<releases>
<release version="9.10" date="2024-07-12"/>
<release version="9.9" date="2024-07-12"/>
<release version="9.8" date="2024-07-12"/>
<release version="9.7" date="2024-07-12"/>
<release version="9.6" date="2024-07-12"/>
<release version="9.5" date="2024-07-12"/>
<release version="9.4" date="2024-07-12"/>
<release version="9.3" date="2024-07-12"/>
<release version="9.2" date="2024-07-12"/>
<release version="9.1" date="2024-07-12"/>
<release version="8.32" date="2024-07-12"/>
<release version="8.31" date="2024-07-12"/>
<release version="8.30" date="2024-07-12"/>
<release version="8.29" date="2024-07-12"/>
<release version="8.28" date="2024-07-12"/>
<release version="8.27" date="2024-07-12"/>
<release version="8.26" date="2024-07-12"/>
<release version="8.25" date="2024-07-12"/>
<release version="8.24" date="2024-07-12"/>
<release version="8.23" date="2024-07-12"/>
<release version="8.22" date="2024-07-12"/>
<release version="8.21" date="2024-07-12"/>
<release version="8.20" date="2024-07-12"/>
<release version="8.19" date="2024-07-12"/>
<release version="8.18" date="2024-07-12"/>
<release version="8.17" date="2024-07-12"/>
<release version="8.16" date="2023-09-24"/>
<release version="8.14" date="2023-09-02"/>
<release version="8.13" date="2023-08-21"/>
<release version="8.11" date="2023-08-04"/>
<release version="8.8" date="2023-07-22"/>
<release version="8.7" date="2023-07-21"/>
<release version="8.6" date="2023-07-03"/>
<release version="8.4" date="2023-06-06"/>
<release version="8.3" date="2023-05-11"/>
<release version="7.55" date="2023-04-11"/>
<release version="7.54" date="2023-04-04"/>
<release version="7.53" date="2023-03-24"/>
<release version="7.51" date="2023-03-16"/>
<release version="7.49" date="2023-02-22"/>
<release version="7.36" date="2022-10-03"/>
<release version="7.35" date="2022-09-19"/>
<release version="7.33" date="2022-09-12"/>
<release version="7.31" date="2022-08-29"/>
<release version="7.30" date="2022-08-23"/>
<release version="7.29" date="2022-08-07"/>
<release version="7.28" date="2022-08-01"/>
<release version="7.27" date="2022-07-26"/>
<release version="7.26" date="2022-07-20"/>
<release version="7.24" date="2022-06-29"/>
<release version="7.23" date="2022-06-28"/>
<release version="7.22" date="2022-06-27"/>
<release version="7.21" date="2022-06-26"/>
<release version="7.20" date="2022-05-30"/>
<release version="7.19" date="2022-05-28"/>
<release version="7.18" date="2022-05-19"/>
<release version="7.17" date="2022-05-07"/>
<release version="7.16" date="2022-04-30"/>
<release version="7.15" date="2022-04-22"/>
<release version="7.14" date="2022-04-05"/>
</releases>
</component>
31 changes: 31 additions & 0 deletions com.valvesoftware.Steam.CompatibilityTool.Proton.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
id: com.valvesoftware.Steam.CompatibilityTool.Proton-GE
default-branch: stable
runtime: com.valvesoftware.Steam
runtime-version: stable
sdk: org.freedesktop.Sdk//23.08
build-extension: true
modules:
- name: proton
buildsystem: simple
sources:
# Proton-GE release archive
- type: archive
url: https://github.com/GloriousEggroll/proton-ge-custom/releases/download/GE-Proton9-10/GE-Proton9-10.tar.gz
sha256: 6cfe3699ba1dd7dcf1c93d6093184bb8af05f554e8c04bdf6bb96ca64fad0f5b
dest: GE-Proton
# Patch to remove some lines which is required to get Steam games to launch with Proton-GE
- type: patch
path: toolmanifest.patch
# Patch to change internal name to GE-Proton (Flatpak) and display name to GE-ProtonVERSION# (Flatpak)
- type: patch
path: compatibilitytool.patch
# Flatpak metainfo file
- type: file
path: com.valvesoftware.Steam.CompatibilityTool.Proton-GE.metainfo.xml
build-commands:
- |
echo "Moving release contents to /app/share/steam/compatibilitytools.d/Proton-GE"
mv GE-Proton/* /app/share/steam/compatibilitytools.d/Proton-GE
echo "Installing metainfo"
install -Dm644 -t ${FLATPAK_DEST}/share/metainfo com.valvesoftware.Steam.CompatibilityTool.Proton-GE.metainfo.xml
22 changes: 22 additions & 0 deletions compatibilitytool.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
diff --git a/GE-Proton/compatibilitytool.vdf b/GE-Proton/compatibilitytool.vdf
index 41e3f33..fc68088 100644
--- a/GE-Proton/compatibilitytool.vdf
+++ b/GE-Proton/compatibilitytool.vdf
@@ -2,7 +2,7 @@
{
"compat_tools"
{
- "GE-Proton9-10" // Internal name of this tool
+ "GE-Proton (Flatpak)" // Internal name of this tool
{
// Can register this tool with Steam in two ways:
//
@@ -14,7 +14,7 @@
"install_path" "."

// For this template, we're going to substitute the display_name key in here, e.g.:
- "display_name" "GE-Proton9-10"
+ "display_name" "GE-Proton9-10 (Flatpak)"

"from_oslist" "windows"
"to_oslist" "linux"
6 changes: 3 additions & 3 deletions toolmanifest.patch
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
diff --git a/toolmanifest.vdf b/toolmanifest.vdf
diff --git a/GE-Proton/toolmanifest.vdf b/GE-Proton/toolmanifest.vdf
index beddcbb..b6f3678 100644
--- a/toolmanifest.vdf
+++ b/toolmanifest.vdf
--- a/GE-Proton/toolmanifest.vdf
+++ b/GE-Proton/toolmanifest.vdf
@@ -2,7 +2,4 @@
{
"version" "2"
Expand Down

0 comments on commit 1609067

Please # to comment.