Date: Sunday, June 21, 2020 @ 16:08:01 Author: felixonmars Revision: 649626
archrelease: copy trunk to community-staging-x86_64 Added: hexchat/repos/community-staging-x86_64/ hexchat/repos/community-staging-x86_64/0002-python-3-8.patch (from rev 649622, hexchat/trunk/0002-python-3-8.patch) hexchat/repos/community-staging-x86_64/PKGBUILD (from rev 649622, hexchat/trunk/PKGBUILD) -----------------------+ 0002-python-3-8.patch | 13 +++++++++++++ PKGBUILD | 40 ++++++++++++++++++++++++++++++++++++++++ 2 files changed, 53 insertions(+) Copied: hexchat/repos/community-staging-x86_64/0002-python-3-8.patch (from rev 649622, hexchat/trunk/0002-python-3-8.patch) =================================================================== --- community-staging-x86_64/0002-python-3-8.patch (rev 0) +++ community-staging-x86_64/0002-python-3-8.patch 2020-06-21 16:08:01 UTC (rev 649626) @@ -0,0 +1,13 @@ +diff --git a/meson_options.txt b/meson_options.txt +index 100a5ee7..c2a2f53c 100644 +--- a/meson_options.txt ++++ b/meson_options.txt +@@ -48,7 +48,7 @@ option('with-lua', type: 'string', value: 'luajit', + option('with-perl', type: 'string', value: 'perl', + description: 'Perl scripting plugin, value is path to perl executable or "false"' + ) +-option('with-python', type: 'string', value: 'python3', ++option('with-python', type: 'string', value: 'python3-embed', + description: 'Python scripting plugin. value is pkg-config name to use or "false"' + ) + option('with-sysinfo', type: 'boolean', Copied: hexchat/repos/community-staging-x86_64/PKGBUILD (from rev 649622, hexchat/trunk/PKGBUILD) =================================================================== --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2020-06-21 16:08:01 UTC (rev 649626) @@ -0,0 +1,40 @@ +# Maintainer: Maxime Gauduin <aluc...@archlinux.org> +# Contributor: TingPing <tingp...@tingping.se> + +pkgname=hexchat +pkgver=2.14.3 +pkgrel=2 +pkgdesc='A popular and easy to use graphical IRC (chat) client' +arch=('x86_64') +url='https://hexchat.github.io/' +license=('GPL') +depends=('dbus-glib' 'desktop-file-utils' 'gdk-pixbuf2' 'glib2' 'gtk2' + 'libcanberra' 'libnotify' 'libproxy' 'openssl' 'pango' 'pciutils') +makedepends=('git' 'intltool' 'iso-codes' 'lua' 'meson' 'perl' 'python-cffi') +optdepends=('enchant: Spell check' + 'iso-codes: Display language names instead of codes' + 'lua: Lua plugin' + 'perl: Perl plugin' + 'python-cffi: Python plugin') +source=("git+https://github.com/hexchat/hexchat.git#tag=v${pkgver}" + '0002-python-3-8.patch') +sha256sums=('SKIP' + '8d17ce657e744272815b5fb33d8ad959f79ece3294349637eaadcf86d90496fa') + +prepare() { + cd hexchat + patch -Np1 < ../0002-python-3-8.patch +} + +build() { + arch-meson hexchat build \ + -Dwith-lua='lua' \ + -Dwith-text='true' + ninja -C build +} + +package() { + DESTDIR="${pkgdir}" ninja -C build install +} + +# vim: ts=2 sw=2 et: