|
1 | 1 | # Template file for 'qxmpp' |
2 | 2 | pkgname=qxmpp |
3 | | -version=1.4.0 |
| 3 | +version=1.14.0 |
4 | 4 | revision=1 |
5 | 5 | build_style=cmake |
6 | | -configure_args="-DBUILD_EXAMPLES=false" |
7 | | -hostmakedepends="pkg-config" |
8 | | -makedepends="qt5-devel opus-devel speex-devel libtheora-devel libvpx-devel" |
| 6 | +configure_args="-DBUILD_EXAMPLES=false -DBUILD_OMEMO=true -DWITH_GSTREAMER=true -DBUILD_TESTS=false" |
| 7 | +hostmakedepends="pkg-config qt6-base qt6-tools" |
| 8 | +makedepends="qt6-base-devel opus-devel speex-devel libtheora-devel libvpx-devel libomemo-c-devel qt6-qt5compat-devel qca-qt6-devel gstreamer1-devel" |
9 | 9 | short_desc="Cross-platform C++ XMPP client and server library" |
10 | 10 | maintainer="Orphaned <orphan@voidlinux.org>" |
11 | 11 | license="LGPL-2.1-or-later" |
12 | | -homepage="https://github.com/qxmpp-project/qxmpp/" |
13 | | -distfiles="https://github.com/qxmpp-project/qxmpp/archive/v${version}.tar.gz>${pkgname}-${version}.tar.gz" |
14 | | -checksum=2148162138eaf4b431a6ee94104f87877b85a589da803dff9433c698b4cf4f19 |
15 | | - |
16 | | -build_options="opus speex theora vpx" |
17 | | -build_options_default="opus speex theora vpx" |
18 | | -desc_option_opus="Enable Opus audio codec" |
19 | | -desc_option_speex="Enable Speex audio codec" |
20 | | -desc_option_theora="Enable Theora video codec" |
21 | | - |
22 | | -if [ -z "$XBPS_CHECK_PKGS" ]; then |
23 | | - configure_args+=" -DBUILD_TESTS=false" |
24 | | -else |
25 | | - configure_args+=" -DBUILD_TESTS=true" |
26 | | -fi |
27 | | - |
28 | | -if [ -n "$CROSS_BUILD" ]; then |
29 | | - hostmakedepends+=" qt5-host-tools qt5-devel" |
30 | | -fi |
| 12 | +homepage="https://invent.kde.org/libraries/qxmpp" |
| 13 | +distfiles="https://invent.kde.org/libraries/qxmpp/-/archive/v${version}/qxmpp-v${version}.tar.gz" |
| 14 | +checksum=eeb1c3d5fa5f737761e06ae41a479921e75328622729bea527b21ecd95caadc3 |
31 | 15 |
|
32 | 16 | qxmpp-devel_package() { |
33 | 17 | short_desc+=" - development files" |
|
0 commit comments