f40cd77686
Set them to Orphaned for now. If you'd like to pick up a package, feel free.
41 lines
1.2 KiB
Bash
41 lines
1.2 KiB
Bash
# Template file for 'qxmpp'
|
|
pkgname=qxmpp
|
|
version=1.3.2
|
|
revision=1
|
|
build_style=cmake
|
|
configure_args="-DBUILD_EXAMPLES=false"
|
|
hostmakedepends="pkg-config"
|
|
makedepends="qt5-devel opus-devel speex-devel libtheora-devel libvpx-devel"
|
|
short_desc="Cross-platform C++ XMPP client and server library"
|
|
maintainer="Orphaned <orphan@voidlinux.org>"
|
|
license="LGPL-2.1"
|
|
homepage="https://github.com/qxmpp-project/qxmpp/"
|
|
distfiles="https://github.com/qxmpp-project/qxmpp/archive/v${version}.tar.gz>${pkgname}-${version}.tar.gz"
|
|
checksum=016e23c40c604dd43b15e1888e31d48729d0f80775fb6f7faef1130a52fe0641
|
|
|
|
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
|
|
|
|
qxmpp-devel_package() {
|
|
short_desc+=" - development files"
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove usr/lib/*.so
|
|
vmove usr/lib/pkgconfig
|
|
vmove usr/lib/cmake
|
|
}
|
|
}
|