Skip to content

Commit cd60ce4

Browse files
committed
update linux workflow
1 parent 5e1077f commit cd60ce4

File tree

3 files changed

+25
-2
lines changed

3 files changed

+25
-2
lines changed

.github/actions/init-build/action.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,11 @@ runs:
3131
shell: pwsh
3232
run: |
3333
sudo apt update
34-
sudo apt-get -y install ninja-build libasound2-dev libxrandr-dev libxinerama-dev libxrender-dev libxcomposite-dev libxcursor-dev
34+
sudo apt-get -y install `
35+
ninja-build `
36+
libasound2-dev libatopology-dev `
37+
libxrandr-dev libxinerama-dev libxrender-dev libxcomposite-dev libxcursor-dev `
38+
libgl1-mesa-dev libxkbcommon-x11-0 libxcb-icccm4 libxcb-image0 libxcb-keysyms1 libxcb-render-util0 libxcb-xinerama0 libzstd-dev
3539
Write-Output VCPKG_TRIPLET=x64-linux >> $env:GITHUB_ENV
3640
Write-Output VCPKG_TRIPLET_STATIC=x64-linux >> $env:GITHUB_ENV
3741
Write-Output QT_ARCH=gcc_64 >> $env:GITHUB_ENV

.github/workflows/generate-bundles-and-release.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -164,6 +164,21 @@ jobs:
164164
run: |
165165
cd scripts/setup/linux
166166
mv $env:DIFFSCOPE_INSTALLED_DIR DiffScope
167+
168+
Push-Location DiffScope/lib
169+
# Just steal the exclude list of dynamic libraries from AppImage
170+
$excludeListUrl = "https://raw.githubusercontent.com/AppImageCommunity/pkg2appimage/04af461f471a2bf49671057408e0313f1f731d4b/excludelist"
171+
$excludeList = (Invoke-WebRequest $excludeListUrl).Content.split("`n")
172+
if ($excludeList.Count -eq 0) {
173+
exit 1
174+
}
175+
foreach ($file in ($excludeList | ForEach-Object { ($_ -replace '\s*#.*$', '').Trim() } | Where-Object { $_ -ne "" })) {
176+
if (Test-Path $file) {
177+
Remove-Item $file
178+
}
179+
}
180+
Pop-Location
181+
167182
mkdir "DiffScope Bridge"
168183
Invoke-WebRequest -Uri "https://raw.githubusercontent.com/CrSjimo/diffscope-ci-tools-mirror/refs/heads/main/gpl-3.0.rtf" -OutFile "DiffScope Bridge/gpl-3.0.rtf"
169184
mv $env:DIFFSCOPE_BRIDGE_ARTEFACTS_DIR/VST3/*.vst3 "DiffScope Bridge"

src/share/install.cmake

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,11 @@ elseif(APPLE)
3636
)
3737
else()
3838
# Linux
39-
set(_)
39+
list(APPEND _plugins
40+
platforms/qxcb
41+
platforminputcontexts/*
42+
xcbglintegrations/*
43+
)
4044
endif()
4145

4246
if(WIN32)

0 commit comments

Comments
 (0)