With the help from this thread I did the following which works on a raspberry pi 4:
6.1.0-rpi7-rpi-v8 #1 SMP PREEMPT Debian 1:6.1.63-1+rpt1 (2023-11-24) aarch64 GNU/Linux
Pi OS Bookworm, fresh install
1.
sudo apt-get -y install automake cmake libtool git build-essential pkg-config gettext libavahi-client-dev zlib1g-dev wget bzip2 git-core liburiparser-dev debhelper ccache dvb-apps libssl-dev libpcre2-dev python3 python3-requests libtheora-dev libiconv-hook-dev libiconv-hook1 libhdhomerun-dev libavfilter-dev libswscale-dev libavcodec-dev libavutil-dev libavformat-dev libx264-dev libx265-dev libvpx-dev libopus-dev libvorbis-dev libva-dev
Tx to fegol
2.
git clone https://github.com/glenvt18/libdvbcsa.git
3. Download the libdvbcsa.patch and copy it into the libdvbcsa-folder and then:
4.
cd libdvbcsa
git config apply.whitespace nowarn
git apply libdvbcsa.patch
./bootstrap
./configure
make
sudo make install
cd
sudo apt-get install libdvbcsa-dev #otherwise tvheadend won't be build#
git clone https://github.com/tvheadend/tvheadend.git
cd tvheadend
#building#
AUTOBUILD_CONFIGURE_EXTRA="\
--python=python3 \
--disable-ffmpeg_static \
--enable-bundle \
--enable-ccache \
--disable-libfdkaac_static \
--disable-libopus_static \
--disable-libtheora_static \
--disable-libvorbis_static \
--disable-libvpx_static \
--disable-libx264_static \
--disable-libx265_static \
--disable-hdhomerun_static \
--enable-hdhomerun_client \
--enable-dvbcsa \
--enable-libtheora \
--enable-libav \
--enable-libopus \
--enable-libvorbis \
--enable-libvpx \
--enable-libx264 \
--enable-libx265 \
--disable-libfdkaac \
--disable-pngquant \
--disable-dvben50221 \
--disable-dvbscan \
--release" ./Autobuild.sh -t raspiosbookworm-aarch64
cd
sudo apt-get remove libdvbcsa-dev
#don't know if this is nessesary, works also without removing#
sudo cp /usr/local/lib/libdvbcsa.so.1.0.1 /usr/lib/aarch64-linux-gnu
#finally installing tvheadend#
sudo dpkg -i *.deb
Display More
Thanks to all of you
Attention! The "hts" folder will now be installed in /var/lib/tvheadend