54ef2a0e75
2.14.1 (2018-03-13) fix performance regression on Unix fix building plugins with some compilers add missing gtk pixbuf theme engine in Windows installer 2.14.0 (2018-03-10) rewrite build system in Meson replace intltool build depenency with gettext >= 0.19.6 rename data files to use io.github.Hexchat name add option (irc_reconnect_rejoin) to disable auto-rejoin on reconnect add ability to set custom tray icon separate of app icon fix building against OpenSSL 1.1.0 fix Enchant 2.0+ support fix input box theming with Adwaita-dark fix custom sounds not respecting omit if away option fix detecting if a tray doesn?t exist on x11 fix cutting off ctcp text after ending \01 fix /ignore not accepting full hosts fix characters getting cut off when their width changes (on Unix) fix various possible crashes change preference window to be scroll-able remove ctrl+w binding by default remove mpcinfo plugin doat: fix channels with / in them fishlim: fix key exchange fishlim: fix building against LibreSSL sysinfo: fix pci.ids file not being found on some distros sysinfo: make libpci optional lua: avoid loading the same script multiple times update translations update libraries on Windows, including Python to 3.6
102 lines
2.5 KiB
Makefile
102 lines
2.5 KiB
Makefile
# $NetBSD: options.mk,v 1.6 2018/03/17 11:56:15 tnn Exp $
|
|
|
|
PKG_OPTIONS_VAR= PKG_OPTIONS.hexchat
|
|
PKG_SUPPORTED_OPTIONS= dbus gtk2 libcanberra libnotify libpci libproxy
|
|
PKG_SUPPORTED_OPTIONS+= libsexy lua openssl perl python
|
|
PKG_SUGGESTED_OPTIONS+= gtk2 libproxy libsexy openssl
|
|
|
|
PLIST_VARS+= dbus gtk2 libpci lua perl python fishlim
|
|
|
|
.include "../../mk/bsd.options.mk"
|
|
|
|
.if !empty(PKG_OPTIONS:Mdbus)
|
|
.include "../../sysutils/dbus-glib/buildlink3.mk"
|
|
.include "../../sysutils/dbus/buildlink3.mk"
|
|
PLIST.dbus= yes
|
|
MESON_ARGS+= -Dwith-dbus=true
|
|
.else
|
|
MESON_ARGS+= -Dwith-dbus=false
|
|
.endif
|
|
|
|
.if !empty(PKG_OPTIONS:Mgtk2)
|
|
.include "../../graphics/hicolor-icon-theme/buildlink3.mk"
|
|
.include "../../sysutils/desktop-file-utils/desktopdb.mk"
|
|
.include "../../graphics/gdk-pixbuf2/buildlink3.mk"
|
|
.include "../../x11/gtk2/buildlink3.mk"
|
|
PLIST.gtk2= yes
|
|
MESON_ARGS+= -Dwith-gtk=true
|
|
.else
|
|
MESON_ARGS+= -Dwith-gtk=false
|
|
.endif
|
|
|
|
.if !empty(PKG_OPTIONS:Mlibcanberra)
|
|
.include "../../audio/libcanberra/buildlink3.mk"
|
|
MESON_ARGS+= -Dwith-libcanberra=true
|
|
.else
|
|
MESON_ARGS+= -Dwith-libcanberra=false
|
|
.endif
|
|
|
|
.if !empty(PKG_OPTIONS:Mlibnotify)
|
|
.include "../../sysutils/libnotify/buildlink3.mk"
|
|
MESON_ARGS+= -Dwith-libnotify=true
|
|
.else
|
|
MESON_ARGS+= -Dwith-libnotify=false
|
|
.endif
|
|
|
|
.if !empty(PKG_OPTIONS:Mlibpci)
|
|
.include "../../sysutils/pciutils/buildlink3.mk"
|
|
.if ${OPSYS} == "NetBSD"
|
|
LIBS+= -lpciutils
|
|
.else
|
|
LIBS+= -lpci
|
|
.endif
|
|
PLIST.libpci= yes
|
|
MESON_ARGS+= -Dwith-sysinfo=true
|
|
.else
|
|
MESON_ARGS+= -Dwith-sysinfo=false
|
|
.endif
|
|
|
|
.if !empty(PKG_OPTIONS:Mlibproxy)
|
|
.include "../../www/libproxy/buildlink3.mk"
|
|
MESON_ARGS+= -Dwith-libproxy=true
|
|
.else
|
|
MESON_ARGS+= -Dwith-libproxy=false
|
|
.endif
|
|
|
|
.if !empty(PKG_OPTIONS:Mlua)
|
|
.include "../../lang/lua/buildlink3.mk"
|
|
MESON_ARGS+= -Dwith-lua=lua
|
|
PLIST.lua= yes
|
|
.else
|
|
MESON_ARGS+= -Dwith-lua=false
|
|
.endif
|
|
|
|
.if !empty(PKG_OPTIONS:Mopenssl)
|
|
.include "../../security/openssl/buildlink3.mk"
|
|
MESON_ARGS+= -Dwith-ssl=true
|
|
MESON_ARGS+= -Dwith-fishlim=true
|
|
PLIST.fishlim= yes
|
|
.else
|
|
MESON_ARGS+= -Dwith-ssl=false
|
|
MESON_ARGS+= -Dwith-fishlim=false
|
|
.endif
|
|
|
|
.if !empty(PKG_OPTIONS:Mperl)
|
|
.include "../../lang/perl5/buildlink3.mk"
|
|
USE_TOOLS+= perl
|
|
PLIST.perl= yes
|
|
MESON_ARGS+= -Dwith-perl=true
|
|
.else
|
|
MESON_ARGS+= -Dwith-perl=false
|
|
.endif
|
|
|
|
.if !empty(PKG_OPTIONS:Mpython)
|
|
PLIST.python= yes
|
|
MESON_ARGS+= -Dwith-python=python-${PYVERSSUFFIX}
|
|
.else
|
|
MESON_ARGS+= -Dwith-python=false
|
|
.endif
|
|
|
|
.if !empty(PKG_OPTIONS:Mlibsexy)
|
|
.include "../../devel/libsexy/buildlink3.mk"
|
|
.endif
|