mirror of
https://github.com/Droid-Deck/DroidDeck.git
synced 2026-11-21 22:05:59 +00:00
cleanup (#764)
This commit is contained in:
1 parent
4163b31b02
commit
83ec5708ed
852 files changed
+4844
-46144
No files matched your search
@@ -1,21 +1,7 @@
|
||||
#!/usr/bin/env bash
|
||||
# Fetches the DirectAudio pieces DroidDeck ships from the pinned release in tools/directaudio/release.env
|
||||
# and puts them where the build reads them. Four zips, checksummed:
|
||||
# directaudio-linux-wine11.zip the game driver for Valve Proton 11 / Experimental / GE-Proton
|
||||
# directaudio-linux-wine11-systhread.zip the game driver for Proton-CachyOS (system-thread mmdevapi)
|
||||
# directaudio-linux-relay.zip the Android-side helper (speaker + microphone for games)
|
||||
# directaudio-linux-sink.zip the PulseAudio sinks; the app ships module-directaudio-native-sink
|
||||
#
|
||||
# tools/directaudio/fetch.sh <repo root> <dir to receive the sink modules>
|
||||
#
|
||||
# Driver sets -> app/src/main/assets/directaudio/<set>/ (generated, ignored by git)
|
||||
# Helper -> app/src/main/jniLibs/arm64-v8a/libdirectaudiorelay.so (generated, ignored by git)
|
||||
# Sink -> <sink dir>/module-directaudio-native-sink.so for the audio bundle, next to the
|
||||
# module-aaudio-sink.so tools/aaudio-sink builds (the fallback).
|
||||
set -euo pipefail
|
||||
repo_root=$1
|
||||
sink_out=$2
|
||||
# shellcheck source=release.env
|
||||
. "${repo_root}/tools/directaudio/release.env"
|
||||
for v in DIRECTAUDIO_REPO DIRECTAUDIO_TAG DIRECTAUDIO_WINE11_SHA256 DIRECTAUDIO_SYSTHREAD_SHA256 DIRECTAUDIO_RELAY_SHA256 DIRECTAUDIO_SINK_SHA256; do
|
||||
[[ -n "${!v:-}" && "${!v}" != TBD ]] || { echo "tools/directaudio/release.env: ${v} is not set" >&2; exit 1; }
|
||||
@@ -44,7 +30,6 @@ for set in linux-wine11 linux-wine11-systhread; do
|
||||
done
|
||||
rm -f "${assets}/${set}/README.md"
|
||||
done
|
||||
# Each set says which interface it was built for; the name must not lie.
|
||||
grep -q '^abi wine11$' "${assets}/linux-wine11/version.txt"
|
||||
grep -q '^abi systhread$' "${assets}/linux-wine11-systhread/version.txt"
|
||||
|
||||
|
||||
Reference in new issue
Block a user