hexchat: update to 2.16.0 and change maintainer

- Remove obsolete [host]makedep 'libxml2-devel'
    as hexchat does not use libxml2
- Add makedep 'python3-cffi'
- Add hostmakedep 'python3-cffi' for crossbuilds
- Update configure args for dbus and tls (upstream renamed them)
- Remove configure args for building the text interface
    (now disabled by default by upstream)
- Add configure arg for libcanbera
- Remove patch for cross compile (introduced in 32a4badf)
    The file it applies to is now unrecognisable,
    and the patch *seems* unneeded

- Change the maintainer from Orphan

- Remove obsolete 'update' file (project has moved to github releases)
This commit is contained in:
0x5c 2021-10-02 16:58:59 -04:00 committed by Toyam Cox
parent 50ec274c67
commit cf8876f75d
3 changed files with 10 additions and 32 deletions

View file

@ -1,20 +0,0 @@
--- a/plugins/perl/meson.build 2018-08-15 13:30:17.108881970 +0200
+++ b/plugins/perl/meson.build 2018-08-15 13:30:36.682882751 +0200
@@ -39,7 +39,7 @@
perl_ldflags = []
perl_rpath = ''
foreach flag : ret.stdout().strip().split(' ')
- if flag.startswith('-L') or flag.startswith('-l')
+ if flag.startswith('-l')
perl_ldflags += flag
endif
if flag.startswith('-Wl,-rpath,')
@@ -52,6 +52,8 @@
endif
endforeach
+perl_ldflags += '-L${XBPS_CROSS_BASE}/usr/lib/perl5/core_perl/CORE'
+
perl_cflags += [
# Perl has its own 'config.h' that we must override
# TODO: Just rename ours to something more unique.

View file

@ -1,23 +1,23 @@
# Template file for 'hexchat'
pkgname=hexchat
version=2.14.3
revision=6
version=2.16.0
revision=1
build_style=meson
configure_args="-Dwith-dbus=true -Dwith-ssl=true -Dwith-text=false
configure_args="-Ddbus=enabled -Dtls=enabled -Dwith-text=false
-Dwith-perl=/usr/bin/perl -Dwith-python=python3
-Dwith-lua=$(vopt_if LuaJIT luajit lua)"
-Dwith-lua=$(vopt_if LuaJIT luajit lua) -Dlibcanberra=enabled"
hostmakedepends="gettext pkg-config glib-devel"
makedepends="gtk+-devel openssl-devel dbus-glib-devel perl libnotify-devel
libcanberra-devel libxml2-devel pciutils-devel libproxy-devel
iso-codes python3-devel $(vopt_if LuaJIT LuaJIT-devel lua53-devel)"
libcanberra-devel pciutils-devel libproxy-devel iso-codes
python3-devel python3-cffi $(vopt_if LuaJIT LuaJIT-devel lua53-devel)"
depends="desktop-file-utils enchant2"
short_desc="GTK+ based IRC client successor of Xchat"
maintainer="Orphaned <orphan@voidlinux.org>"
maintainer="0x5c <dev@0x5c.io>"
license="GPL-2.0-or-later"
homepage="https://hexchat.github.io/"
changelog="https://hexchat.readthedocs.org/en/latest/changelog.html"
distfiles="https://dl.hexchat.net/hexchat/${pkgname}-${version}.tar.xz"
checksum=901a9d13db5a4da69b827f6093306bbd16863dc49016f7668bd3e4506512e882
distfiles="https://github.com/hexchat/hexchat/archive/v${version}.tar.gz"
checksum=5c7f35317bb3bc437fc5fb57392ddc13ba11c173718cdfe4de89d69c30a40b06
build_options="LuaJIT"
lib32disabled=yes
@ -27,7 +27,7 @@ case "$XBPS_TARGET_MACHINE" in
esac
if [ "$CROSS_BUILD" ]; then
hostmakedepends+=" dbus-glib-devel libxml2-devel gdk-pixbuf perl
hostmakedepends+=" dbus-glib-devel python3-cffi gdk-pixbuf perl
shared-mime-info"
fi

View file

@ -1,2 +0,0 @@
pkgname=HexChat
site=https://dl.hexchat.net/hexchat/