Accepting request 687570 from multimedia:libs

OBS-URL: https://build.opensuse.org/request/show/687570
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libbluray?expand=0&rev=37
This commit is contained in:
Dominique Leuenberger 2019-03-26 14:36:29 +00:00 committed by Git OBS Bridge
commit 9b7e926f0c
3 changed files with 20 additions and 0 deletions

View File

@ -0,0 +1,9 @@
--- a/src/libbluray.pc.in
+++ b/src/libbluray.pc.in
@@ -7,6 +7,4 @@ Name: libbluray
Description: library supporting Blu-ray playback
Version: @PACKAGE_VERSION@
Libs: -L${libdir} -lbluray
-Libs.private: @DLOPEN_LIBS@ @FONTCONFIG_LIBS@
-Requires.private: @PACKAGES@
Cflags: -I${includedir}

View File

@ -1,3 +1,12 @@
-------------------------------------------------------------------
Thu Mar 21 19:31:45 UTC 2019 - olaf@aepfle.de
- Remove unused dependencies from pkgconfig(libbluray)
Our pkg is dynamically linked, so Libs.private is not needed
Nothing in the exported header files needs paths from
Requires.private
libbluray-pkgconfig.patch
-------------------------------------------------------------------
Fri Feb 15 17:32:25 UTC 2019 - enzokiel@kabelmail.de

View File

@ -27,6 +27,7 @@ Group: Productivity/Multimedia/Other
Url: http://www.videolan.org/developers/libbluray.html
Source0: http://download.videolan.org/pub/videolan/%{name}/%{version}/%{name}-%{version}.tar.bz2
Source99: baselibs.conf
Patch0: libbluray-pkgconfig.patch
Patch1: libbluray-java9.patch
Patch2: libbluray-jvm_dir.patch
BuildRequires: ant
@ -91,6 +92,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