SHA256
1
0
forked from pool/libbluray

Accepting request 993853 from home:dirkmueller:Factory

- update to 1.3.2:
  - Fix build/run failure after Oracle Java CPU for April 2022
- drop patch libbluray-April2022CPU.patch (upstream)

OBS-URL: https://build.opensuse.org/request/show/993853
OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/libbluray?expand=0&rev=90
This commit is contained in:
Dominique Leuenberger 2022-08-09 08:28:12 +00:00 committed by Git OBS Bridge
parent f771d391ba
commit 00687b564b
5 changed files with 12 additions and 28 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:c24b0f41c5b737bbb65c544fe63495637a771c10a519dfc802e769f112b43b75
size 754867

3
libbluray-1.3.2.tar.bz2 Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:456814db9f07c1eecdef7e840fcbb20976ef814df875428bfb81ecf45851f170
size 757957

View File

@ -1,20 +0,0 @@
--- libbluray-1.3.1/src/libbluray/bdj/java/java/io/BDFileSystem.java 2022-03-03 18:05:27.000000000 +0100
+++ libbluray-1.3.1/src/libbluray/bdj/java/java/io/BDFileSystem.java 2022-04-21 17:35:16.594935352 +0200
@@ -227,6 +227,17 @@
return fs.isAbsolute(f);
}
+ public boolean isInvalid(File f) {
+ try {
+ Method m = fs.getClass().getDeclaredMethod("isInvalid", new Class[] { File.class });
+ Object[] args = new Object[] {(Object)f};
+ Boolean result = (Boolean)m.invoke(fs, args);
+ return result.booleanValue();
+ } finally {
+ return false;
+ }
+ }
+
public String resolve(File f) {
if (!booted)
return fs.resolve(f);

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Mon Aug 8 20:52:35 UTC 2022 - Dirk Müller <dmueller@suse.com>
- update to 1.3.2:
- Fix build/run failure after Oracle Java CPU for April 2022
- drop patch libbluray-April2022CPU.patch (upstream)
------------------------------------------------------------------- -------------------------------------------------------------------
Thu Apr 21 15:17:38 UTC 2022 - Fridrich Strba <fstrba@suse.com> Thu Apr 21 15:17:38 UTC 2022 - Fridrich Strba <fstrba@suse.com>

View File

@ -19,7 +19,7 @@
%define sover 2 %define sover 2
Name: libbluray Name: libbluray
Version: 1.3.1 Version: 1.3.2
Release: 0 Release: 0
Summary: Library to access Blu-Ray disk Summary: Library to access Blu-Ray disk
License: LGPL-2.1-or-later License: LGPL-2.1-or-later
@ -28,7 +28,6 @@ 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.bz2
Source99: baselibs.conf Source99: baselibs.conf
Patch0: libbluray-pkgconfig.patch Patch0: libbluray-pkgconfig.patch
Patch1: libbluray-April2022CPU.patch
BuildRequires: ant BuildRequires: ant
BuildRequires: java-devel >= 1.8 BuildRequires: java-devel >= 1.8
BuildRequires: libtool BuildRequires: libtool
@ -89,9 +88,7 @@ intended for software that want to support Blu-ray playback (such as VLC and
MPlayer). We, the authors of this library, do not condone nor endorse piracy. MPlayer). We, the authors of this library, do not condone nor endorse piracy.
%prep %prep
%setup -q %autosetup -p1
%patch0 -p1
%patch1 -p1
%build %build
%configure \ %configure \