summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libre/hexchat/0002-python-3-8.patch13
-rw-r--r--libre/hexchat/PKGBUILD41
2 files changed, 33 insertions, 21 deletions
diff --git a/libre/hexchat/0002-python-3-8.patch b/libre/hexchat/0002-python-3-8.patch
new file mode 100644
index 000000000..dbfd7f179
--- /dev/null
+++ b/libre/hexchat/0002-python-3-8.patch
@@ -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',
diff --git a/libre/hexchat/PKGBUILD b/libre/hexchat/PKGBUILD
index 39b552378..36b9e30f9 100644
--- a/libre/hexchat/PKGBUILD
+++ b/libre/hexchat/PKGBUILD
@@ -1,39 +1,38 @@
-# $Id$
# Maintainer (Arch): Maxime Gauduin <alucryd@archlinux.org>
# Contributor (Arch): TingPing <tingping@tingping.se>
# Contributor: André Silva <emulatorman@hyperbola.info>
# Maintainer: Freemor <freemor@freemor.ca>
pkgname=hexchat
-pkgver=2.14.2.r9.ged553301
-pkgrel=1.parabola1
-pkgdesc='A popular and easy to use graphical IRC (chat) client, without nonfree browser reference'
-arch=('i686' 'x86_64' 'armv7h')
+pkgver=2.14.3
+pkgrel=1
+pkgrel+=.parabola1
+pkgdesc='A popular and easy to use graphical IRC (chat) client'
+pkgdesc+=', without nonfree browser reference'
+arch=('x86_64')
+arch+=('i686' 'armv7h')
url='https://hexchat.github.io/'
license=('GPL')
-
-depends=('gtk2' 'openssl' 'dbus-glib' 'lua' 'python-cffi'
- 'libcanberra' 'libnotify' 'libproxy' 'pciutils'
- 'hicolor-icon-theme' 'desktop-file-utils' 'sound-theme-freedesktop' 'iso-codes')
-makedepends=('git' 'perl' 'python' 'meson')
-optdepends=('enchant: for spell check'
- 'perl: for perl plugin'
- 'python: for python plugin')
+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')
replaces=(${pkgname}-libre)
conflicts=(${pkgname}-libre)
-source=("git+https://github.com/hexchat/hexchat.git" 'restore_ctrl-w.patch')
+source=("git+https://github.com/hexchat/hexchat.git#tag=v${pkgver}"
+ '0002-python-3-8.patch'
+ 'restore_ctrl-w.patch')
sha256sums=('SKIP'
+ '8d17ce657e744272815b5fb33d8ad959f79ece3294349637eaadcf86d90496fa'
'f78f986a064e6c5a8713a219fa042c94bb2b0236869d33b48801faedc9cef63e')
-pkgver() {
- cd "hexchat"
-
- git describe --long --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
-}
-
-
prepare() {
cd hexchat
+ patch -Np1 < ../0002-python-3-8.patch
# Remove nonfree browser references
sed -i '\|NAME Open Link| s|Firefox|Iceweasel|' src/common/hexchat.c