Wednesday, March 20, 2019

YO! Lets compile GameHub on Fedora 29

Welcome back, true believers! On today's episode of Spider-Man and his Amazing Friends we are exploring the compilation of the GameHub game launcher. GameHub is a game launcher supporting Steam, GOG.com, Humble Bundle DRM free games, and the Humble Trove. It has a really slick layout and oodles of configuration options for native and WINE based Windows games. But enough with the pleasantries, let's begin this action packed episode of Spider-Man and his Amazing Friends!

We will want to start out with the dependencies needed by Fedora 29 to successfully compile GameHub. Type or copy/paste the following into a terminal.
sudo dnf install vala-devel vala granite-devel webkit2gtk3-devel json-glib-devel sqlite-devel polkit-devel cmake ninja menson libgee-devel libsoup-devel libxml2-devel libXtst-devel libX11-devel
After the dependencies install we want to track down one more library needed to compile. This is libmanette. Manette doesn't seem to be available for Fedora 29 so I went to Fedora Rawhide to the package. Below are the steps involved in obtaining the package and installing it.

Go to https://pkgs.org/download/libmanette and click on the fedora link. You will want to download the libmanette-0.2.2-1.fc30.x86_64.rpm. Next use the following rpm command to install the package. Double clicking and installing the rpm via Gnome's Software application will not work.
sudo rpm -Uvh libmanette-0.2.2-1.fc30.x86_64.rpm
Once Manette is installed we will begin the compile process. Use the below commands to obtain the GameHub source and compile the code. Each line is a separate command.
git clone https://github.com/tkashkin/GameHub.git
cd GameHub
meson build --prefix=/usr -Ddistro=generic --buildtype=debug
cd build
ninja
sudo ninja install
After all the dust settles you should find GameHub installed and ready to go.

Excelsior!



No comments:

Post a Comment