0
0
mirror of https://github.com/termux/termux-packages.git synced 2025-06-02 01:02:18 +00:00
Files
termux-packages/x11-packages/libcolord/0002-only-build-client-library.patch
2025-04-04 21:50:45 +08:00

37 lines
688 B
Diff

--- a/contrib/meson.build
+++ b/contrib/meson.build
@@ -1,4 +1,6 @@
-subdir('session-helper')
+if get_option('daemon')
+ subdir('session-helper')
+endif
if get_option('sane')
subdir('colord-sane')
--- a/lib/meson.build
+++ b/lib/meson.build
@@ -1,7 +1,9 @@
lib_incdir = include_directories('.')
subdir('colord')
-subdir('colorhug')
+if get_option('daemon')
+ subdir('colorhug')
+endif
if get_option('libcolordcompat')
subdir('compat')
--- a/meson.build
+++ b/meson.build
@@ -271,7 +271,9 @@
endif
# this needs client/cd-create-profile
-subdir('data')
+if meson.can_run_host_binaries()
+ subdir('data')
+endif
# this needs data/profiles/*.icc
if get_option('man')