new package: liba52

This commit is contained in:
Tee KOBAYASHI 2022-04-03 09:22:18 +09:00 committed by xtkoba
parent f532e106a5
commit 0bee1a46fa
2 changed files with 19 additions and 0 deletions

View File

@ -0,0 +1,2 @@
TERMUX_SUBPKG_INCLUDE="bin/ share/man/man1/"
TERMUX_SUBPKG_DESCRIPTION="A test program for liba52"

17
packages/liba52/build.sh Normal file
View File

@ -0,0 +1,17 @@
TERMUX_PKG_HOMEPAGE=http://liba52.sourceforge.net/
TERMUX_PKG_DESCRIPTION="A free library for decoding ATSC A/52 streams"
TERMUX_PKG_LICENSE="GPL-2.0"
TERMUX_PKG_MAINTAINER="@termux"
TERMUX_PKG_VERSION=0.7.4
TERMUX_PKG_SRCURL=http://liba52.sourceforge.net/files/a52dec-${TERMUX_PKG_VERSION}.tar.gz
TERMUX_PKG_SHA256=a21d724ab3b3933330194353687df82c475b5dfb997513eef4c25de6c865ec33
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="
--disable-djbfft
--disable-oss
"
termux_step_pre_configure() {
autoreconf -fi
LDFLAGS+=" -lm"
}