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

@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