Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
executable file 35 lines (28 sloc) 982 Bytes
#!/bin/bash
# Author: Bruno Queiros (bqueiros@gmail.com)
# Version: 1.0
# Date: 14/04/2017
# Notes: Script that installs the Roccat Kone XTD software
echo "Installing dependencies"
sudo dnf install -y libcanberra libcanberra-devel lua lua-devel dbus-glib- dbus-glib-devel libgudev libgudev-devel cmake libnotify libnotify-devel
echo "Installing libgaminggear"
wget https://downloads.sourceforge.net/project/libgaminggear/libgaminggear-0.15.0.tar.bz2
tar -xjf libgaminggear-0.15.0.tar.bz2
cd libgaminggear-0.15.0
mkdir build
cd build
cmake -DCMAKE_INSTALL_PREFIX="/usr" ..
make
sudo make install
cd ../..
echo "Installing roccat-tools"
wget https://sourceforge.net/projects/roccat/files/roccat-tools/roccat-tools-5.6.0.tar.bz2
tar -xjf roccat-tools-5.6.0.tar.bz2
cd roccat-tools-5.6.0
mkdir build
cd build
cmake -DCMAKE_INSTALL_PREFIX="/usr" -DWITH_LUA=5.3 ..
make
sudo make install
cd ../..
echo "Installation complete! Run roccatkonextdconfig as root to start the software"