Commit bd887f4e authored by hpi1's avatar hpi1

libbluray.pc: use Requires.private

parent b5216adb
......@@ -149,18 +149,21 @@ AS_IF([test "x$with_libxml2" != "xno"], [
PKG_CHECK_MODULES([LIBXML2], [libxml-2.0 >= 2.6],
[with_libxml2=yes; AC_DEFINE([HAVE_LIBXML2], [1],
[Define to 1 if libxml2 is to be used for metadata parsing])])
PACKAGES="$PACKAGES libxml-2.0"
])
dnl FreeType2
AS_IF([test "x$with_freetype" != "xno"], [
PKG_CHECK_MODULES([FT2], [freetype2],
[with_freetype=yes; AC_DEFINE([HAVE_FT2], 1, [Define this if you have FreeType2 library])])
PACKAGES="$PACKAGES freetype2"
dnl fontconfig support
AS_IF([test "${SYS}" != "mingw32"], [
AS_IF([test "x$with_fontconfig" != "xno"], [
PKG_CHECK_MODULES([FONTCONFIG], [fontconfig],
[with_fontconfig=yes; AC_DEFINE([HAVE_FONTCONFIG], 1, [Define this if you have fontconfig library])])
PACKAGES="$PACKAGES fontconfig"
])
],[
FONTCONFIG_LIBS="-lgdi32"
......@@ -268,6 +271,7 @@ AC_SUBST(BDJAVA_CFLAGS)
AC_CONFIG_FILES([Makefile src/libbluray.pc src/libbluray/bluray-version.h])
AC_OUTPUT
AC_SUBST([PACKAGES])
dnl ---------------------------------------------
dnl Some infos:
......
......@@ -7,5 +7,6 @@ Name: libbluray
Description: library supporting Blu-ray playback
Version: @PACKAGE_VERSION@
Libs: -L${libdir} -lbluray
Libs.private: @DLOPEN_LIBS@ @LIBXML2_LIBS@ @FT2_LIBS@ @FONTCONFIG_LIBS@
Libs.private: @DLOPEN_LIBS@ @FONTCONFIG_LIBS@
Requires.private: @PACKAGES@
Cflags: -I${includedir}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment