Skip to content

Instantly share code, notes, and snippets.

@ssalonen
Created August 1, 2021 10:58
Show Gist options
  • Save ssalonen/7ec8de144aef58ec80814fb17080bab5 to your computer and use it in GitHub Desktop.
Save ssalonen/7ec8de144aef58ec80814fb17080bab5 to your computer and use it in GitHub Desktop.
Build snapclient for fedora

Tested with fedora 34

Prerequisites

sudo dnf install @development-tools
sudo dnf install alsa-lib-devel avahi-devel libvorbis-devel opus-devel flac-devel soxr-devel libstdc++-static expat boost-devel
cd snapclient_src
# Disable pulseaudio bits. Fedora uses pipewire + alsa(?)
cmake -DBUILD_WITH_PULSE=off

cd client

# Patch missing imports:
vi ../common/resampler.hpp      
# (add #include <memory>)
vi ../common/message/message.hpp
# (add #include <memory>)

# Compile!
make
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment