mirror of https://github.com/encounter/SDL.git
Update the list of required Ubuntu packages, and add Ubuntu 22.04 workflows
This commit is contained in:
parent
adb3e1a21d
commit
3bdc10f842
|
@ -17,8 +17,10 @@ jobs:
|
||||||
platform:
|
platform:
|
||||||
- { name: Windows (mingw32), os: windows-latest, shell: 'msys2 {0}', msystem: mingw32, msys-env: mingw-w64-i686, cc: gcc }
|
- { name: Windows (mingw32), os: windows-latest, shell: 'msys2 {0}', msystem: mingw32, msys-env: mingw-w64-i686, cc: gcc }
|
||||||
- { name: Windows (mingw64+clang), os: windows-latest, shell: 'msys2 {0}', msystem: mingw64, msys-env: mingw-w64-x86_64, cc: clang }
|
- { name: Windows (mingw64+clang), os: windows-latest, shell: 'msys2 {0}', msystem: mingw64, msys-env: mingw-w64-x86_64, cc: clang }
|
||||||
- { name: Linux (CMake), os: ubuntu-20.04, shell: sh }
|
- { name: Ubuntu 20.04 (CMake), os: ubuntu-20.04, shell: sh }
|
||||||
- { name: Linux (autotools), os: ubuntu-20.04, shell: sh, autotools: true }
|
- { name: Ubuntu 20.04 (autotools), os: ubuntu-20.04, shell: sh, autotools: true }
|
||||||
|
- { name: Ubuntu 22.04 (CMake), os: ubuntu-22.04, shell: sh }
|
||||||
|
- { name: Ubuntu 22.04 (autotools), os: ubuntu-22.04, shell: sh, autotools: true }
|
||||||
- { name: MacOS (CMake), os: macos-latest, shell: sh, cmake: '-DCMAKE_OSX_ARCHITECTURES="x86_64;arm64"' }
|
- { name: MacOS (CMake), os: macos-latest, shell: sh, cmake: '-DCMAKE_OSX_ARCHITECTURES="x86_64;arm64"' }
|
||||||
- { name: MacOS (autotools), os: macos-latest, shell: sh, autotools: true }
|
- { name: MacOS (autotools), os: macos-latest, shell: sh, autotools: true }
|
||||||
|
|
||||||
|
@ -49,48 +51,18 @@ jobs:
|
||||||
if: runner.os == 'Linux'
|
if: runner.os == 'Linux'
|
||||||
run: |
|
run: |
|
||||||
sudo apt-get update
|
sudo apt-get update
|
||||||
sudo apt-get install \
|
sudo apt-get install build-essential git make autoconf automake libtool \
|
||||||
autoconf \
|
pkg-config cmake ninja-build gnome-desktop-testing libasound2-dev libpulse-dev \
|
||||||
gnome-desktop-testing \
|
libaudio-dev libjack-dev libsndio-dev libsamplerate0-dev libx11-dev libxext-dev \
|
||||||
wayland-protocols \
|
libxrandr-dev libxcursor-dev libxfixes-dev libxi-dev libxss-dev libwayland-dev \
|
||||||
pkg-config \
|
libxkbcommon-dev libdrm-dev libgbm-dev libgl1-mesa-dev libgles2-mesa-dev \
|
||||||
ninja-build \
|
libegl1-mesa-dev libdbus-1-dev libibus-1.0-dev libudev-dev fcitx-libs-dev
|
||||||
libasound2-dev \
|
|
||||||
libdbus-1-dev \
|
- name: Setup extra Ubuntu 22.04 dependencies
|
||||||
libegl1-mesa-dev \
|
if: matrix.platform.os == 'ubuntu-22.04'
|
||||||
libgl1-mesa-dev \
|
run: |
|
||||||
libgles2-mesa-dev \
|
sudo apt-get install libpipewire-0.3-dev libdecor-0-dev
|
||||||
libglu1-mesa-dev \
|
|
||||||
libibus-1.0-dev \
|
|
||||||
libpulse-dev \
|
|
||||||
libsdl2-2.0-0 \
|
|
||||||
libsndio-dev \
|
|
||||||
libudev-dev \
|
|
||||||
libwayland-dev \
|
|
||||||
libwayland-client++0 \
|
|
||||||
wayland-scanner++ \
|
|
||||||
libwayland-cursor++0 \
|
|
||||||
libx11-dev \
|
|
||||||
libxcursor-dev \
|
|
||||||
libxext-dev \
|
|
||||||
libxi-dev \
|
|
||||||
libxinerama-dev \
|
|
||||||
libxkbcommon-dev \
|
|
||||||
libxrandr-dev \
|
|
||||||
libxss-dev \
|
|
||||||
libxt-dev \
|
|
||||||
libxv-dev \
|
|
||||||
libxxf86vm-dev \
|
|
||||||
libdrm-dev \
|
|
||||||
libgbm-dev\
|
|
||||||
libpulse-dev \
|
|
||||||
libpango1.0-dev
|
|
||||||
sudo apt install meson
|
|
||||||
git clone --depth 1 https://gitlab.gnome.org/jadahl/libdecor.git --branch 0.1.0
|
|
||||||
cd libdecor
|
|
||||||
meson build --buildtype release -Ddemo=false -Ddbus=disabled
|
|
||||||
ninja -v -C build
|
|
||||||
sudo meson install -C build
|
|
||||||
- name: Setup Macos dependencies
|
- name: Setup Macos dependencies
|
||||||
if: runner.os == 'macOS'
|
if: runner.os == 'macOS'
|
||||||
run: |
|
run: |
|
||||||
|
|
|
@ -12,15 +12,16 @@ default configuration parameters.
|
||||||
Build Dependencies
|
Build Dependencies
|
||||||
--------------------------------------------------------------------------------
|
--------------------------------------------------------------------------------
|
||||||
|
|
||||||
Ubuntu 20.04, all available features enabled:
|
Ubuntu 18.04, all available features enabled:
|
||||||
|
|
||||||
sudo apt-get install build-essential git make cmake autoconf automake \
|
sudo apt-get install build-essential git make autoconf automake libtool \
|
||||||
libtool pkg-config libasound2-dev libpulse-dev libaudio-dev libjack-dev \
|
pkg-config cmake ninja-build gnome-desktop-testing libasound2-dev libpulse-dev \
|
||||||
libx11-dev libxext-dev libxrandr-dev libxcursor-dev libxfixes-dev libxi-dev \
|
libaudio-dev libjack-dev libsndio-dev libsamplerate0-dev libx11-dev libxext-dev \
|
||||||
libxss-dev libgl1-mesa-dev libdbus-1-dev \
|
libxrandr-dev libxcursor-dev libxfixes-dev libxi-dev libxss-dev libwayland-dev \
|
||||||
libudev-dev libgles2-mesa-dev libegl1-mesa-dev libibus-1.0-dev \
|
libxkbcommon-dev libdrm-dev libgbm-dev libgl1-mesa-dev libgles2-mesa-dev \
|
||||||
fcitx-libs-dev libsamplerate0-dev libsndio-dev libwayland-dev \
|
libegl1-mesa-dev libdbus-1-dev libibus-1.0-dev libudev-dev fcitx-libs-dev
|
||||||
libxkbcommon-dev libdrm-dev libgbm-dev
|
|
||||||
|
Ubuntu 22.04+ can also add `libpipewire-0.3-dev libdecor-0-dev` to that command line.
|
||||||
|
|
||||||
Fedora 35, all available features enabled:
|
Fedora 35, all available features enabled:
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue