59 lines
1.6 KiB
Bash
59 lines
1.6 KiB
Bash
# Template file for 'hexchat'
|
|
pkgname=hexchat
|
|
version=2.14.1
|
|
revision=6
|
|
build_style=meson
|
|
configure_args="-Dwith-dbus=true -Dwith-ssl=true -Dwith-text=false
|
|
-Dwith-perl=true -Dwith-python=python3"
|
|
hostmakedepends="pkg-config glib-devel"
|
|
makedepends="gtk+-devel libressl-devel dbus-glib-devel perl libnotify-devel
|
|
libcanberra-devel libxml2-devel pciutils-devel libproxy-devel LuaJIT-devel
|
|
iso-codes python3-devel"
|
|
depends="desktop-file-utils enchant"
|
|
build_style=meson
|
|
short_desc="A GTK+ based IRC client successor of Xchat"
|
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
|
license="GPL-2.0-or-later"
|
|
homepage="https://hexchat.github.io/"
|
|
distfiles="https://dl.hexchat.net/hexchat/${pkgname}-${version}.tar.xz"
|
|
checksum=b032e4bcebe2229f87047439979a1246ddcbf599e7e538baa3f2abfac9a003a2
|
|
lib32disabled=yes
|
|
|
|
if [ "$CROSS_BUILD" ]; then
|
|
# dbus-binding-tools
|
|
# xmllint
|
|
# gdk-pixbuf-pixdata
|
|
hostmakedepends+=" dbus-glib-devel libxml2-devel gdk-pixbuf"
|
|
fi
|
|
|
|
post_install() {
|
|
# Remove useless files.
|
|
rm -rf ${DESTDIR}/usr/include
|
|
rm -rf ${DESTDIR}/usr/lib/pkgconfig
|
|
}
|
|
|
|
hexchat-perl_package() {
|
|
lib32disabled=yes
|
|
short_desc+=" - perl plugin"
|
|
depends="${sourcepkg}-${version}_${revision}"
|
|
pkg_install() {
|
|
vmove usr/lib/hexchat/plugins/perl.so
|
|
}
|
|
}
|
|
hexchat-python_package() {
|
|
lib32disabled=yes
|
|
short_desc+=" - python plugin"
|
|
depends="${sourcepkg}-${version}_${revision}"
|
|
pkg_install() {
|
|
vmove usr/lib/hexchat/plugins/python.so
|
|
}
|
|
}
|
|
|
|
hexchat-lua_package() {
|
|
lib32disabled=yes
|
|
short_desc+=" - lua plugin"
|
|
depends="${sourcepkg}-${version}_${revision}"
|
|
pkg_install() {
|
|
vmove usr/lib/hexchat/plugins/lua.so
|
|
}
|
|
}
|