new package: mkvtoolnix

Requested in https://github.com/termux/termux-packages/issues/4731.
This commit is contained in:
Leonid Pliushch 2020-01-03 04:08:41 +02:00 committed by GitHub
parent 50006bd1f2
commit be503e952f
4 changed files with 45 additions and 0 deletions

7
packages/fmt/build.sh Normal file
View File

@ -0,0 +1,7 @@
TERMUX_PKG_HOMEPAGE=https://fmtlib.net/
TERMUX_PKG_DESCRIPTION="Open-source formatting library for C++"
TERMUX_PKG_LICENSE="BSD"
TERMUX_PKG_VERSION=6.1.2
TERMUX_PKG_SRCURL=https://github.com/fmtlib/fmt/archive/$TERMUX_PKG_VERSION.tar.gz
TERMUX_PKG_SHA256=1cafc80701b746085dddf41bd9193e6d35089e1c6ec1940e037fcb9c98f62365
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="-DFMT_TEST=OFF"

View File

@ -0,0 +1,6 @@
TERMUX_PKG_HOMEPAGE=https://github.com/Matroska-Org/libebml
TERMUX_PKG_DESCRIPTION="Extensible Binary Meta Language library"
TERMUX_PKG_LICENSE="LGPL-2.1"
TERMUX_PKG_VERSION=1.3.10
TERMUX_PKG_SRCURL=https://github.com/Matroska-Org/libebml/archive/release-$TERMUX_PKG_VERSION.tar.gz
TERMUX_PKG_SHA256=2562bb9bc3248e956a6ed1148eafe4d7d68759257133083c212d14faa8709d1e

View File

@ -0,0 +1,6 @@
TERMUX_PKG_HOMEPAGE=https://dl.matroska.org/downloads/libmatroska/
TERMUX_PKG_DESCRIPTION="Matroska library"
TERMUX_PKG_LICENSE="LGPL-2.1"
TERMUX_PKG_VERSION=1.5.2
TERMUX_PKG_SRCURL=https://github.com/Matroska-Org/libmatroska/archive/release-$TERMUX_PKG_VERSION.tar.gz
TERMUX_PKG_SHA256=8d03020ca3a657fe8d1ff57209b4218b6001df2ecd11ae956b428de941f2811f

View File

@ -0,0 +1,26 @@
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_VERSION=42.0.0
TERMUX_PKG_SRCURL=https://gitlab.com/mbunkus/mkvtoolnix/-/archive/release-$TERMUX_PKG_VERSION/mkvtoolnix-release-$TERMUX_PKG_VERSION.tar.gz
TERMUX_PKG_SHA256=31bcc50d8955a338480c06c31fdd26595f3cd1f25a7e35c7ae5d250444ee1bac
TERMUX_PKG_DEPENDS="boost, file, fmt, libebml, libflac, libmatroska, libogg, libvorbis, zlib"
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
}