# shellcheck shell=bash # Part of JoeyLib, Copyright (c) 2026 Scott Duensing, under the MIT License. # See LICENSE.md for license information. # SPDX-License-Identifier: MIT # # libxmp-lite 4.7.0: the MOD decoder the DOS, Atari ST, X68000, SDL3, PSP, # web, Win16, Win32, Haiku and BeOS audio HALs compiled in until 2026-10-14, # when JoeyLib's own module player (src/core/modPlayer.c) replaced it. No # build uses it now; it stays a reference to compare that player against. compDescription="audio: libxmp-lite 4.7.0 source (no build links it; a reference for the module player)" compGroups="toolchain:dos toolchain:atarist toolchain:x68000 toolchain:sdl3 toolchain:psp toolchain:web toolchain:win16 toolchain:win32 toolchain:haiku toolchain:haiku32 toolchain:beos" compRequires="host" compHostDeps="tar" compUrl="https://github.com/libxmp/libxmp/releases/download/libxmp-4.7.0/libxmp-lite-4.7.0.tar.gz" compSha256="69967a7802d2d2f938347f6f9cd95232bf45a4623cbfcc196e37cdaefadc3974" compPin="$compSha256" compInstall() { local archive archive="$(fetchFile "$compUrl" "$compSha256")" rm -rf "$compDir" extractArchive "$archive" "$compDir" 1 } compInstalled() { [ -f "$compDir/include/libxmp-lite/xmp.h" ] } compVerify() { [ -d "$compDir/src" ] } compEnv() { envVar LIBXMP_DIR "$compDir" }