termux-packages/packages/mkvtoolnix/build.sh

29 lines
902 B
Bash
Raw Normal View History

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"
2021-01-07 14:31:34 +01:00
TERMUX_PKG_VERSION=52.0.0
TERMUX_PKG_SRCURL=https://gitlab.com/mbunkus/mkvtoolnix/-/archive/release-$TERMUX_PKG_VERSION/mkvtoolnix-release-$TERMUX_PKG_VERSION.tar.gz
2021-01-07 14:31:34 +01:00
TERMUX_PKG_SHA256=7368e85167c78d7052ba25e2fa3e83ee2ea7ad8e3218665ad69771fae290b252
2020-09-09 19:44:07 +02:00
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
}