Files
moonmix/tools/pkg-cc
T
SpriteandClaude Opus 5.5 c55883b8ad feature: WirePlumber binding and headless probe
Thin C layer over libwireplumber-0.5: an object manager for audio
nodes, links and the default metadata, plus the mixer-api and
default-nodes-api plugins (what wpctl uses internally) for volume, mute
and defaults. Streams are moved by setting target.object in the default
metadata, as pipewire-pulse does. No CLI tools are spawned.

tools/pkg-cc wraps the C compiler to append pkg-config flags because
moon does not expand $(pkg-config ...) in moon.pkg link options.

moonmix-probe prints what each tab shows and can apply one action.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 22:28:50 +00:00

8 lines
349 B
Bash
Executable File

#!/bin/sh
# C compiler wrapper used by moon.pkg (link.native.stub-cc / cc): moon does
# not expand $(pkg-config ...) in flags, so append them here. Works for both
# compiling stubs and linking the final executable.
set -e
PKGS="${MOONMIX_PKGS:-libpipewire-0.3 wireplumber-0.5 gtk4}"
exec "${MOONMIX_CC:-cc}" "$@" $(pkg-config --cflags --libs $PKGS)