Accepting request 687537 from home:olh:branches:multimedia:libs

- 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

OBS-URL: https://build.opensuse.org/request/show/687537
OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/libbluray?expand=0&rev=74
This commit is contained in:
Tomáš Chvátal 2019-03-22 10:30:08 +00:00 committed by Git OBS Bridge
parent d148e72b2c
commit 9589387b9a
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 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 Url: http://www.videolan.org/developers/libbluray.html
Source0: http://download.videolan.org/pub/videolan/%{name}/%{version}/%{name}-%{version}.tar.bz2 Source0: http://download.videolan.org/pub/videolan/%{name}/%{version}/%{name}-%{version}.tar.bz2
Source99: baselibs.conf Source99: baselibs.conf
Patch0: libbluray-pkgconfig.patch
Patch1: libbluray-java9.patch Patch1: libbluray-java9.patch
Patch2: libbluray-jvm_dir.patch Patch2: libbluray-jvm_dir.patch
BuildRequires: ant BuildRequires: ant
@ -91,6 +92,7 @@ MPlayer). We, the authors of this library, do not condone nor endorse piracy.
%prep %prep
%setup -q %setup -q
%patch0 -p1
%if %{?pkg_vcmp:%pkg_vcmp java-devel >= 9}%{!?pkg_vcmp:0} %if %{?pkg_vcmp:%pkg_vcmp java-devel >= 9}%{!?pkg_vcmp:0}
%patch1 -p1 %patch1 -p1
%endif %endif