2021-09-20 16:12:53 +02:00
|
|
|
TERMUX_PKG_HOMEPAGE="https://tvheadend.org/"
|
|
|
|
TERMUX_PKG_DESCRIPTION="TV streaming server for Linux and Android supporting DVB-S, DVB-S2 and other formats."
|
|
|
|
TERMUX_PKG_LICENSE="GPL-3.0"
|
2021-10-10 15:38:53 +02:00
|
|
|
TERMUX_PKG_MAINTAINER="MrAdityaAlok <dev.aditya.alok@gmail.com>"
|
2021-09-20 16:12:53 +02:00
|
|
|
TERMUX_PKG_VERSION=4.2.8
|
2022-04-19 12:13:28 +02:00
|
|
|
TERMUX_PKG_REVISION=6
|
2021-09-20 16:12:53 +02:00
|
|
|
TERMUX_PKG_SRCURL="https://github.com/tvheadend/tvheadend/archive/v${TERMUX_PKG_VERSION}.tar.gz"
|
|
|
|
TERMUX_PKG_SHA256=1aef889373d5fad2a7bd2f139156d4d5e34a64b6d38b87b868a2df415f01f7ad
|
2021-09-27 21:44:46 +02:00
|
|
|
TERMUX_PKG_DEPENDS="libiconv, ffmpeg, libopus, libx264, libx265, libvpx, libfdk-aac, libogg, libtheora, libvorbis, pngquant"
|
|
|
|
TERMUX_PKG_BUILD_DEPENDS="gettext, openssl, zlib, libdvbcsa, pcre2, dbus"
|
2021-09-20 16:12:53 +02:00
|
|
|
TERMUX_PKG_BUILD_IN_SRC=true
|
2021-10-02 12:04:09 +02:00
|
|
|
|
2021-09-20 16:12:53 +02:00
|
|
|
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="
|
|
|
|
--enable-android
|
|
|
|
--enable-pngquant
|
2021-09-27 21:44:46 +02:00
|
|
|
--enable-dvbcsa
|
2021-09-20 16:12:53 +02:00
|
|
|
--disable-libav
|
|
|
|
--disable-hdhomerun_static
|
|
|
|
--disable-ffmpeg_static
|
|
|
|
--disable-avahi
|
|
|
|
"
|
|
|
|
|
|
|
|
termux_step_pre_configure() {
|
|
|
|
termux_setup_cmake
|
|
|
|
|
2021-10-10 17:41:47 +02:00
|
|
|
CFLAGS=" -I$TERMUX_PKG_BUILDDIR/src $CFLAGS $CPPFLAGS"
|
2021-09-20 16:12:53 +02:00
|
|
|
|
2021-09-27 21:44:46 +02:00
|
|
|
# Arm does not support mmx and sse2 instructions, still checks return true
|
2021-09-20 16:12:53 +02:00
|
|
|
if [ "${TERMUX_ARCH}" = "arm" ] || [ "${TERMUX_ARCH}" = "aarch64" ]; then
|
|
|
|
patch -p1 <"${TERMUX_PKG_BUILDER_DIR}/disable-mmx-sse2"
|
|
|
|
fi
|
|
|
|
}
|