forked from AuroraMiddleware/gtk
build: Clean up print backends Meson rules
This commit is contained in:
parent
6dd35248d5
commit
1afd415583
@ -1,7 +1,10 @@
|
||||
shared_module('printbackend-cloudprint',
|
||||
'gtkprintbackendcloudprint.c',
|
||||
'gtkprintercloudprint.c',
|
||||
'gtkcloudprintaccount.c',
|
||||
c_args : ['-DGTK_PRINT_BACKEND_ENABLE_UNSUPPORTED'],
|
||||
dependencies : [libgtk_dep, rest_dep, json_glib_dep],
|
||||
install_dir : printbackends_install_dir)
|
||||
'gtkprintbackendcloudprint.c',
|
||||
'gtkprintercloudprint.c',
|
||||
'gtkcloudprintaccount.c',
|
||||
c_args: [
|
||||
'-DGTK_PRINT_BACKEND_ENABLE_UNSUPPORTED',
|
||||
'-DGTK_DISABLE_DEPRECATION_WARNINGS',
|
||||
],
|
||||
dependencies: [ libgtk_dep, rest_dep, json_glib_dep ],
|
||||
install_dir: printbackends_install_dir)
|
||||
|
@ -8,10 +8,14 @@ else
|
||||
endif
|
||||
|
||||
shared_module('printbackend-cups',
|
||||
'gtkprintbackendcups.c',
|
||||
'gtkprintercups.c',
|
||||
'gtkcupsutils.c',
|
||||
'gtkcupssecretsutils.c',
|
||||
c_args : ['-DGTK_COMPILATION', '-DGTK_PRINT_BACKEND_ENABLE_UNSUPPORTED'],
|
||||
dependencies : [libgtk_dep, libcups, colord_dep],
|
||||
install_dir : printbackends_install_dir)
|
||||
'gtkprintbackendcups.c',
|
||||
'gtkprintercups.c',
|
||||
'gtkcupsutils.c',
|
||||
'gtkcupssecretsutils.c',
|
||||
c_args: [
|
||||
'-DGTK_COMPILATION',
|
||||
'-DGTK_DISABLE_DEPRECATION_WARNINGS',
|
||||
'-DGTK_PRINT_BACKEND_ENABLE_UNSUPPORTED',
|
||||
],
|
||||
dependencies: [libgtk_dep, libcups, colord_dep],
|
||||
install_dir: printbackends_install_dir)
|
||||
|
@ -1,5 +1,9 @@
|
||||
shared_module('printbackend-file',
|
||||
'gtkprintbackendfile.c',
|
||||
c_args : ['-DGTK_COMPILATION', '-DGTK_PRINT_BACKEND_ENABLE_UNSUPPORTED'],
|
||||
dependencies : libgtk_dep,
|
||||
install_dir : printbackends_install_dir)
|
||||
'gtkprintbackendfile.c',
|
||||
c_args: [
|
||||
'-DGTK_COMPILATION',
|
||||
'-DGTK_DISABLE_DEPRECATION_WARNINGS',
|
||||
'-DGTK_PRINT_BACKEND_ENABLE_UNSUPPORTED',
|
||||
],
|
||||
dependencies: libgtk_dep,
|
||||
install_dir: printbackends_install_dir)
|
||||
|
@ -1,5 +1,9 @@
|
||||
shared_module('printbackend-lpr',
|
||||
'gtkprintbackendlpr.c',
|
||||
c_args : ['-DGTK_COMPILATION', '-DGTK_PRINT_BACKEND_ENABLE_UNSUPPORTED'],
|
||||
dependencies : libgtk_dep,
|
||||
install_dir : printbackends_install_dir)
|
||||
'gtkprintbackendlpr.c',
|
||||
c_args: [
|
||||
'-DGTK_COMPILATION',
|
||||
'-DGTK_DISABLE_DEPRECATION_WARNINGS',
|
||||
'-DGTK_PRINT_BACKEND_ENABLE_UNSUPPORTED',
|
||||
],
|
||||
dependencies: libgtk_dep,
|
||||
install_dir: printbackends_install_dir)
|
||||
|
@ -1,6 +1,9 @@
|
||||
shared_module('printbackend-papi',
|
||||
'gtkprinterpapi.c',
|
||||
'gtkprintbackendpapi.c',
|
||||
c_args : ['-DGTK_PRINT_BACKEND_ENABLE_UNSUPPORTED'],
|
||||
dependencies : [libgtk_dep, libpapi],
|
||||
install_dir : printbackends_install_dir)
|
||||
'gtkprinterpapi.c',
|
||||
'gtkprintbackendpapi.c',
|
||||
c_args: [
|
||||
'-DGTK_DISABLE_DEPRECATION_WARNINGS',
|
||||
'-DGTK_PRINT_BACKEND_ENABLE_UNSUPPORTED',
|
||||
],
|
||||
dependencies: [libgtk_dep, libpapi],
|
||||
install_dir: printbackends_install_dir)
|
||||
|
9
modules/printbackends/test/meson.build
Normal file
9
modules/printbackends/test/meson.build
Normal file
@ -0,0 +1,9 @@
|
||||
shared_module('printbackend-test',
|
||||
'gtkprintbackendtest.c',
|
||||
c_args: [
|
||||
'-DGTK_COMPILATION',
|
||||
'-DGTK_DISABLE_DEPRECATION_WARNINGS',
|
||||
'-DGTK_PRINT_BACKEND_ENABLE_UNSUPPORTED',
|
||||
],
|
||||
dependencies: libgtk_dep,
|
||||
install_dir: printbackends_install_dir)
|
Loading…
Reference in New Issue
Block a user