File project.diff of Package libbluray

--- baselibs.conf.orig
+++ baselibs.conf
@@ -1 +1 @@
-libbluray2
+libbluray3
--- libbluray.changes.orig
+++ libbluray.changes
@@ -1,4 +1,18 @@
 -------------------------------------------------------------------
+Fri Sep  5 08:36:32 UTC 2025 - pgajdos@suse.com
+
+- version update to 1.4.0
+  * Switch build system to Meson.
+  * Require libudfread 1.2.0.
+  * Use visibility attributes for exported symbols.
+  * Fix issues detecting dlfcn
+- modified sources
+  % baselibs.conf
+- deleted patches
+  - libbluray-java18plus.patch (upstreamed)
+  - libbluray-pkgconfig.patch (upstreamed)
+
+-------------------------------------------------------------------
 Mon Oct 30 10:50:48 UTC 2023 - Fridrich Strba <fstrba@suse.com>
 
 - Added patch:
--- libbluray.spec.orig
+++ libbluray.spec
@@ -1,7 +1,7 @@
 #
 # spec file for package libbluray
 #
-# Copyright (c) 2023 SUSE LLC
+# Copyright (c) 2025 SUSE LLC and contributors
 # Copyright (c) 2011 Dominique Leuenberger, Amsterdam, The Netherlands
 #
 # All modifications and additions to the file contributed by third parties
@@ -17,26 +17,27 @@
 #
 
 
-%define         sover 2
+%if ! 0%{?_smp_build_ncpus}
+# needed by %%meson
+%define  _smp_build_ncpus %{?jobs:%{jobs}}
+%endif
+
+%define         sover 3
 Name:           libbluray
-Version:        1.3.4
+Version:        1.4.0
 Release:        0
 Summary:        Library to access Blu-Ray disk
 License:        LGPL-2.1-or-later
 Group:          Productivity/Multimedia/Other
 URL:            https://www.videolan.org/developers/libbluray.html
-Source0:        https://download.videolan.org/pub/videolan/%{name}/%{version}/%{name}-%{version}.tar.bz2
+Source0:        https://download.videolan.org/pub/videolan/%{name}/%{version}/%{name}-%{version}.tar.xz
 Source99:       baselibs.conf
-Patch0:         libbluray-pkgconfig.patch
-Patch1:         libbluray-java18plus.patch
 BuildRequires:  ant
-BuildRequires:  autoconf
-BuildRequires:  automake
 BuildRequires:  java-devel >= 1.8
-BuildRequires:  libtool
-BuildRequires:  pkgconfig
+BuildRequires:  meson
 BuildRequires:  pkgconfig(fontconfig)
 BuildRequires:  pkgconfig(freetype2)
+BuildRequires:  pkgconfig(libudfread)
 BuildRequires:  pkgconfig(libxml-2.0) >= 2.6
 
 %description
@@ -81,9 +82,7 @@ Requires:       java >= 9
 %else
 Requires:       java >= 1.8
 %endif
-%if 0%{?suse_version} > 1110
 BuildArch:      noarch
-%endif
 
 %description bdj
 This library is written for the purpose of playing Blu-ray movies. It is
@@ -94,19 +93,13 @@ MPlayer). We, the authors of this librar
 %autosetup -p1
 
 %build
-autoreconf -fi
-%configure \
-    --disable-static \
-    --enable-bdjava \
-    --enable-udf
-%make_build
+%meson --default-library=shared
+%meson_build
 
 %install
-%make_install
-find %{buildroot} -type f -name "*.la" -delete -print
+%meson_install
 
-%post -n libbluray%{sover} -p /sbin/ldconfig
-%postun -n libbluray%{sover} -p /sbin/ldconfig
+%ldconfig_scriptlets -n libbluray%{sover}
 
 %files tools
 %{_bindir}/bd_info
openSUSE Build Service is sponsored by