diff options
Diffstat (limited to 'docs/README.openSUSE.md')
-rw-r--r-- | docs/README.openSUSE.md | 29 |
1 files changed, 20 insertions, 9 deletions
diff --git a/docs/README.openSUSE.md b/docs/README.openSUSE.md index d7b60c7219..d1036fee90 100644 --- a/docs/README.openSUSE.md +++ b/docs/README.openSUSE.md @@ -41,9 +41,14 @@ git clone -b Krypton https://github.com/xbmc/xbmc kodi Several different strategies are used to draw your attention to certain pieces of information. In order of how critical the information is, these items are marked as a note, tip, or warning. For example: -**NOTE:** Linux is user friendly... It's just very particular about who its friends are. -**TIP:** Algorithm is what developers call code they do not want to explain. -**WARNING:** Developers don't change light bulbs. It's a hardware problem. +> [!NOTE] +> Linux is user friendly... It's just very particular about who its friends are. + +> [!TIP] +> Algorithm is what developers call code they do not want to explain. + +> [!WARNING] +> Developers don't change light bulbs. It's a hardware problem. **[back to top](#table-of-contents)** | **[back to section top](#1-document-conventions)** @@ -68,18 +73,21 @@ sudo zypper ar -f http://ftp.gwdg.de/pub/opensuse/repositories/multimedia:/libs/ sudo zypper ref ``` -**NOTE:** A message will ask you to accept the key. Enter `a`, the *trust always* option. +> [!NOTE] +> A message will ask you to accept the key. Enter `a`, the *trust always* option. If you get a `package not found` type of message with the below command, remove the offending package(s) from the install list and reissue the command. Take a note of the missing dependencies and, after a successful step completion, **[build the missing dependencies manually](#31-build-missing-dependencies)**. -**NOTE:** Kodi requires a compiler with C++17 support, i.e. gcc >= 7 or clang >= 5 +> [!NOTE] +> Kodi requires a compiler with C++17 support, i.e. gcc >= 7 or clang >= 5 Install build dependencies: ``` sudo zypper install alsa-devel autoconf automake bluez-devel boost-devel capi4linux-devel ccache cmake doxygen flac-devel fribidi-devel fstrcmp-devel gcc gcc-c++ gettext-devel giflib-devel glew-devel googletest gperf java-openjdk libass-devel libavahi-devel libbluray-devel libbz2-devel libcap-devel libcap-ng-devel libcdio-devel libcec-devel libcurl-devel libdvdread-devel libgudev-1_0-devel libidn2-devel libjasper-devel libjpeg-devel liblcms2-devel libmad-devel libmicrohttpd-devel libmodplug-devel libmpeg2-devel libmysqlclient-devel libnfs-devel libogg-devel libpcap-devel libplist-devel libpng12-devel libpulse-devel libsamplerate-devel libsmbclient-devel libtag-devel libtiff-devel libtool libudev-devel libuuid-devel libva-devel libvdpau-devel libvorbis-devel libXrandr-devel libXrender-devel libxslt-devel lirc-devel lzo-devel make Mesa-libEGL-devel Mesa-libGLESv2-devel Mesa-libGLESv3-devel nasm patch pcre-devel python3-devel python3-Pillow randrproto-devel renderproto-devel shairplay-devel sqlite3-devel swig tinyxml-devel tinyxml2-devel ``` -**WARNING:** Make sure you copy paste the entire line or you might receive an error or miss a few dependencies. +> [!WARNING] +> Make sure you copy paste the entire line or you might receive an error or miss a few dependencies. Building for Wayland requires some extra packages: ``` @@ -91,21 +99,24 @@ Similarly, building for GBM also requires some extra packages: sudo zypper install libgbm-devel libinput-devel libxkbcommon-devel ``` -**WARNING:** Fedora repositories don't have install candidates for `libfmt`, `rapidjson` and `waylandpp`. See **[build missing dependencies manually](#31-build-missing-dependencies)** section before you proceed. +> [!WARNING] +> Fedora repositories don't have install candidates for `libfmt`, `rapidjson` and `waylandpp`. See **[build missing dependencies manually](#31-build-missing-dependencies)** section before you proceed. Optional packages that you might want to install for extra functionality (generating doxygen documentation, for instance): ``` sudo zypper install doxygen sndio-devel libmariadb-devel ``` -**NOTE:** For developers and anyone else who builds frequently it is recommended to install `ccache` to expedite subsequent builds of Kodi. +> [!NOTE] +> For developers and anyone else who builds frequently it is recommended to install `ccache` to expedite subsequent builds of Kodi. You can install it with: ``` sudo zypper install ccache ``` -**TIP:** If you have multiple computers at home, `distcc` will distribute build workloads of C and C++ code across several machines on a network. Team Kodi may not be willing to give support if problems arise using such a build configuration. +> [!TIP] +> If you have multiple computers at home, `distcc` will distribute build workloads of C and C++ code across several machines on a network. Team Kodi may not be willing to give support if problems arise using such a build configuration. You can install it with: ``` |