Description: re-enable poppler support
 GLE before 4.3 had POPPLER support enabled.
 Unfortunately, this patch does not work (yet).
Author: Christian T. Steigies <cts@debian.org>
Last-Update: 2022-12-30
Index: gle-graphics-4.3.3/src/CMakeLists.txt
===================================================================
--- gle-graphics-4.3.3.orig/src/CMakeLists.txt
+++ gle-graphics-4.3.3/src/CMakeLists.txt
@@ -187,6 +187,7 @@ if(UNIX AND NOT APPLE)
 		HAVE_LIBTIFF
 		HAVE_EXTRA_FONTS
 		HAVE_LIBGLU_H
+		HAVE_POPPLER
 	)
 	CHECK_INCLUDE_FILE(assert.h    HAVE_ASSERT_H)
 	CHECK_INCLUDE_FILE(dlfcn.h     HAVE_DLFCN_H)
@@ -216,6 +217,7 @@ if(UNIX AND NOT APPLE)
 	add_compile_options(-fpermissive)
 	add_compile_options(-fPIC)
 	#add_compile_options(-no-pie)
+	add_compile_options(-I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/poppler/glib -I/usr/include/cairo -lgobject-2.0 -lglib-2.0)
 endif()
 if(WIN32)
 	# GLE specific definitions
