Date: Wednesday, March 8, 2023 @ 17:50:43
Author: artafinde
Revision: 1416858
archrelease: copy trunk to community-testing-any
Added:
gajim/repos/community-testing-any/
gajim/repos/community-testing-any/PKGBUILD
(from rev 1416857, gajim/trunk/PKGBUILD)
----------+
PKGBUILD | 54 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 54 insertions(+)
Copied: gajim/repos/community-testing-any/PKGBUILD (from rev 1416857,
gajim/trunk/PKGBUILD)
===================================================================
--- community-testing-any/PKGBUILD (rev 0)
+++ community-testing-any/PKGBUILD 2023-03-08 17:50:43 UTC (rev 1416858)
@@ -0,0 +1,54 @@
+# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
+# Contributor: Eric Bélanger <[email protected]>
+
+pkgname=gajim
+_pkgver=1.7.1
+#_fixupver=2
+pkgver=${_pkgver}
+#pkgver=${_pkgver}.r${_fixupver}
+pkgrel=1
+pkgdesc='Full featured and easy to use XMPP (Jabber) client'
+url='https://gajim.org/'
+arch=('any')
+license=('GPL3')
+depends=('gtk3' 'gtksourceview4' 'python-cairo' 'python-gobject'
'python-keyring' 'python-nbxmpp'
+ 'python-cryptography' 'python-precis_i18n' 'python-css-parser'
+ 'python-distro' 'hicolor-icon-theme' 'python-pillow' 'python-gssapi'
'python-netifaces'
+ 'python-packaging')
+makedepends=('python-build' 'python-installer' 'python-wheel'
'python-setuptools')
+optdepends=('farstream: start audio and video chat'
+ 'gst-plugins-good: for video/voice support'
+ 'gst-plugins-bad: for video/voice support'
+ 'gst-plugins-ugly: for video/voice support'
+ 'gst-libav: for video/voice support'
+ 'gst-python: for video/voice support'
+ 'gspell: for spell checking support'
+ 'geoclue: share current location'
+ 'libxss: measure idle time, in order to set auto status'
+ 'python-gnupg: encrypting chat messages with OpenPGP'
+ 'python-axolotl: OMEMO support'
+ 'python-qrcode: generate QR codes for OMEMO keys'
+ 'gsound: Notification Sounds')
+source=(https://www.gajim.org/downloads/${_pkgver%.*}/gajim-${_pkgver}.tar.gz)
+#source=(https://www.gajim.org/downloads/${_pkgver%.*}/gajim-${_pkgver}-${_fixupver}.tar.gz)
+sha512sums=('ecc10832969b766935712ec3314ba269edc777f525b5cf2569e1eb0944734a93fe41679ae122eb5f7833c6fac25b38597f666307966f2d9965861c7da6f4fd85')
+b2sums=('d508c27a7ffbbdcaebc88d69960be5eccd22a2e1dfa740e661c0e4921558375778049ff685b2fb6bd92134206dd4e777699e59f58d68c0fd450e919999d00978')
+
+build() {
+ cd ${pkgname}-${_pkgver}
+ ./pep517build/build_metadata.py -o dist/metadata
+ python -m build --wheel --no-isolation
+}
+
+check() {
+ cd ${pkgname}-${_pkgver}
+ python -m unittest discover -s test
+}
+
+package() {
+ cd ${pkgname}-${_pkgver}
+ python -m installer --destdir="$pkgdir" dist/*.whl
+ ./pep517build/install_metadata.py dist/metadata --prefix="$pkgdir/usr"
+}
+
+# vim: ts=2 sw=2 et: