1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-19 00:13:33 +00:00

x11-toolkits/gtksourceview4: Fix build failure

PR:	255014
This commit is contained in:
Neel Chauhan 2021-04-12 12:50:24 -07:00
parent 0936641964
commit 66d062d167

View File

@ -0,0 +1,43 @@
--- gtksourceview/meson.build.orig 2021-04-12 19:46:19 UTC
+++ gtksourceview/meson.build
@@ -172,12 +172,18 @@ gtksourceversion_h = configure_file(
install_dir: join_paths(pkgincludedir, 'gtksourceview'),
)
+gtksource_res = gnome.compile_resources(
+ 'gtksourceview-gresources',
+ 'gtksourceview.gresource.xml'
+)
+
core_sources = [
core_public_c,
core_private_c,
core_enums,
gtksourceversion_h,
core_marshallers,
+ gtksource_res,
]
install_headers(
@@ -216,12 +222,6 @@ extra_public_sources = []
subdir('completion-providers')
-gtksource_res = gnome.compile_resources(
- 'gtksourceview-gresources',
- 'gtksourceview.gresource.xml'
-)
-
-
# We can't use the static libs on Visual Studio builds
# to form our DLL here directly, so we must use
# extract_all_objects() to extract all the core and word
@@ -233,7 +233,7 @@ foreach int_lib : gtksource_libs
gtksource_objs += int_lib.extract_all_objects()
endforeach
-gtksource_lib = shared_library(package_string, gtksource_res,
+gtksource_lib = shared_library(package_string,
version: lib_version,
darwin_versions: lib_osx_version,
include_directories: gtksourceview_include_dirs,