From cda4a958e85d397bae142fbe6068a3e17d4aa935 Mon Sep 17 00:00:00 2001 From: zheng_wenlong Date: Fri, 27 Oct 2017 17:17:19 +0900 Subject: Change package configuration file name Since libsoundmanager is split from agl-service-soundmanager-2017, I think the package configuration file should use the same name as the library, so change the file name to libsoundmanager.pc. Change-Id: I7d96e67b106ffb647d7bf5ecd2b24870afd39e9d Signed-off-by: zheng_wenlong --- CMakeLists.txt | 4 ++-- libsoundmanager.pc.in | 11 +++++++++++ soundmanager.pc.in | 11 ----------- 3 files changed, 13 insertions(+), 13 deletions(-) create mode 100644 libsoundmanager.pc.in delete mode 100644 soundmanager.pc.in diff --git a/CMakeLists.txt b/CMakeLists.txt index 57a72d2..a49952e 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -34,7 +34,7 @@ add_definitions(-DDEBUGMODE) add_subdirectory(src) #generate configure file -configure_file(soundmanager.pc.in soundmanager.pc @ONLY) -INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/soundmanager.pc +configure_file(libsoundmanager.pc.in libsoundmanager.pc @ONLY) +INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/libsoundmanager.pc DESTINATION ${CMAKE_INSTALL_LIBDIR}/pkgconfig) diff --git a/libsoundmanager.pc.in b/libsoundmanager.pc.in new file mode 100644 index 0000000..3a0da38 --- /dev/null +++ b/libsoundmanager.pc.in @@ -0,0 +1,11 @@ +includedir=@PROJECT_INCLUDEDIR@ +libdir=@PROJECT_LIBDIR@ + +Name: @PROJECT_PRETTY_NAME@ +Description: @PROJECT_DESCRIPTION@ +Version: @PROJECT_VERSION@ +URL: @PROJECT_URL@ + +Requires: json-c afb-daemon +Cflags: -I${includedir} +Libs: -L${libdir} -lsoundmanager \ No newline at end of file diff --git a/soundmanager.pc.in b/soundmanager.pc.in deleted file mode 100644 index 3a0da38..0000000 --- a/soundmanager.pc.in +++ /dev/null @@ -1,11 +0,0 @@ -includedir=@PROJECT_INCLUDEDIR@ -libdir=@PROJECT_LIBDIR@ - -Name: @PROJECT_PRETTY_NAME@ -Description: @PROJECT_DESCRIPTION@ -Version: @PROJECT_VERSION@ -URL: @PROJECT_URL@ - -Requires: json-c afb-daemon -Cflags: -I${includedir} -Libs: -L${libdir} -lsoundmanager \ No newline at end of file -- cgit 1.2.3-korg