void-packages/srcpkgs/gajim/template

34 lines
1.1 KiB
Bash

# Template file for 'gajim'
pkgname=gajim
version=1.7.1
revision=1
build_style=python3-pep517
hostmakedepends="gettext python3-wheel"
depends="python3-gobject python3-setuptools python3-Pillow
python3-cairo python3-dbus libsecret gsound libnm
python3-nbxmpp python3-openssl python3-css-parser python3-keyring
python3-precis-i18n python3-packaging python3-setuptools python3-distro
python3-netifaces python3-pyasn1 python3-jeepney libsoup3 farstream gst-plugins-base1
gst-plugins-ugly1 gst-libav gtksourceview4"
checkdepends="${depends} python3-packaging"
short_desc="Full featured Jabber/XMPP client"
maintainer="teldra <teldra@rotce.de>"
license="GPL-3.0-only"
homepage="https://www.gajim.org"
changelog="https://dev.gajim.org/gajim/gajim/-/raw/master/ChangeLog"
distfiles="https://gajim.org/downloads/${version%.*}/gajim-${version}.tar.gz"
checksum=b9a26a353549189fe65e0bc130cf98cbc42bd7105e72ac2041cb4a7f9d7543c6
post_build() {
./pep517build/build_metadata.py -o dist/metadata
}
post_install() {
./pep517build/install_metadata.py dist/metadata --prefix=$DESTDIR/usr
vdoc "${FILESDIR}/README.voidlinux"
}
do_check() {
python -m unittest discover -s test
}