termux-packages/packages/mkvtoolnix/build.sh
Leonid Pliushch 302321b066
Revert "mkvtoolnix: package is being moved to x11 repository"
Accidently pushed commit. No need to delete mkvtoolnix as in X11 repo
it is disabled.

This reverts commit b6e6256c45.
2021-07-25 20:23:29 +03:00

30 lines
924 B
Bash

TERMUX_PKG_HOMEPAGE=https://www.bunkus.org/videotools/mkvtoolnix/
TERMUX_PKG_DESCRIPTION="Set of tools to create, edit and inspect Matroska files"
TERMUX_PKG_LICENSE="GPL-2.0"
TERMUX_PKG_MAINTAINER="@termux"
TERMUX_PKG_VERSION=53.0.0
TERMUX_PKG_REVISION=1
TERMUX_PKG_SRCURL=https://gitlab.com/mbunkus/mkvtoolnix/-/archive/release-$TERMUX_PKG_VERSION/mkvtoolnix-release-$TERMUX_PKG_VERSION.tar.gz
TERMUX_PKG_SHA256=eca97e3da994799527b31bcf795c676dc9553949787808daa6598100f57aa221
TERMUX_PKG_DEPENDS="boost, file, libflac, libogg, libvorbis, pcre2, zlib"
TERMUX_PKG_BUILD_DEPENDS="fmt, libebml, libmatroska"
TERMUX_PKG_BUILD_IN_SRC=true
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="
--disable-static
--with-boost-filesystem=boost_filesystem
--with-boost-system=boost_system
--with-boost-date-time=boost_date_time
"
termux_step_pre_configure() {
./autogen.sh
}
termux_step_make() {
rake
}
termux_step_make_install() {
rake install
}