aboutsummaryrefslogtreecommitdiffstats
path: root/community/gajim/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/gajim/APKBUILD')
-rw-r--r--community/gajim/APKBUILD46
1 files changed, 35 insertions, 11 deletions
diff --git a/community/gajim/APKBUILD b/community/gajim/APKBUILD
index bf7f24933c8..c58de01ec57 100644
--- a/community/gajim/APKBUILD
+++ b/community/gajim/APKBUILD
@@ -1,8 +1,8 @@
# Contributor: Peter Shkenev <santurysim@gmail.com>
# Maintainer: Peter Shkenev <santurysim@gmail.com>
pkgname=gajim
-pkgver=1.4.0
-pkgrel=0
+pkgver=1.8.4
+pkgrel=1
_pkgver_suffix=""
pkgdesc="A full featured and easy to use XMPP client"
url="https://gajim.org/"
@@ -10,38 +10,62 @@ arch="noarch"
license="GPL-3.0-only"
depends="
dbus
- dbus-x11
gtk+3.0
- libsoup
+ gtksourceview4
+ libsoup3
py3-cairo
py3-css-parser
py3-gobject3
py3-keyring
py3-nbxmpp
+ py3-omemo-dr
py3-openssl
py3-packaging
+ py3-pillow
py3-precis-i18n
+ py3-qrcode
+ sqlite
+ pango
"
-makedepends="py3-setuptools python3-dev gettext-dev"
-checkdepends="xvfb-run ttf-dejavu"
+makedepends="
+ gettext-dev
+ py3-gpep517
+ py3-setuptools
+ py3-wheel
+ python3-dev
+ "
+checkdepends="xvfb-run font-dejavu py3-pytest"
source="
https://gajim.org/downloads/${pkgver:0:3}/gajim-$pkgver$_pkgver_suffix.tar.gz
+ disable-test.patch
"
-subpackages="$pkgname-doc $pkgname-lang"
+subpackages="$pkgname-doc $pkgname-lang $pkgname-pyc"
build() {
- python3 setup.py build
+ ./pep517build/build_metadata.py -o .dist/metadata
+ gpep517 build-wheel \
+ --wheel-dir .dist \
+ --output-fd 3 3>&1 >&2
}
check() {
- xvfb-run python3 -m unittest discover -s test
+ python3 -m venv --clear --without-pip --system-site-packages .testenv
+ .testenv/bin/python3 -m installer .dist/*.whl
+ xvfb-run -a .testenv/bin/python3 -m pytest #unittest discover -s test
}
package() {
- python3 setup.py install --prefix=/usr --root="$pkgdir"
+ python3 -m installer -d "$pkgdir" \
+ .dist/*.whl
+ ./pep517build/install_metadata.py .dist/metadata --prefix="$pkgdir"/usr
}
+lang() {
+ pkgdesc="Languages for package $pkgname"
+ amove usr/lib/python3*/site-packages/gajim/data/locale
+}
sha512sums="
-9fb2b967325d04d7cfa8cb97d0dcebdd5cfd8b8a0a4f8928e7d8c547d90567b7fb0d84d48cdd151b5e38ce72f65de2679c8cc1543ff3ed25d792e6de070042a0 gajim-1.4.0.tar.gz
+1a5b028c0e308eb15417c8c11584bc0e8b0218fead5155093ede4bc3961b6bee2b47bc3510f751dc70194634d6ca94d4a675f6891c8f050859fb4729020e52cb gajim-1.8.4.tar.gz
+0f1f2071186be97c0702c64c5f479d0f72130d965146d8cc6edd727685cd0b93c2110cec11703693c7d9c5bc0327ae0b587923005556994acdf64dfbe74cf016 disable-test.patch
"