termux-packages/packages/mediainfo/build.sh
2020-04-07 15:20:40 +03:00

17 lines
688 B
Bash

TERMUX_PKG_HOMEPAGE=https://mediaarea.net/en/MediaInfo
TERMUX_PKG_DESCRIPTION="Command-line utility for reading information from media files"
TERMUX_PKG_LICENSE="BSD 2-Clause"
TERMUX_PKG_VERSION=20.03
TERMUX_PKG_REVISION=1
TERMUX_PKG_SRCURL=https://mediaarea.net/download/source/mediainfo/${TERMUX_PKG_VERSION}/mediainfo_${TERMUX_PKG_VERSION}.tar.gz
TERMUX_PKG_SHA256=55bea28ce0d39c88677c58e3a002bbb95e206749be1d3d0c9134514b4c27acdc
TERMUX_PKG_DEPENDS="libmediainfo"
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="--with-dll"
termux_step_pre_configure() {
TERMUX_PKG_SRCDIR="${TERMUX_PKG_SRCDIR}/Project/GNU/CLI"
TERMUX_PKG_BUILDDIR="${TERMUX_PKG_SRCDIR}"
cd "${TERMUX_PKG_SRCDIR}"
./autogen.sh
}