get rid of SDL2's dbus dependency

This commit is contained in:
Kae 2024-12-31 18:21:12 +11:00
parent 95b8727d0c
commit 4f37d900c4
2 changed files with 6 additions and 5 deletions

View File

@ -28,7 +28,7 @@ jobs:
build_windows:
name: Build OpenStarbound Windows x64
runs-on: windows-latest
if: ${{ (github.event_name != 'workflow_dispatch') || (inputs.windows == true) }}
if: ${{ (github.event_name == 'workflow_dispatch') && (inputs.windows == true) }}
steps:
- name: Checkout
uses: actions/checkout@v4
@ -103,7 +103,7 @@ jobs:
build_linux:
name: Build OpenStarbound Linux x86_64
runs-on: ubuntu-22.04
runs-on: ubuntu-20.04
if: ${{ (github.event_name != 'workflow_dispatch') || (inputs.linux == true) }}
env:
CC: clang
@ -171,7 +171,7 @@ jobs:
build-mac-intel:
name: Build OpenStarbound macOS x86_64
runs-on: macos-13
if: ${{ (github.event_name != 'workflow_dispatch') || (inputs.macOS == true) }}
if: ${{ (github.event_name == 'workflow_dispatch') && (inputs.macOS == true) }}
steps:
- uses: actions/checkout@v4
with:
@ -213,7 +213,7 @@ jobs:
build-mac-arm:
name: Build OpenStarbound macOS arm64
runs-on: macos-14
if: ${{ (github.event_name != 'workflow_dispatch') || (inputs.macOS == true) }}
if: ${{ (github.event_name == 'workflow_dispatch') && (inputs.macOS == true) }}
steps:
- uses: actions/checkout@v4
with:

View File

@ -2,7 +2,8 @@
"$schema": "https://raw.githubusercontent.com/microsoft/vcpkg-tool/main/docs/vcpkg.schema.json",
"dependencies": [
"glew",
"sdl2",
{ "name": "sdl2", "default-features": false, "features": ["wayland", "x11", "alsa", "ibus"], "platform": "linux" },
{ "name": "sdl2", "platform": "windows" },
"libvorbis",
"zlib",
"freetype",