Skip to content

Instantly share code, notes, and snippets.

@fyr77
Created March 22, 2023 14:16
Show Gist options
  • Save fyr77/87a7d4d8feae90791fbca82bbfe1f62f to your computer and use it in GitHub Desktop.
Save fyr77/87a7d4d8feae90791fbca82bbfe1f62f to your computer and use it in GitHub Desktop.

Dependencies

  • meson
  • valac
  • libgtk-3-dev
  • libglib2.0-dev
  • libwebkit2gtk-4.0-dev
  • libjson-glib-dev
  • libgee-0.8-dev
  • libsoup2.4-dev
  • libsqlite3-dev
  • libxml2-dev
  • libpolkit-gobject-1-dev
  • libunity-dev (optional, required for launcher icon quicklist, progress indicator and counter; pass -Duse_libunity=true to meson to use)
  • libmanette-0.2-dev, libx11-dev, libxtst-dev (optional, required for gamepad support)

Debian and Ubuntu-based distributions

  • Build a .deb package (this will build GameHub-*.deb package in the parent directory):
git clone https://github.com/fyr77/GameHub.git
cd GameHub
scripts/build.sh build_deb
  • Install built package:
sudo apt install ../GameHub-*.deb

Other distributions

  • Build:
git clone https://github.com/fyr77/GameHub.git
cd GameHub
meson build --prefix=/usr --buildtype=debug
cd build
ninja
  • Install:
sudo ninja install

Do not remove build directory if you want to uninstall GameHub later, build directory is used in uninstallation process.

@fyr77
Copy link
Author

fyr77 commented Mar 22, 2023

Depending on your distribution, installing dependencies may differ. Should you have any issues getting it to run do not hesitate to ask.

Copy link

ghost commented Mar 22, 2023

It WORKS! Proton's back, baby!

Somehow, it didn't work using the Debian method for me. Good old meson/ninja combo worked.

Just in case: what is the cleanest way to uninstall it, since it wasn't installed through the Software Manager?

@fyr77
Copy link
Author

fyr77 commented Mar 22, 2023

@nigelpyjamas I believe sudo ninja uninstall in the build directory should do the trick.

Copy link

ghost commented Mar 22, 2023

Ok. Thank you so much again for your help!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment