1 # Maintainer: Antonio Rojas <arojas@archlinux.org>
2 # Contributor: HurricanePootis <hurricanepootis@protonmail.com>
3 # Contributor: Spike29 <leguen.yannick@gmail.com>
4 # Contributor: Samir Faci <csgeek@archlinux.us>
5 # Contributor: Timothée Ravier <tim@siosm.fr>
8 pkgname=(qxmpp-qt5 qxmpp-qt6)
11 pkgdesc='Cross-platform C++ XMPP client and server library'
13 url='https://github.com/qxmpp-project/qxmpp'
16 makedepends=(cmake qca-qt5 qca-qt6 libomemo-c)
17 optdepends=('libomemo-c: OMEMO support')
18 source=(https://github.com/qxmpp-project/qxmpp/archive/v$pkgver/$pkgbase-$pkgver.tar.gz)
19 sha256sums=('b25fba89432c4fd72489d1844f683bfbf4e5aa4cfcfda7a982d6019f8e4529f8')
22 cmake -B build5 -S $pkgbase-$pkgver \
23 -DCMAKE_INSTALL_PREFIX=/usr \
24 -DBUILD_EXAMPLES=OFF \
31 cmake -B build6 -S $pkgbase-$pkgver \
32 -DCMAKE_INSTALL_PREFIX=/usr \
33 -DBUILD_EXAMPLES=OFF \
43 DESTDIR="$pkgdir" cmake --install build5
48 DESTDIR="$pkgdir" cmake --install build6