2022-02-05 14:23:32 +00:00
|
|
|
# SPDX-License-Identifier: GPL-2.0-or-later
|
|
|
|
# Copyright (C) 2009-2016 Stephan Raue (stephan@openelec.tv)
|
|
|
|
# Copyright (C) 2018-present Team LibreELEC (https://libreelec.tv)
|
|
|
|
|
|
|
|
PKG_NAME="libass"
|
2023-08-24 09:53:35 +00:00
|
|
|
PKG_VERSION="0.17.1"
|
2022-02-05 14:23:32 +00:00
|
|
|
PKG_LICENSE="BSD"
|
|
|
|
PKG_SITE="https://github.com/libass/libass"
|
2022-12-09 13:54:53 +00:00
|
|
|
PKG_URL="https://github.com/libass/libass/releases/download/${PKG_VERSION}/${PKG_NAME}-${PKG_VERSION}.tar.xz"
|
|
|
|
PKG_DEPENDS_TARGET="toolchain freetype fontconfig fribidi harfbuzz"
|
2022-02-05 14:23:32 +00:00
|
|
|
PKG_LONGDESC="A portable subtitle renderer for the ASS/SSA (Advanced Substation Alpha/Substation Alpha) subtitle format."
|
|
|
|
|
|
|
|
PKG_CONFIGURE_OPTS_TARGET="--disable-test \
|
|
|
|
--enable-fontconfig \
|
|
|
|
--disable-silent-rules \
|
|
|
|
--with-gnu-ld"
|
|
|
|
|
2022-12-09 13:54:53 +00:00
|
|
|
if [ ${TARGET_ARCH} = "x86_64" ]; then
|
2022-02-05 14:23:32 +00:00
|
|
|
PKG_DEPENDS_TARGET+=" nasm:host"
|
|
|
|
PKG_CONFIGURE_OPTS_TARGET+=" --enable-asm"
|
|
|
|
fi
|
2022-12-09 13:54:53 +00:00
|
|
|
|
|
|
|
post_configure_target() {
|
|
|
|
libtool_remove_rpath libtool
|
|
|
|
}
|