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="libbluray"
|
2022-12-09 13:54:53 +00:00
|
|
|
PKG_VERSION="1.3.3"
|
|
|
|
PKG_SHA256="58ff52cdcee64c55dcc3c777a1c39fb41abd951b927978e4d2b6811b9193a488"
|
2022-02-05 14:23:32 +00:00
|
|
|
PKG_LICENSE="LGPL"
|
|
|
|
PKG_SITE="https://www.videolan.org/developers/libbluray.html"
|
2022-12-09 13:54:53 +00:00
|
|
|
PKG_URL="http://download.videolan.org/pub/videolan/libbluray/${PKG_VERSION}/${PKG_NAME}-${PKG_VERSION}.tar.bz2"
|
|
|
|
PKG_DEPENDS_TARGET="toolchain fontconfig freetype libxml2 libudfread"
|
2022-02-05 14:23:32 +00:00
|
|
|
PKG_LONGDESC="libbluray is an open-source library designed for Blu-Ray Discs playback for media players."
|
|
|
|
PKG_TOOLCHAIN="autotools"
|
|
|
|
|
2022-12-09 13:54:53 +00:00
|
|
|
if [ "${BLURAY_AACS_SUPPORT}" = "yes" ]; then
|
|
|
|
PKG_DEPENDS_TARGET+=" libaacs"
|
2022-02-05 14:23:32 +00:00
|
|
|
fi
|
|
|
|
|
2022-12-09 13:54:53 +00:00
|
|
|
if [ "${BLURAY_BDPLUS_SUPPORT}" = "yes" ]; then
|
|
|
|
PKG_DEPENDS_TARGET+=" libbdplus"
|
2022-02-05 14:23:32 +00:00
|
|
|
fi
|
|
|
|
|
|
|
|
PKG_CONFIGURE_OPTS_TARGET="--disable-werror \
|
|
|
|
--disable-extra-warnings \
|
|
|
|
--disable-optimizations \
|
|
|
|
--disable-examples \
|
|
|
|
--disable-bdjava-jar \
|
|
|
|
--disable-doxygen-doc \
|
|
|
|
--disable-doxygen-dot \
|
|
|
|
--disable-doxygen-man \
|
|
|
|
--disable-doxygen-rtf \
|
|
|
|
--disable-doxygen-xml \
|
|
|
|
--disable-doxygen-chm \
|
|
|
|
--disable-doxygen-chi \
|
|
|
|
--disable-doxygen-html \
|
|
|
|
--disable-doxygen-ps \
|
|
|
|
--disable-doxygen-pdf \
|
|
|
|
--with-freetype \
|
|
|
|
--with-fontconfig \
|
|
|
|
--with-libxml2 \
|
|
|
|
--with-gnu-ld"
|
2022-12-09 13:54:53 +00:00
|
|
|
|
|
|
|
post_configure_target() {
|
|
|
|
libtool_remove_rpath libtool
|
|
|
|
}
|