void-packages/srcpkgs/gajim/template
Helmut Pozimski 0fad7e2b84 gajim: set python interpreter to python2 in configure_args (#6143)
Gajim uses shell scripts as wrappers to start the actual application. It detects the python interpreter during the configure step and writes the absolute path to the interpreter in the scripts. Since these scripts are shell scripts and the python interpreter is not in the shebang line, it is not caught by the shebang rewrite of xbps-src. This can lead to situations where /usr/bin/python is in the wrapper scripts and is linked to python 3 so the start of gajim fails.

Closes #6099.
2017-04-10 10:54:56 +02:00

17 lines
625 B
Bash

# Template file for 'gajim'
pkgname=gajim
version=0.16.7
revision=2
noarch=yes
build_style=gnu-configure
configure_args="--enable-site-packages PYTHON=python2"
hostmakedepends="intltool python"
makedepends="python-dbus pygtk-devel python-openssl python-sqlite python-nbxmpp"
depends="${makedepends/-devel/}"
pycompile_module="gajim"
short_desc="Full featured Jabber/XMPP client"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
homepage="https://www.gajim.org"
license="GPL-3"
distfiles="https://gajim.org/downloads/${version%.*}/gajim-${version}.tar.bz2"
checksum=b2071bbf499a2ad13ee484ad3d9b967c9c281db865b28c2016bb199146367047