2013-12-01 20:59:54 +11:00
|
|
|
# Description: GTK+ based IRC client.
|
2020-06-21 20:21:42 +10:00
|
|
|
# URL: https://hexchat.github.io/
|
2014-11-10 23:25:50 +11:00
|
|
|
# Maintainer: Danny Rawlins, crux at romster dot me
|
2021-04-13 00:25:36 +10:00
|
|
|
# Depends on: gtk iso-codes python3-cffi xorg-libxdamage
|
2019-04-07 21:18:27 +10:00
|
|
|
# Optional: dbus-glib desktop-file-utils enchant libcanberra libnotify libproxy lua pciutils
|
2013-12-01 20:59:54 +11:00
|
|
|
|
|
|
|
name=hexchat
|
2022-02-18 14:00:05 +01:00
|
|
|
version=2.16.1
|
2021-10-03 17:41:59 +11:00
|
|
|
release=1
|
|
|
|
source=(https://dl.hexchat.net/hexchat/$name-$version.tar.xz)
|
2013-12-01 20:59:54 +11:00
|
|
|
|
|
|
|
build() {
|
2022-02-18 14:00:05 +01:00
|
|
|
prt-get isinst lua && PKGMK_HEXCHAT+=' -D with-lua=lua' || PKGMK_HEXCHAT+=' -D with-lua=false'
|
|
|
|
prt-get isinst libcanberra || PKGMK_HEXCHAT+=' -D libcanberra=disabled'
|
|
|
|
prt-get isinst dbus-glib || PKGMK_HEXCHAT+=' -D dbus=disabled'
|
2019-04-07 21:18:27 +10:00
|
|
|
|
|
|
|
prt-get isinst pciutils && PKGMK_HEXCHAT+=' -Dwith-sysinfo=true'
|
|
|
|
|
2022-02-18 14:00:05 +01:00
|
|
|
meson setup build $name-$version $PKGMK_HEXCHAT \
|
|
|
|
--prefix=/usr \
|
|
|
|
--buildtype=plain \
|
|
|
|
--wrap-mode nodownload \
|
|
|
|
-D b_lto=true \
|
|
|
|
-D b_pie=true
|
|
|
|
meson compile -C build -j ${JOBS:-1}
|
|
|
|
DESTDIR=$PKG meson install -C build
|
2013-12-01 20:59:54 +11:00
|
|
|
|
|
|
|
rm -r $PKG/usr/share/locale
|
|
|
|
}
|