new name after fork

This commit is contained in:
2026-01-05 23:12:38 -07:00
parent ca43595430
commit 4683ef705b
316 changed files with 5422 additions and 6141 deletions

View File

@@ -1,4 +1,4 @@
hexchat_gtk_sources = [
zoitechat_gtk_sources = [
'ascii.c',
'banlist.c',
'chanlist.c',
@@ -29,22 +29,22 @@ hexchat_gtk_sources = [
]
gtk_dep = dependency('gtk+-2.0', version: '>= 2.24.0')
hexchat_gtk_deps = [
hexchat_common_dep,
zoitechat_gtk_deps = [
zoitechat_common_dep,
libgmodule_dep, # used by libsexy
gtk_dep
]
if gtk_dep.get_pkgconfig_variable('target') == 'x11'
hexchat_gtk_deps += dependency('x11')
zoitechat_gtk_deps += dependency('x11')
endif
hexchat_gtk_cflags = []
zoitechat_gtk_cflags = []
hexchat_gtk_ldflags = []
zoitechat_gtk_ldflags = []
if host_machine.system() == 'windows'
hexchat_gtk_sources += 'notifications/notification-windows.c'
zoitechat_gtk_sources += 'notifications/notification-windows.c'
# TODO: mingw doesn't have these headers or libs
# add_languages('cpp')
@@ -53,38 +53,38 @@ if host_machine.system() == 'windows'
#)
else
hexchat_gtk_sources += 'notifications/notification-freedesktop.c'
zoitechat_gtk_sources += 'notifications/notification-freedesktop.c'
endif
iso_codes = dependency('iso-codes', required: false)
if iso_codes.found()
hexchat_gtk_sources += 'sexy-iso-codes.c'
zoitechat_gtk_sources += 'sexy-iso-codes.c'
iso_codes_prefix = iso_codes.get_pkgconfig_variable('prefix')
hexchat_gtk_cflags += '-DISO_CODES_PREFIX="@0@"'.format(iso_codes_prefix)
hexchat_gtk_cflags += '-DISO_CODES_LOCALEDIR="@0@"'.format(
zoitechat_gtk_cflags += '-DISO_CODES_PREFIX="@0@"'.format(iso_codes_prefix)
zoitechat_gtk_cflags += '-DISO_CODES_LOCALEDIR="@0@"'.format(
join_paths(iso_codes_prefix, 'share/locale'))
endif
if get_option('plugin')
hexchat_gtk_sources += 'plugingui.c'
zoitechat_gtk_sources += 'plugingui.c'
endif
resources = gnome.compile_resources('resources',
'../../data/hexchat.gresource.xml',
'../../data/zoitechat.gresource.xml',
source_dir: '../../data', # TODO: Fix upstream
c_name: 'hexchat',
c_name: 'zoitechat',
extra_args: ['--manual-register']
)
if host_machine.system() == 'windows'
hexchat_gtk_ldflags += '-Wl,-e,mainCRTStartup'
zoitechat_gtk_ldflags += '-Wl,-e,mainCRTStartup'
endif
executable('hexchat',
sources: resources + hexchat_gtk_sources,
dependencies: hexchat_gtk_deps,
c_args: hexchat_gtk_cflags,
link_args: hexchat_gtk_ldflags,
executable('zoitechat',
sources: resources + zoitechat_gtk_sources,
dependencies: zoitechat_gtk_deps,
c_args: zoitechat_gtk_cflags,
link_args: zoitechat_gtk_ldflags,
pie: true,
install: true,
gui_app: true,