libreoffice: fix build with gpgme 2
Since version 2.0.0 the C++ bindings to gpgme live in a separate package, i.e., gpgmepp. Signed-off-by: Marcin Serwin <marcin@serwin.dev>
This commit is contained in:
@@ -93,6 +93,7 @@
|
||||
ncurses,
|
||||
libepoxy,
|
||||
gpgme,
|
||||
gpgmepp,
|
||||
libwebp,
|
||||
abseil-cpp,
|
||||
libepubgen,
|
||||
@@ -358,7 +359,7 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
# Fix this path to point to where the headers can actually be found instead.
|
||||
substituteInPlace configure.ac --replace-fail \
|
||||
'GPGMEPP_CFLAGS=-I/usr/include/gpgme++' \
|
||||
'GPGMEPP_CFLAGS=-I${gpgme.dev}/include/gpgme++'
|
||||
'GPGMEPP_CFLAGS=-I${lib.getDev gpgmepp}/include/gpgme++'
|
||||
|
||||
# Fix for Python 3.12
|
||||
substituteInPlace configure.ac --replace-fail distutils.sysconfig sysconfig
|
||||
@@ -422,6 +423,7 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
glm
|
||||
adwaita-icon-theme
|
||||
gpgme
|
||||
gpgmepp
|
||||
graphite2
|
||||
gtk3
|
||||
(harfbuzz.override { withIcu = true; })
|
||||
|
||||
Reference in New Issue
Block a user