From 788f2ee0e3bdd1b196b94d4d0b4883e85fdfcbaf Mon Sep 17 00:00:00 2001 From: Adrian Perez de Castro Date: Thu, 14 Mar 2019 18:31:43 +0200 Subject: [PATCH] Switch to wpe-1.0 as dependency for libwpe Release 1.2 of libwpe will have API 1.0, so change the requirement accordingly. --- cmake/FindWPE.cmake | 4 ++-- wpebackend-fdo.pc.in | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/cmake/FindWPE.cmake b/cmake/FindWPE.cmake index 7f4ffd2..a062481 100644 --- a/cmake/FindWPE.cmake +++ b/cmake/FindWPE.cmake @@ -29,7 +29,7 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. find_package(PkgConfig) -pkg_check_modules(PC_WPE QUIET wpe-0.2) +pkg_check_modules(PC_WPE QUIET wpe-1.0) find_path(WPE_INCLUDE_DIRS NAMES wpe/wpe.h @@ -37,7 +37,7 @@ find_path(WPE_INCLUDE_DIRS ) find_library(WPE_LIBRARIES - NAMES wpe-0.2 + NAMES wpe-1.0 HINTS ${PC_WPE_LIBDIR} ${PC_WPE_LIBRARY_DIRS} ) diff --git a/wpebackend-fdo.pc.in b/wpebackend-fdo.pc.in index aeb2ad9..5d2671f 100644 --- a/wpebackend-fdo.pc.in +++ b/wpebackend-fdo.pc.in @@ -6,6 +6,6 @@ libdir=${exec_prefix}/lib Name: wpebackend-fdo-@WPEBACKEND_FDO_API_VERSION@ Description: The WPEBackend-fdo library Version: @PROJECT_VERSION@ -Requires: wpe-0.2 +Requires: wpe-1.0 Cflags: -I${includedir}/wpe-fdo-@WPEBACKEND_FDO_API_VERSION@ Libs: -L${libdir} -lWPEBackend-fdo-@WPEBACKEND_FDO_API_VERSION@