Update dependencies for CPDB print backend

Require cpdb-frontend 2.x for building CPDB print backend.
This commit is contained in:
tinytrebuchet 2023-02-14 23:39:13 +05:30
parent e0afd22c84
commit 300670dad4
2 changed files with 4 additions and 3 deletions

View File

@ -740,6 +740,10 @@ subdir('gtk/css')
subdir('gdk')
subdir('gsk')
subdir('gtk')
if os_unix
cpdb_dep = dependency('cpdb-frontend', version : '>=2.0', required: get_option('print-cpdb'))
cups_dep = dependency('cups', version : '>=2.0', required: get_option('print-cups'))
endif
subdir('modules')
if get_option('demos')
subdir('demos')

View File

@ -10,9 +10,6 @@ printbackends_args = [
'-DGTK_PRINT_BACKEND_ENABLE_UNSUPPORTED',
] + common_cflags
cpdb_dep = dependency('cpdb-frontend', version : '>=1.0', required: get_option('print-cpdb'))
cups_dep = dependency('cups', version : '>=2.0', required: get_option('print-cups'))
# Use cpdb backend if present and enabled.
# If not, use cups if present.