Add compatibility pkg-config modules: libtoxcore, libtoxav.

These were generated by the autotools build. Some clients may depend on
these files instead of the newer split pkg-config files. New clients
should be using the toxcore, toxav, toxencryptsave, and toxdns modules.
This commit is contained in:
iphydf 2016-12-13 20:58:03 +00:00
parent 4cf69996cc
commit b14b8d07fa
No known key found for this signature in database
GPG Key ID: 3855DBA2D74403C9
3 changed files with 30 additions and 0 deletions

View File

@ -551,7 +551,20 @@ configure_file(
@ONLY
)
configure_file(
"${CMAKE_SOURCE_DIR}/other/pkgconfig/libtoxcore.pc.in"
"${CMAKE_BINARY_DIR}/libtoxcore.pc"
@ONLY
)
configure_file(
"${CMAKE_SOURCE_DIR}/other/pkgconfig/libtoxav.pc.in"
"${CMAKE_BINARY_DIR}/libtoxav.pc"
@ONLY
)
install(FILES
${CMAKE_BINARY_DIR}/libtoxcore.pc
${CMAKE_BINARY_DIR}/toxcore.pc
${CMAKE_BINARY_DIR}/toxdns.pc
${CMAKE_BINARY_DIR}/toxencryptsave.pc
@ -564,6 +577,7 @@ install(FILES
if(BUILD_TOXAV)
install(FILES
${CMAKE_BINARY_DIR}/libtoxav.pc
${CMAKE_BINARY_DIR}/toxav.pc
DESTINATION "lib/pkgconfig")
install(FILES

View File

@ -0,0 +1,8 @@
prefix=@CMAKE_INSTALL_PREFIX@
libdir=${prefix}/lib
includedir=${prefix}/include
Name: libtoxav
Description: Tox A/V library - compatibility module (use toxav instead)
Requires: toxav
Version: @PROJECT_VERSION@

View File

@ -0,0 +1,8 @@
prefix=@CMAKE_INSTALL_PREFIX@
libdir=${prefix}/lib
includedir=${prefix}/include
Name: libtoxcore
Description: Tox protocol library - compatibility module (use toxcore, toxdns, and toxencryptsave instead)
Requires: toxcore toxdns toxencryptsave
Version: @PROJECT_VERSION@