comskip: initial package

This commit is contained in:
CvH 2018-10-02 17:26:44 +02:00
parent 68e30171bb
commit 57280950c1

View File

@ -0,0 +1,26 @@
# SPDX-License-Identifier: GPL-2.0-or-later
# Copyright (C) 2017-present Team LibreELEC (https://libreelec.tv)
PKG_NAME="comskip"
PKG_VERSION="6030aa0d3b589161ec96c6c986c48aa826fb9f72"
PKG_SHA256="df0b4b0354aef5acc17e4e94a20a396fa69c474af7579c94aad09dd490e0ee38"
PKG_LICENSE="GPL"
PKG_SITE="http://www.kaashoek.com/comskip/"
PKG_URL="https://github.com/erikkaashoek/Comskip/archive/${PKG_VERSION}.tar.gz"
PKG_DEPENDS_TARGET="toolchain argtable2 ffmpegx"
PKG_LONGDESC="Comskip detects commercial breaks from a video stream. It can be used for post-processing recordings"
PKG_TOOLCHAIN="autotools"
pre_configure_target() {
export argtable2_CFLAGS="-I$(get_build_dir argtable2)/src"
export argtable2_LIBS="-L$(get_build_dir argtable2)/src/.libs -largtable2"
# pass ffmpegx to build
PKG_CONFIG_PATH="$(get_build_dir ffmpegx)/.INSTALL_PKG/usr/local/lib/pkgconfig"
CFLAGS="$CFLAGS -I$(get_build_dir ffmpegx)/.INSTALL_PKG/usr/local/include"
LDFLAGS="$LDFLAGS -L$(get_build_dir ffmpegx)/.INSTALL_PKG/usr/local/lib"
}
make_target() {
:
}