libbluray: update to 1.4.0 and meson

This commit is contained in:
Rudi Heitbaum
2025-08-26 10:44:50 +00:00
parent eeb5a087da
commit 506b7c465d
2 changed files with 14 additions and 52 deletions

View File

@@ -3,14 +3,13 @@
# Copyright (C) 2018-present Team LibreELEC (https://libreelec.tv)
PKG_NAME="libbluray"
PKG_VERSION="1.3.4"
PKG_SHA256="478ffd68a0f5dde8ef6ca989b7f035b5a0a22c599142e5cd3ff7b03bbebe5f2b"
PKG_VERSION="1.4.0"
PKG_SHA256="77937baf07eadda4b2b311cf3af4c50269d2ea3165041f5843d96476c4c92777"
PKG_LICENSE="LGPL"
PKG_SITE="https://www.videolan.org/developers/libbluray.html"
PKG_URL="http://download.videolan.org/pub/videolan/libbluray/${PKG_VERSION}/${PKG_NAME}-${PKG_VERSION}.tar.bz2"
PKG_URL="http://download.videolan.org/pub/videolan/libbluray/${PKG_VERSION}/${PKG_NAME}-${PKG_VERSION}.tar.xz"
PKG_DEPENDS_TARGET="toolchain fontconfig freetype libxml2 libudfread"
PKG_LONGDESC="libbluray is an open-source library designed for Blu-Ray Discs playback for media players."
PKG_TOOLCHAIN="autotools"
if [ "${BLURAY_AACS_SUPPORT}" = "yes" ]; then
PKG_DEPENDS_TARGET+=" libaacs"
@@ -20,26 +19,14 @@ if [ "${BLURAY_BDPLUS_SUPPORT}" = "yes" ]; then
PKG_DEPENDS_TARGET+=" libbdplus"
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"
post_configure_target() {
libtool_remove_rpath libtool
}
PKG_MESON_OPTS_TARGET="-Ddefault_library=shared \
-Denable_docs=false \
-Denable_tools=false \
-Denable_devtools=false \
-Denable_examples=false \
-Dbdj_jar=disabled \
-Djava9=false \
-Dembed_udfread=true \
-Dfontconfig=enabled \
-Dfreetype=enabled \
-Dlibxml2=enabled"

View File

@@ -1,25 +0,0 @@
From bc746413e07c504535873cf860a8f2c38862896e Mon Sep 17 00:00:00 2001
From: MilhouseVH <milhouseVH.github@nmacleod.com>
Date: Thu, 1 Feb 2018 08:15:27 +0000
Subject: [PATCH] Fix build failure with recent ax_prog_doxygen.m4
Recent autotool-archives doxygen macros breaks the current build,
so this patch updates to the method of the latest autoconf-archive version.
The required autoconf-archive macro has been committed to their repository
in November 2015, so anything later should work.
Ref: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=837020
---
Makefile.am | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
--- a/Makefile.am
+++ b/Makefile.am
@@ -1,4 +1,5 @@
-include $(top_srcdir)/doxygen-include.am
+# include Doxygen rules (requires autoconf-archive >2016-03-20)
+@DX_RULES@
ACLOCAL_AMFLAGS = -I m4