]> git.pld-linux.org Git - packages/Limba.git/blame - Limba-gpgme.patch
- added patches for current gpgme, gtk-doc, appstream 1.0.x; release 3
[packages/Limba.git] / Limba-gpgme.patch
CommitLineData
e070aaf2
JB
1--- Limba-0.5.6/data/cmake/FindGPGMe.cmake.orig 2016-02-28 17:45:24.000000000 +0100
2+++ Limba-0.5.6/data/cmake/FindGPGMe.cmake 2024-04-18 21:57:49.314573181 +0200
3@@ -186,14 +186,14 @@ else() # not WIN32
4 set( GPGME_PTHREAD_FOUND false )
5 set( GPGME_PTH_FOUND false )
6
7- find_program( _GPGMECONFIG_EXECUTABLE NAMES gpgme-config )
8+ find_program( _GPGMECONFIG_EXECUTABLE NAMES pkg-config )
9
10 # if gpgme-config has been found
11 if ( _GPGMECONFIG_EXECUTABLE )
12
13 message( STATUS "Found gpgme-config at ${_GPGMECONFIG_EXECUTABLE}" )
14
15- exec_program( ${_GPGMECONFIG_EXECUTABLE} ARGS --version OUTPUT_VARIABLE GPGME_VERSION )
16+ exec_program( ${_GPGMECONFIG_EXECUTABLE} ARGS gpgme --modversion OUTPUT_VARIABLE GPGME_VERSION )
17
18 set( _GPGME_MIN_VERSION "1.4.0" )
19
20@@ -205,21 +205,11 @@ else() # not WIN32
21
22 message( STATUS "Found gpgme v${GPGME_VERSION}, checking for flavours..." )
23
24- exec_program( ${_GPGMECONFIG_EXECUTABLE} ARGS --libs OUTPUT_VARIABLE _gpgme_config_vanilla_libs RETURN_VALUE _ret )
25+ exec_program( ${_GPGMECONFIG_EXECUTABLE} ARGS gpgme --libs OUTPUT_VARIABLE _gpgme_config_vanilla_libs RETURN_VALUE _ret )
26 if ( _ret )
27 set( _gpgme_config_vanilla_libs )
28 endif()
29
30- exec_program( ${_GPGMECONFIG_EXECUTABLE} ARGS --thread=pthread --libs OUTPUT_VARIABLE _gpgme_config_pthread_libs RETURN_VALUE _ret )
31- if ( _ret )
32- set( _gpgme_config_pthread_libs )
33- endif()
34-
35- exec_program( ${_GPGMECONFIG_EXECUTABLE} ARGS --thread=pth --libs OUTPUT_VARIABLE _gpgme_config_pth_libs RETURN_VALUE _ret )
36- if ( _ret )
37- set( _gpgme_config_pth_libs )
38- endif()
39-
40 # append -lgpg-error to the list of libraries, if necessary
41 foreach ( _flavour vanilla pthread pth )
42 if ( _gpgme_config_${_flavour}_libs AND NOT _gpgme_config_${_flavour}_libs MATCHES "lgpg-error" )
43@@ -229,7 +219,7 @@ else() # not WIN32
44
45 if ( _gpgme_config_vanilla_libs OR _gpgme_config_pthread_libs OR _gpgme_config_pth_libs )
46
47- exec_program( ${_GPGMECONFIG_EXECUTABLE} ARGS --cflags OUTPUT_VARIABLE _GPGME_CFLAGS )
48+ exec_program( ${_GPGMECONFIG_EXECUTABLE} ARGS gpgme --cflags OUTPUT_VARIABLE _GPGME_CFLAGS )
49
50 if ( _GPGME_CFLAGS )
51 string( REGEX REPLACE "(\r?\n)+$" " " _GPGME_CFLAGS "${_GPGME_CFLAGS}" )
This page took 0.029266 seconds and 4 git commands to generate.