diff --git a/libbluray-pkgconfig.patch b/libbluray-pkgconfig.patch new file mode 100644 index 0000000..da00dae --- /dev/null +++ b/libbluray-pkgconfig.patch @@ -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} diff --git a/libbluray.changes b/libbluray.changes index 4c16680..533a1b5 100644 --- a/libbluray.changes +++ b/libbluray.changes @@ -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 diff --git a/libbluray.spec b/libbluray.spec index e9660a2..047ed01 100644 --- a/libbluray.spec +++ b/libbluray.spec @@ -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