Commit 28784716a1331fda378ee7bf3dbe8a164671a816

Authored by Alberto Bursi
Committed by David Gräff
1 parent 0eff8d45

added OpenSUSE specific build dependency packages

OpenSUSE uses rpm packages but it's not a RHEL derivative, their packages have different names so the current instructions are wrong for OpenSUSE users.

This change fixes the issue.

I've successfully built openhantek on OpenSUSE Tumbleweed and it works with a Hantek 6022BE.
Showing 1 changed file with 4 additions and 1 deletions
docs/build.md
... ... @@ -5,9 +5,12 @@ layout: default
5 5 For debian (stretch and newer), Ubuntu 17.04+ and Mint 17+ and other deb based distributions install named requirements like this:
6 6 > apt install g++ cmake qttools5-dev qttools5-dev-tools libfftw3-dev binutils-dev libusb-1.0-0-dev libqt5opengl5-dev mesa-common-dev libgl1-mesa-dev libgles2-mesa-dev
7 7  
8   -For rpm based distributions (Fedora 21+, OpenSuse) use this command:
  8 +For distributions using dnf package manager (Fedora 21+) use this command:
9 9 > dnf install cmake gcc-c++ qt5-qtbase-gui qt5-qttools-devel qt5-qttranslations fftw-devel binutils-devel libusb-devel mesa-libGL-devel mesa-libGLES-devel
10 10  
  11 +For OpenSUSE and related distributions use this command
  12 +zypper install cmake gcc-c++ qt5-qtbase-devel qt5-qttools-devel qt5-qttranslations binutils-devel libusb-devel Mesa-libGL-devel Mesa-libGLESv2-devel fftw3-devel
  13 +
11 14 After you've installed the requirements run the following commands inside the directory of this package:
12 15 > mkdir build <br>
13 16 > cd build <br>
... ...