2019-12-10 13:28:07 +01:00
|
|
|
TERMUX_PKG_HOMEPAGE=https://mediaarea.net/en/MediaInfo
|
|
|
|
TERMUX_PKG_DESCRIPTION="Library for reading information from media files"
|
|
|
|
TERMUX_PKG_LICENSE="BSD 2-Clause"
|
2020-04-04 21:01:12 +02:00
|
|
|
TERMUX_PKG_VERSION=20.03
|
2019-12-10 13:28:07 +01:00
|
|
|
TERMUX_PKG_REVISION=1
|
|
|
|
TERMUX_PKG_SRCURL=https://mediaarea.net/download/source/libmediainfo/${TERMUX_PKG_VERSION}/libmediainfo_${TERMUX_PKG_VERSION}.tar.gz
|
2020-04-04 21:01:12 +02:00
|
|
|
TERMUX_PKG_SHA256=90ea6395a5b5b6a138c2f85e9afe9723cb97bca6f9137529a0a2052acf2fe0d7
|
2019-12-10 13:28:07 +01:00
|
|
|
TERMUX_PKG_DEPENDS="libcurl, libzen, zlib"
|
|
|
|
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="--enable-shared --enable-static --with-libcurl"
|
|
|
|
|
|
|
|
termux_step_pre_configure() {
|
2020-04-07 14:20:25 +02:00
|
|
|
TERMUX_PKG_SRCDIR="${TERMUX_PKG_SRCDIR}/Project/GNU/Library"
|
|
|
|
TERMUX_PKG_BUILDDIR="${TERMUX_PKG_SRCDIR}"
|
|
|
|
cd "${TERMUX_PKG_SRCDIR}"
|
|
|
|
./autogen.sh
|
2019-12-10 13:28:07 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
termux_step_post_make_install() {
|
2020-04-07 14:20:25 +02:00
|
|
|
ln -sf "${TERMUX_PREFIX}/lib/libmediainfo.so" "${TERMUX_PREFIX}/lib/libmediainfo.so.0"
|
|
|
|
ln -sf "${TERMUX_PREFIX}/lib/libmediainfo.so" "${TERMUX_PREFIX}/lib/libmediainfo.so.0.0"
|
2019-12-10 13:28:07 +01:00
|
|
|
}
|