mirror of
https://github.com/irssi/irssi.git
synced 2026-08-17 07:32:04 +02:00
run meson formatter
This commit is contained in:
parent
80b8875fea
commit
221d520c37
33 changed files with 661 additions and 315 deletions
|
|
@ -1,20 +1,22 @@
|
|||
|
||||
shared_library('Irssi',
|
||||
[ xsubpp.process(
|
||||
files(
|
||||
'Channel.xs',
|
||||
'Core.xs',
|
||||
'Expando.xs',
|
||||
'Ignore.xs',
|
||||
'Irssi.xs',
|
||||
'Log.xs',
|
||||
'Masks.xs',
|
||||
'Query.xs',
|
||||
'Rawlog.xs',
|
||||
'Server.xs',
|
||||
'Settings.xs',
|
||||
)
|
||||
) ]
|
||||
shared_library(
|
||||
'Irssi',
|
||||
[
|
||||
xsubpp.process(
|
||||
files(
|
||||
'Channel.xs',
|
||||
'Core.xs',
|
||||
'Expando.xs',
|
||||
'Ignore.xs',
|
||||
'Irssi.xs',
|
||||
'Log.xs',
|
||||
'Masks.xs',
|
||||
'Query.xs',
|
||||
'Rawlog.xs',
|
||||
'Server.xs',
|
||||
'Settings.xs',
|
||||
)
|
||||
),
|
||||
]
|
||||
+ files(
|
||||
'module.h',
|
||||
)
|
||||
|
|
@ -27,7 +29,7 @@ shared_library('Irssi',
|
|||
implicit_include_directories : true,
|
||||
dependencies : dep + [ perl_dep ],
|
||||
link_with : dl_cross_perl_core + dl_cross_irssi_main,
|
||||
override_options : ['b_lundef=false'],
|
||||
override_options : [ 'b_lundef=false' ],
|
||||
)
|
||||
|
||||
install_headers(
|
||||
|
|
@ -36,6 +38,6 @@ install_headers(
|
|||
),
|
||||
install_dir : perlmoddir,
|
||||
)
|
||||
|
||||
|
||||
# 'Makefile.PL.in',
|
||||
# 'typemap',
|
||||
|
|
|
|||
|
|
@ -1,21 +1,23 @@
|
|||
shared_library('Irc',
|
||||
[ xsubpp.process(
|
||||
files(
|
||||
'Channel.xs',
|
||||
'Client.xs',
|
||||
'Ctcp.xs',
|
||||
'Irc.xs',
|
||||
'Modes.xs',
|
||||
'Netsplit.xs',
|
||||
'Notifylist.xs',
|
||||
'Query.xs',
|
||||
'Server.xs',
|
||||
shared_library(
|
||||
'Irc',
|
||||
[
|
||||
xsubpp.process(
|
||||
files(
|
||||
'Channel.xs',
|
||||
'Client.xs',
|
||||
'Ctcp.xs',
|
||||
'Irc.xs',
|
||||
'Modes.xs',
|
||||
'Netsplit.xs',
|
||||
'Notifylist.xs',
|
||||
'Query.xs',
|
||||
'Server.xs',
|
||||
),
|
||||
extra_args : [
|
||||
'-typemap', '../common/typemap',
|
||||
],
|
||||
),
|
||||
extra_args : [
|
||||
'-typemap',
|
||||
'../common/typemap',
|
||||
],
|
||||
) ]
|
||||
]
|
||||
+ files(
|
||||
'module.h',
|
||||
),
|
||||
|
|
@ -27,7 +29,7 @@ shared_library('Irc',
|
|||
implicit_include_directories : true,
|
||||
dependencies : dep + [ perl_dep ],
|
||||
link_with : dl_cross_perl_core + dl_cross_irc_notifylist + dl_cross_irc_core + dl_cross_irssi_main,
|
||||
override_options : ['b_lundef=false'],
|
||||
override_options : [ 'b_lundef=false' ],
|
||||
)
|
||||
|
||||
install_headers(
|
||||
|
|
@ -37,16 +39,18 @@ install_headers(
|
|||
install_dir : perlmoddir / 'Irssi',
|
||||
)
|
||||
|
||||
shared_library('Dcc',
|
||||
[ xsubpp.process(
|
||||
files(
|
||||
'Dcc.xs',
|
||||
shared_library(
|
||||
'Dcc',
|
||||
[
|
||||
xsubpp.process(
|
||||
files(
|
||||
'Dcc.xs',
|
||||
),
|
||||
extra_args : [
|
||||
'-typemap', '../common/typemap',
|
||||
],
|
||||
),
|
||||
extra_args : [
|
||||
'-typemap',
|
||||
'../common/typemap',
|
||||
],
|
||||
) ]
|
||||
]
|
||||
+ files(
|
||||
'module.h',
|
||||
),
|
||||
|
|
@ -58,7 +62,7 @@ shared_library('Dcc',
|
|||
implicit_include_directories : true,
|
||||
dependencies : dep + [ perl_dep ],
|
||||
link_with : dl_cross_perl_core + dl_cross_irc_dcc + dl_cross_irc_core + dl_cross_irssi_main,
|
||||
override_options : ['b_lundef=false'],
|
||||
override_options : [ 'b_lundef=false' ],
|
||||
)
|
||||
|
||||
install_headers(
|
||||
|
|
@ -67,6 +71,6 @@ install_headers(
|
|||
),
|
||||
install_dir : perlmoddir / 'Irssi' / 'Irc',
|
||||
)
|
||||
|
||||
|
||||
# 'Makefile.PL.in',
|
||||
# 'typemap',
|
||||
|
|
|
|||
|
|
@ -1,32 +1,36 @@
|
|||
|
||||
perl_signals_list_h = custom_target('perl-signals-list.h',
|
||||
perl_signals_list_h = custom_target(
|
||||
'perl-signals-list.h',
|
||||
input : files('../../docs/signals.txt'),
|
||||
output : 'perl-signals-list.h',
|
||||
capture : true,
|
||||
depend_files : files('get-signals.pl'),
|
||||
command : [build_perl, files('get-signals.pl'), '@INPUT@'],
|
||||
command : [ build_perl, files('get-signals.pl'), '@INPUT@' ],
|
||||
)
|
||||
|
||||
irssi_core_pl_h = custom_target('irssi-core.pl.h',
|
||||
irssi_core_pl_h = custom_target(
|
||||
'irssi-core.pl.h',
|
||||
input : files('irssi-core.pl'),
|
||||
output : 'irssi-core.pl.h',
|
||||
capture : true,
|
||||
command : [file2header, '@INPUT@', 'irssi_core_code'],
|
||||
command : [ file2header, '@INPUT@', 'irssi_core_code' ],
|
||||
)
|
||||
|
||||
# required as of Meson 0.58.0
|
||||
generated_files_inc = include_directories('.')
|
||||
|
||||
libperl_core_sm = shared_library('perl_core',
|
||||
libperl_core_sm = shared_library(
|
||||
'perl_core',
|
||||
files(
|
||||
'perl-common.c',
|
||||
'perl-core.c',
|
||||
'perl-signals.c',
|
||||
'perl-sources.c',
|
||||
) + [
|
||||
)
|
||||
+ [
|
||||
irssi_core_pl_h,
|
||||
perl_signals_list_h,
|
||||
] + built_src,
|
||||
]
|
||||
+ built_src,
|
||||
c_args : [
|
||||
def_scriptdir,
|
||||
def_perl_use_lib,
|
||||
|
|
@ -39,16 +43,17 @@ libperl_core_sm = shared_library('perl_core',
|
|||
install_rpath : perl_rpath,
|
||||
build_rpath : perl_rpath,
|
||||
dependencies : dep_cflagsonly + [ perl_dep ] + dl_cross_dep,
|
||||
override_options : ['b_asneeded=false', 'b_lundef=false'],
|
||||
override_options : [ 'b_asneeded=false', 'b_lundef=false' ],
|
||||
link_with : dl_cross_irssi_main,
|
||||
)
|
||||
|
||||
dl_cross_perl_core = []
|
||||
dl_cross_perl_core = [ ]
|
||||
if need_dl_cross_link
|
||||
dl_cross_perl_core += libperl_core_sm
|
||||
endif
|
||||
|
||||
shared_library('fe_perl',
|
||||
shared_library(
|
||||
'fe_perl',
|
||||
files(
|
||||
'module-formats.c',
|
||||
'perl-fe.c',
|
||||
|
|
@ -63,7 +68,7 @@ shared_library('fe_perl',
|
|||
install_dir : moduledir,
|
||||
dependencies : dep,
|
||||
link_with : dl_cross_perl_core + dl_cross_irssi_main,
|
||||
override_options : ['b_lundef=false'],
|
||||
override_options : [ 'b_lundef=false' ],
|
||||
)
|
||||
|
||||
subdir('common')
|
||||
|
|
|
|||
|
|
@ -1,18 +1,19 @@
|
|||
shared_library('TextUI',
|
||||
[ xsubpp.process(
|
||||
files(
|
||||
'Statusbar.xs',
|
||||
'TextBufferView.xs',
|
||||
'TextBuffer.xs',
|
||||
'TextUI.xs',
|
||||
shared_library(
|
||||
'TextUI',
|
||||
[
|
||||
xsubpp.process(
|
||||
files(
|
||||
'Statusbar.xs',
|
||||
'TextBufferView.xs',
|
||||
'TextBuffer.xs',
|
||||
'TextUI.xs',
|
||||
),
|
||||
extra_args : [
|
||||
'-typemap', '../common/typemap',
|
||||
'-typemap', '../ui/typemap',
|
||||
],
|
||||
),
|
||||
extra_args : [
|
||||
'-typemap',
|
||||
'../common/typemap',
|
||||
'-typemap',
|
||||
'../ui/typemap',
|
||||
],
|
||||
) ]
|
||||
]
|
||||
+ files(
|
||||
'module.h',
|
||||
),
|
||||
|
|
@ -24,7 +25,7 @@ shared_library('TextUI',
|
|||
implicit_include_directories : true,
|
||||
dependencies : dep + [ perl_dep ],
|
||||
link_with : dl_cross_perl_core + dl_cross_irssi_main,
|
||||
override_options : ['b_lundef=false'],
|
||||
override_options : [ 'b_lundef=false' ],
|
||||
)
|
||||
|
||||
install_headers(
|
||||
|
|
@ -33,6 +34,6 @@ install_headers(
|
|||
),
|
||||
install_dir : perlmoddir / 'Irssi',
|
||||
)
|
||||
|
||||
|
||||
# 'Makefile.PL.in',
|
||||
# 'typemap',
|
||||
|
|
|
|||
|
|
@ -1,16 +1,18 @@
|
|||
shared_library('UI',
|
||||
[ xsubpp.process(
|
||||
files(
|
||||
'Formats.xs',
|
||||
'Themes.xs',
|
||||
'UI.xs',
|
||||
'Window.xs',
|
||||
shared_library(
|
||||
'UI',
|
||||
[
|
||||
xsubpp.process(
|
||||
files(
|
||||
'Formats.xs',
|
||||
'Themes.xs',
|
||||
'UI.xs',
|
||||
'Window.xs',
|
||||
),
|
||||
extra_args : [
|
||||
'-typemap', '../common/typemap',
|
||||
],
|
||||
),
|
||||
extra_args : [
|
||||
'-typemap',
|
||||
'../common/typemap',
|
||||
],
|
||||
) ]
|
||||
]
|
||||
+ files(
|
||||
'module.h',
|
||||
),
|
||||
|
|
@ -22,7 +24,7 @@ shared_library('UI',
|
|||
implicit_include_directories : true,
|
||||
dependencies : dep + [ perl_dep ],
|
||||
link_with : dl_cross_perl_core + dl_cross_irssi_main,
|
||||
override_options : ['b_lundef=false'],
|
||||
override_options : [ 'b_lundef=false' ],
|
||||
)
|
||||
|
||||
install_headers(
|
||||
|
|
@ -31,6 +33,6 @@ install_headers(
|
|||
),
|
||||
install_dir : perlmoddir / 'Irssi',
|
||||
)
|
||||
|
||||
|
||||
# 'Makefile.PL.in',
|
||||
# 'typemap',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue