# Buildsheet autogenerated by ravenadm tool -- Do not edit. NAMEBASE= hexchat VERSION= 2.16.2 REVISION= 3 KEYWORDS= irc VARIANTS= std SDESC[std]= Graphical IRC client based on XChat HOMEPAGE= https://hexchat.github.io CONTACT= Michael_Reim[kraileth@elderlinux.org] DOWNLOAD_GROUPS= main SITES[main]= https://github.com/hexchat/hexchat/releases/download/v2.16.2/ DISTFILE[1]= hexchat-2.16.2.tar.xz:main DF_INDEX= 1 SPKGS[std]= set primary dev nls man OPTIONS_AVAILABLE= none OPTIONS_STANDARD= none BUILD_DEPENDS= appstream-glib:dev:std dbus:dev:std harfbuzz:dev:std libcanberra:dev:std libnotify:dev:std libproxy:dev:std dbus-glib:dev:std BUILDRUN_DEPENDS= dbus-glib:primary:std iso-codes:primary:std libcanberra:primary:std libnotify:primary:std libproxy:primary:std USES= ssl cpe meson perl pkgconfig python shebangfix bdb:build desktop-utils:primary gnome-icons:primary rootca:primary GNOME_COMPONENTS= glib intltool pango gtk2 LICENSE= GPLv2+:primary LICENSE_TERMS= primary:{{WRKDIR}}/TERMS LICENSE_FILE= GPLv2+:{{WRKSRC}}/COPYING LICENSE_AWK= TERMS:"^$$" LICENSE_SOURCE= TERMS:{{WRKSRC}}/src/common/modes.h LICENSE_SCHEME= solo CPE_VENDOR= hexchat_project FPC_EQUIVALENT= irc/hexchat MESON_ARGS= -Dwith-lua=false -Dwith-python=false SHEBANG_FILES= meson_post_install.py plugins/perl/generate_header.py src/common/make-te.py MAKE_ENV= GETTEXTDATADIRS={{PREFIX}}/share/gettext/0.20 LDFLAGS= {{PERL_RPATH}} post-patch: # Do we need to find a way to pass ca_bundle to server.c? # ${REINPLACE_CMD} -e 's|%%CA_BUNDLE%%|${LOCALBASE}/share/certs/ca-root-nss.crt|' \ ${WRKSRC}/src/common/server.c # set path to perl too ${REINPLACE_CMD} \ -e 's|%%PREFIX%%|${PREFIX}|g'\ -e 's|%%PERL_VER%%|${PERL_VER}|g'\ ${WRKSRC}/plugins/perl/meson.build [FILE:316:descriptions/desc.primary] HexChat is an IRC chat program. It allows you to join multiple IRC channels (chat rooms) at the same time, talk publicly, private one-on-one conversations etc. HexChat is based on XChat, but unlike XChat it's completely free for both Windows and Unix-like systems. Since XChat is Open Source, it's perfectly legal. [FILE:100:distinfo] 2e88340a8da274b87373ec0740746da78120cc6fbfdd201a4dd6999cac790e4a 1352304 hexchat-2.16.2.tar.xz [FILE:328:manifests/plist.primary] bin/hexchat lib/hexchat/plugins/ checksum.so fishlim.so perl.so sysinfo.so share/applications/io.github.Hexchat.desktop share/dbus-1/services/org.hexchat.service.service share/icons/hicolor/48x48/apps/io.github.Hexchat.png share/icons/hicolor/scalable/apps/io.github.Hexchat.svg share/metainfo/io.github.Hexchat.appdata.xml [FILE:57:manifests/plist.dev] include/hexchat-plugin.h lib/pkgconfig/hexchat-plugin.pc [FILE:2089:manifests/plist.nls] share/locale/af/LC_MESSAGES/hexchat.mo share/locale/am/LC_MESSAGES/hexchat.mo share/locale/ast/LC_MESSAGES/hexchat.mo share/locale/az/LC_MESSAGES/hexchat.mo share/locale/be/LC_MESSAGES/hexchat.mo share/locale/bg/LC_MESSAGES/hexchat.mo share/locale/ca/LC_MESSAGES/hexchat.mo share/locale/cs/LC_MESSAGES/hexchat.mo share/locale/da/LC_MESSAGES/hexchat.mo share/locale/de/LC_MESSAGES/hexchat.mo share/locale/el/LC_MESSAGES/hexchat.mo share/locale/en_GB/LC_MESSAGES/hexchat.mo share/locale/es/LC_MESSAGES/hexchat.mo share/locale/et/LC_MESSAGES/hexchat.mo share/locale/eu/LC_MESSAGES/hexchat.mo share/locale/fi/LC_MESSAGES/hexchat.mo share/locale/fr/LC_MESSAGES/hexchat.mo share/locale/gl/LC_MESSAGES/hexchat.mo share/locale/gu/LC_MESSAGES/hexchat.mo share/locale/hi/LC_MESSAGES/hexchat.mo share/locale/hu/LC_MESSAGES/hexchat.mo share/locale/id/LC_MESSAGES/hexchat.mo share/locale/it/LC_MESSAGES/hexchat.mo share/locale/ja_JP/LC_MESSAGES/hexchat.mo share/locale/kn/LC_MESSAGES/hexchat.mo share/locale/ko/LC_MESSAGES/hexchat.mo share/locale/lt/LC_MESSAGES/hexchat.mo share/locale/lv/LC_MESSAGES/hexchat.mo share/locale/mk/LC_MESSAGES/hexchat.mo share/locale/ml/LC_MESSAGES/hexchat.mo share/locale/ms/LC_MESSAGES/hexchat.mo share/locale/nb/LC_MESSAGES/hexchat.mo share/locale/nl/LC_MESSAGES/hexchat.mo share/locale/no/LC_MESSAGES/hexchat.mo share/locale/pa/LC_MESSAGES/hexchat.mo share/locale/pl/LC_MESSAGES/hexchat.mo share/locale/pt/LC_MESSAGES/hexchat.mo share/locale/pt_BR/LC_MESSAGES/hexchat.mo share/locale/ru/LC_MESSAGES/hexchat.mo share/locale/rw/LC_MESSAGES/hexchat.mo share/locale/sk/LC_MESSAGES/hexchat.mo share/locale/sl/LC_MESSAGES/hexchat.mo share/locale/sq/LC_MESSAGES/hexchat.mo share/locale/sr/LC_MESSAGES/hexchat.mo share/locale/sr@latin/LC_MESSAGES/hexchat.mo share/locale/sv/LC_MESSAGES/hexchat.mo share/locale/th/LC_MESSAGES/hexchat.mo share/locale/tr/LC_MESSAGES/hexchat.mo share/locale/uk/LC_MESSAGES/hexchat.mo share/locale/vi/LC_MESSAGES/hexchat.mo share/locale/wa/LC_MESSAGES/hexchat.mo share/locale/zh_CN/LC_MESSAGES/hexchat.mo share/locale/zh_TW/LC_MESSAGES/hexchat.mo [FILE:25:manifests/plist.man] share/man/man1/hexchat.1 [FILE:1312:patches/patch-meson.build] --- meson.build.orig 2022-02-12 18:30:55 UTC +++ meson.build @@ -21,11 +21,21 @@ libcanberra_dep = dependency('libcanberr dbus_glib_dep = dependency('dbus-glib-1', required: get_option('dbus')) global_deps = [] +libssl_dep_found = false if cc.get_id() == 'msvc' libssl_dep = cc.find_library('libssl') else libssl_dep = dependency('openssl', version: '>= 0.9.8', required: get_option('tls')) + if not libssl_dep.found() + libssl_dep = [ + cc.find_library('ssl', required: get_option('with-ssl')), + cc.find_library('crypto', required: get_option('with-ssl')) + ] + libssl_dep_found = libssl_dep[0].found() + else + libssl_dep_found = libssl_dep.found() + endif endif config_h = configuration_data() @@ -58,7 +68,7 @@ config_h.set_quoted('HEXCHATLIBDIR', join_paths(get_option('prefix'), get_option('libdir'), 'hexchat/plugins') ) -if libssl_dep.found() +if libssl_dep_found config_h.set('HAVE_X509_GET_SIGNATURE_NID', cc.has_function('X509_get_signature_nid', dependencies: libssl_dep) ) @@ -138,8 +148,6 @@ global_ldflags = [] test_ldflags = [ '-Wl,-z,relro', '-Wl,-z,now', - # mingw - '-Wl,--nxcompat', ] if not (host_machine.system() == 'windows' and get_option('debug')) test_ldflags += '-Wl,--dynamicbase' [FILE:458:patches/patch-meson__options.txt] --- meson_options.txt.orig 2022-02-12 18:30:55 UTC +++ meson_options.txt @@ -44,7 +44,7 @@ option('with-exec', type: 'boolean', option('with-fishlim', type: 'boolean', description: 'Fish encryption plugin, requires openssl' ) -option('with-lua', type: 'string', value: 'luajit', +option('with-lua', type: 'string', description: 'Lua scripting plugin, value is pkg-config name to use or "false"' ) option('with-perl', type: 'string', value: 'perl', [FILE:211:patches/patch-plugins_fishlim_meson.build] --- plugins/fishlim/meson.build.orig 2022-02-12 18:30:55 UTC +++ plugins/fishlim/meson.build @@ -1,4 +1,4 @@ -if not libssl_dep.found() +if not libssl_dep_found error('fish plugin requires openssl') endif [FILE:473:patches/patch-plugins_perl_meson.build] --- plugins/perl/meson.build.orig 2022-02-12 18:30:55 UTC +++ plugins/perl/meson.build @@ -60,7 +60,7 @@ endforeach perl_cflags += [ # Perl has its own 'config.h' that we must override # TODO: Just rename ours to something more unique. - '-include', meson.build_root() + '/config.h' + '-include', meson.build_root() + '/config.h', '-I%%PREFIX%%/lib/perl5/%%PERL_VER%%/mach/CORE', '-L%%PREFIX%%/lib/perl5/%%PERL_VER%%/mach/CORE', '-lperl' ] if not cc.links(''' [FILE:497:patches/patch-plugins_sysinfo_meson.build] --- plugins/sysinfo/meson.build.orig 2022-02-12 18:30:55 UTC +++ plugins/sysinfo/meson.build @@ -13,7 +13,7 @@ sysinfo_includes = [] sysinfo_cargs = [] system = host_machine.system() -if system == 'linux' or system == 'gnu' or system.startswith('gnu/') or system == 'darwin' or system == 'freebsd' +if ['linux','gnu','darwin','freebsd','dragonfly','midnightbsd','netbsd'].contains(system) or system.startswith('gnu/') sysinfo_includes += 'shared' sysinfo_sources += [ 'shared/df.c'