Hey!
If you wont build own deb packages.
ssh in to your osmc
run this commands
sudo apt-get update -y
sudo apt-get install build-essential pkg-config libssl-dev git debhelper libavahi-client-dev libcurl4-gnutls-dev liburiparser-dev -y
sudo apt-get install libavahi-client-dev libavcodec-dev libavfilter-dev libavformat-dev libavutil-dev libswscale-dev libavcodec-extra-53 liburiparser1 liburiparser-dev debhelper libcurl4-gnutls-dev a52dec -y
mkdir -p /tmp/src
cd /tmp/src
git clone GitHub - tvheadend/tvheadend: Tvheadend is a TV streaming server for Linux supporting DVB-S, DVB-S2, DVB-C, DVB-T, ATSC, IPTV,SAT>IP and other formats through the unix pipe as input sources.
cd tvheadend*
AUTOBUILD_CONFIGURE_EXTRA=–disable-libav ./Autobuild.sh -t debian
deb package in folder /tmp/src/
bberski