Unbreak poppler build

Remove hardcoded poppler-glib SOVERSION

Spotted by naddy aja, ok kili (maintainer)
This commit is contained in:
rsadowski 2020-05-17 18:29:37 +00:00
parent 8acc05f944
commit 878eaffe60

View File

@ -1,9 +1,19 @@
$OpenBSD: patch-glib_CMakeLists_txt,v 1.4 2020/05/16 18:41:15 kili Exp $
$OpenBSD: patch-glib_CMakeLists_txt,v 1.5 2020/05/17 18:29:37 rsadowski Exp $
- Remove hardcoded SOVERSION
Index: glib/CMakeLists.txt
--- glib/CMakeLists.txt.orig
+++ glib/CMakeLists.txt
@@ -135,7 +135,9 @@ if (HAVE_INTROSPECTION AND BUILD_SHARED_LIBS)
@@ -87,7 +87,6 @@ set(poppler_glib_generated_SRCS
${CMAKE_SOURCE_DIR}/poppler/CairoRescaleBox.cc
)
add_library(poppler-glib ${poppler_glib_SRCS} ${poppler_glib_generated_SRCS})
-set_target_properties(poppler-glib PROPERTIES VERSION 8.16.0 SOVERSION 8)
set_target_properties(poppler-glib PROPERTIES C_VISIBILITY_PRESET hidden)
set_target_properties(poppler-glib PROPERTIES CXX_VISIBILITY_PRESET hidden)
set_target_properties(poppler-glib PROPERTIES VISIBILITY_INLINES_HIDDEN 1)
@@ -135,7 +134,9 @@ if (HAVE_INTROSPECTION AND BUILD_SHARED_LIBS)
set(Poppler_0_18_gir_INCLUDES GObject-2.0 Gio-2.0 cairo-1.0)
get_directory_property(_tmp_includes INCLUDE_DIRECTORIES)
_list_prefix(_includes _tmp_includes "-I")