termux-packages/packages/libdvbcsa/build.sh
Aditya Alok 8896b615ab
Add package tvheadend
Add package libdvbcsa

required by tvheadend

tvheadend: disable all static libs

tvheadend: disable libav and `--enable-android` only for 32 bits

Revert "tvheadend: `--enable-android` only for 32 bits"

This reverts commit fba7db937ee9063b971e25d087f2fbb2b50a8d7e.

tvheadend: disable libav

tvheadend: add patch for `<time64.h>` header

 this is needed for 32 bit archs only

tvheadend: supress warnings as error

tvheadend: disable `mmx` instructions for arm

It is not supported by Arm (or Android ?)

tvheadend: disable `sse2` instructions as well

tvheadend: add cflag for include dir

tvheadend: enable tvhcsa

tvheadend: remove TODO comments
2021-09-24 18:24:34 +05:30

13 lines
626 B
Bash

TERMUX_PKG_HOMEPAGE="https://www.videolan.org/developers/libdvbcsa.html"
TERMUX_PKG_DESCRIPTION="An implementation of the DVB Common Scrambling Algorithm - DVB/CSA - with encryption and decryption capabilities"
TERMUX_PKG_LICENSE="GPL-2.0"
TERMUX_PKG_MAINTAINER="@MrAdityaAlok <dev.aditya.alok@gmail.com>"
TERMUX_PKG_VERSION=1.1.0
TERMUX_PKG_SRCURL="https://download.videolan.org/pub/videolan/libdvbcsa/${TERMUX_PKG_VERSION}/libdvbcsa-${TERMUX_PKG_VERSION}.tar.gz"
TERMUX_PKG_SHA256=4db78af5cdb2641dfb1136fe3531960a477c9e3e3b6ba19a2754d046af3f456d
TERMUX_PKG_BUILD_IN_SRC=true
termux_step_pre_configure(){
autoreconf -fvi
}