Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion common/shlibs
Original file line number Diff line number Diff line change
Expand Up @@ -2773,7 +2773,8 @@ leatherman_execution.so.1.12.4 leatherman-1.12.4_1
leatherman_ruby.so.1.12.4 leatherman-1.12.4_1
libfbclient.so.2 libfbclient3-3.0.4.33054_1
libipmiutil.so.1 ipmiutil-3.1.3_4
libqxmpp.so.3 qxmpp-1.2.0_1
libQXmppQt6.so.8 qxmpp-1.14.0_1
libQXmppOmemoQt6.so.8 qxmpp-1.14.0_1
libunwind.so.1 llvm-libunwind-3.8.0_1
libc++abi.so.1 libcxxabi-3.8.0_1
libfastjson.so.4 libfastjson-0.99.3_1
Expand Down
30 changes: 7 additions & 23 deletions srcpkgs/qxmpp/template
Original file line number Diff line number Diff line change
@@ -1,33 +1,17 @@
# Template file for 'qxmpp'
pkgname=qxmpp
version=1.4.0
version=1.14.0
revision=1
build_style=cmake
configure_args="-DBUILD_EXAMPLES=false"
hostmakedepends="pkg-config"
makedepends="qt5-devel opus-devel speex-devel libtheora-devel libvpx-devel"
configure_args="-DBUILD_EXAMPLES=false -DBUILD_OMEMO=true -DWITH_GSTREAMER=true -DBUILD_TESTS=false"
hostmakedepends="pkg-config qt6-base qt6-tools"
makedepends="qt6-base-devel opus-devel speex-devel libtheora-devel libvpx-devel libomemo-c-devel qt6-qt5compat-devel qca-qt6-devel gstreamer1-devel"
short_desc="Cross-platform C++ XMPP client and server library"
maintainer="Orphaned <orphan@voidlinux.org>"
license="LGPL-2.1-or-later"
homepage="https://github.com/qxmpp-project/qxmpp/"
distfiles="https://github.com/qxmpp-project/qxmpp/archive/v${version}.tar.gz>${pkgname}-${version}.tar.gz"
checksum=2148162138eaf4b431a6ee94104f87877b85a589da803dff9433c698b4cf4f19

build_options="opus speex theora vpx"
build_options_default="opus speex theora vpx"
desc_option_opus="Enable Opus audio codec"
desc_option_speex="Enable Speex audio codec"
desc_option_theora="Enable Theora video codec"

if [ -z "$XBPS_CHECK_PKGS" ]; then
configure_args+=" -DBUILD_TESTS=false"
else
configure_args+=" -DBUILD_TESTS=true"
fi

if [ -n "$CROSS_BUILD" ]; then
hostmakedepends+=" qt5-host-tools qt5-devel"
fi
homepage="https://invent.kde.org/libraries/qxmpp"
distfiles="https://invent.kde.org/libraries/qxmpp/-/archive/v${version}/qxmpp-v${version}.tar.gz"
checksum=eeb1c3d5fa5f737761e06ae41a479921e75328622729bea527b21ecd95caadc3

qxmpp-devel_package() {
short_desc+=" - development files"
Expand Down