SHA256
1
0
forked from pool/libbluray

Accepting request 971874 from home:fstrba:branches:multimedia:libs

Fix build with post-April 2022 CPU java versions

OBS-URL: https://build.opensuse.org/request/show/971874
OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/libbluray?expand=0&rev=88
This commit is contained in:
2022-04-22 05:48:05 +00:00
committed by Git OBS Bridge
parent 31c4bcd8f1
commit f771d391ba
4 changed files with 32 additions and 32 deletions

View File

@@ -28,7 +28,7 @@ URL: https://www.videolan.org/developers/libbluray.html
Source0: https://download.videolan.org/pub/videolan/%{name}/%{version}/%{name}-%{version}.tar.bz2
Source99: baselibs.conf
Patch0: libbluray-pkgconfig.patch
Patch1: libbluray-java9.patch
Patch1: libbluray-April2022CPU.patch
BuildRequires: ant
BuildRequires: java-devel >= 1.8
BuildRequires: libtool
@@ -91,9 +91,7 @@ MPlayer). We, the authors of this library, do not condone nor endorse piracy.
%prep
%setup -q
%patch0 -p1
%if %{?pkg_vcmp:%pkg_vcmp java-devel >= 9}%{!?pkg_vcmp:0}
%patch1 -p1
%endif
%build
%configure \