[packages/libbluray] up to 1.5.0 (new soname)

atler atler at pld-linux.org
Wed Aug 5 14:21:15 CEST 2026


commit e3608190b1338994ff3e93a3235f57c57544f0b0
Author: Jan Palus <atler at pld-linux.org>
Date:   Mon Aug 3 18:02:18 2026 +0200

    up to 1.5.0 (new soname)
    
    override PATH before install to fix error with missing `jar` binary
    coming from meson's internal fix_jar() function. meson is a mess when it
    comes to java and there's little hope it gets fixed (ideally JAVA_HOME
    is detected and stored during setup and reused whenever any java tool is
    needed - also during install)

 javac.patch    |  2 +-
 libbluray.spec | 14 +++++---------
 2 files changed, 6 insertions(+), 10 deletions(-)
---
diff --git a/libbluray.spec b/libbluray.spec
index a8879c9..ad0645a 100644
--- a/libbluray.spec
+++ b/libbluray.spec
@@ -8,12 +8,12 @@
 Summary:	Library to access Blu-Ray disks for video playback
 Summary(pl.UTF-8):	Biblioteka dostępu do dysków Blu-Ray w celu odtwarzania filmów
 Name:		libbluray
-Version:	1.4.1
-Release:	2
+Version:	1.5.0
+Release:	1
 License:	LGPL v2+
 Group:		Libraries
 Source0:	https://download.videolan.org/videolan/libbluray/%{version}/%{name}-%{version}.tar.xz
-# Source0-md5:	e9d2fcb48ab14a43fe48797db4429437
+# Source0-md5:	2a2bfafbbb8b8a40b3359fa7b953fdf0
 Patch0:		javac.patch
 Patch1:		java8.patch
 URL:		http://www.videolan.org/developers/libbluray.html
@@ -124,11 +124,6 @@ export JAVAC="%{java_home}/bin/javac"
 %if %{with java}
 	-Dbdj_jar=enabled \
 	-Djdk_home="%{java_home}" \
-%if %{_ver_ge %default_jdk_version 9}
-	-Djava9=true \
-%else
-	-Djava9=false \
-%endif
 %else
 	-Dbdj_jar=disabled \
 %endif
@@ -142,6 +137,7 @@ export JAVAC="%{java_home}/bin/javac"
 %install
 rm -rf $RPM_BUILD_ROOT
 
+export PATH="$PATH:%{java_home}/bin"
 %meson_install
 
 %{?with_apidocs:%{__rm} -r $RPM_BUILD_ROOT%{_datadir}/doc/libbluray}
@@ -159,7 +155,7 @@ rm -rf $RPM_BUILD_ROOT
 %attr(755,root,root) %{_bindir}/bd_list_titles
 %attr(755,root,root) %{_bindir}/bd_splice
 %{_libdir}/libbluray.so.*.*.*
-%ghost %{_libdir}/libbluray.so.3
+%ghost %{_libdir}/libbluray.so.4
 
 %files devel
 %defattr(644,root,root,755)
diff --git a/javac.patch b/javac.patch
index a0870ba..4fbc1c1 100644
--- a/javac.patch
+++ b/javac.patch
@@ -10,5 +10,5 @@
 +    javac_version = javac.version()
 +    javac_path    = javac.cmd_array().get(0)
      javac_arg     = '-Xlint:-deprecation'
-     if get_option('java9') and bdj_type == 'j2se'
+     if bdj_type == 'j2se'
          if javac_version.version_compare('>= 18.0')
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/libbluray.git/commitdiff/e3608190b1338994ff3e93a3235f57c57544f0b0



More information about the pld-cvs-commit mailing list