Skip to content

Commit

Permalink
Merge pull request #9357 from Calinou/compiling-for-linuxbsd-update-deps
Browse files Browse the repository at this point in the history
Update dependencies in Compiling for Linux/*BSD
  • Loading branch information
mhilbrunner committed May 12, 2024
2 parents fef0629 + 27f9076 commit 2fbda9e
Showing 1 changed file with 36 additions and 27 deletions.
63 changes: 36 additions & 27 deletions contributing/development/compiling/compiling_for_linuxbsd.rst
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,8 @@ required:
- Development libraries:

- X11, Xcursor, Xinerama, Xi and XRandR.
- MesaGL.
- Wayland and wayland-scanner.
- Mesa.
- ALSA.
- PulseAudio.

Expand Down Expand Up @@ -67,7 +68,6 @@ Distro-specific one-liners
libxi-dev \
libxrandr-dev \
mesa-dev \
libexecinfo-dev \
eudev-dev \
alsa-lib-dev \
pulseaudio-dev
Expand All @@ -76,14 +76,15 @@ Distro-specific one-liners

::

pacman -S --needed \
pacman -Sy --noconfirm --needed \
scons \
pkgconf \
gcc \
libxcursor \
libxinerama \
libxi \
libxrandr \
wayland-utils \
mesa \
glu \
libglvnd \
Expand All @@ -94,33 +95,36 @@ Distro-specific one-liners

::

apt-get install \
sudo apt-get update
sudo apt-get install -y \
build-essential \
scons \
pkg-config \
libx11-dev \
libxcursor-dev \
libxinerama-dev \
libgl1-mesa-dev \
libglu-dev \
libglu1-mesa-dev \
libasound2-dev \
libpulse-dev \
libudev-dev \
libxi-dev \
libxrandr-dev
libxrandr-dev \
libwayland-dev

.. tab:: Fedora

::

dnf install \
sudo dnf install -y \
scons \
pkgconfig \
libX11-devel \
libXcursor-devel \
libXrandr-devel \
libXinerama-devel \
libXi-devel \
wayland-devel \
mesa-libGL-devel \
mesa-libGLU-devel \
alsa-lib-devel \
Expand All @@ -141,20 +145,23 @@ Distro-specific one-liners
libXcursor \
libXrandr \
libXi \
xorgproto libGLU \
xorgproto \
libGLU \
alsa-lib \
pulseaudio

.. tab:: Gentoo

::

emerge --sync
emerge -an \
dev-util/scons \
dev-build/scons \
x11-libs/libX11 \
x11-libs/libXcursor \
x11-libs/libXinerama \
x11-libs/libXi \
dev-util/wayland-scanner \
media-libs/mesa \
media-libs/glu \
media-libs/alsa-lib \
Expand All @@ -164,10 +171,10 @@ Distro-specific one-liners

::

urpmi \
sudo urpmi --auto \
scons \
task-c++-devel \
pkgconfig \
wayland-devel \
"pkgconfig(alsa)" \
"pkgconfig(glu)" \
"pkgconfig(libpulse)" \
Expand All @@ -176,7 +183,19 @@ Distro-specific one-liners
"pkgconfig(xcursor)" \
"pkgconfig(xinerama)" \
"pkgconfig(xi)" \
"pkgconfig(xrandr)"
"pkgconfig(xrandr)"

.. tab:: NetBSD

::

pkg_add \
pkg-config \
py37-scons

.. hint::

For audio support, you can optionally install ``pulseaudio``.

.. tab:: OpenBSD

Expand All @@ -191,44 +210,34 @@ Distro-specific one-liners

::

zypper install \
sudo zypper install -y \
scons \
pkgconfig \
libX11-devel \
libXcursor-devel \
libXrandr-devel \
libXinerama-devel \
libXi-devel \
wayland-devel \
Mesa-libGL-devel \
alsa-devel \
libpulse-devel \
libudev-devel \
gcc-c++ \
libGLU1

.. tab:: NetBSD

::

pkg_add \
pkg-config \
py37-scons

.. hint::

For audio support, you can optionally install ``pulseaudio``.

.. tab:: Solus

::

eopkg install -c \
system.devel \
eopkg install -y \
-c system.devel \
scons \
libxcursor-devel \
libxinerama-devel \
libxi-devel \
libxrandr-devel \
wayland-devel \
mesalib-devel \
libglu \
alsa-lib-devel \
Expand Down

0 comments on commit 2fbda9e

Please sign in to comment.