rom1v / usbaudio

Forward audio from Android devices
MIT License
350 stars 32 forks source link

How compile without pulseaudio ? #31

Open inukaze opened 3 years ago

inukaze commented 3 years ago

Hi there, i am trying to compile usbaudio becauase the "sndcpy" needs Android 10.

cd /tmp
git clone https://github.com/rom1v/usbaudio

Clonando en 'usbaudio'... remote: Enumerating objects: 21, done. remote: Total 21 (delta 0), reused 0 (delta 0), pack-reused 21 Desempaquetando objetos: 100% (21/21), listo.

cd usbaudio
meson x --buildtype=release

The Meson build system Version: 0.57.1 Source dir: /tmp/usbaudio Build dir: /tmp/usbaudio/x Build type: native build Project name: usbaudio Project version: 1.0 C compiler for the host machine: ccache cc (gcc 5.5.0 "cc (GCC) 5.5.0") C linker for the host machine: cc ld.bfd 2.26.20160125 Host machine cpu family: x86_64 Host machine cpu: x86_64 Found pkg-config: /usr/bin/pkg-config (0.29.2) Found CMake: /usr/bin/cmake (3.19.6) Run-time dependency libpulse found: NO (tried pkgconfig and cmake)

meson.build:11:0: ERROR: Dependency "libpulse" not found, tried pkgconfig and cmake

A full log can be found at /tmp/usbaudio/x/meson-logs/meson-log.txt

I need instructions for compile without PulseAudio because that is an optional component and i don't use it.