qxmpp: update to 1.0.0

Signed-off-by: Jürgen Buchmüller <pullmoll@t-online.de>
This commit is contained in:
Jürgen Buchmüller 2019-01-18 18:31:06 +01:00
parent ed6e453cfe
commit f9f6c1d9a2
No known key found for this signature in database
GPG key ID: 6764EC32352D0647

View file

@ -1,16 +1,31 @@
# Template file for 'qxmpp' # Template file for 'qxmpp'
pkgname=qxmpp pkgname=qxmpp
version=0.9.3 version=1.0.0
revision=2 revision=1
build_style=qmake build_style=cmake
configure_args="-DBUILD_EXAMPLES=false $(vopt_if opus -DWITH_OPUS=true)
$(vopt_if speex -DWITH_SPEEX=true) $(vopt_if theora -DWITH_THEORA=true)
$(vopt_if vpx -DWITH_VPX=true)"
hostmakedepends="pkg-config" hostmakedepends="pkg-config"
makedepends="qt5-devel" makedepends="qt5-devel opus-devel speex-devel libtheora-devel libvpx-devel"
short_desc="Cross-platform C++ XMPP client and server library" short_desc="Cross-platform C++ XMPP client and server library"
maintainer="Jürgen Buchmüller <pullmoll@t-online.de>" maintainer="Jürgen Buchmüller <pullmoll@t-online.de>"
license="LGPL-2.1" license="LGPL-2.1"
homepage="https://github.com/qxmpp-project/qxmpp/" homepage="https://github.com/qxmpp-project/qxmpp/"
distfiles="https://github.com/qxmpp-project/qxmpp/archive/v${version}.tar.gz>${pkgname}-${version}.tar.gz" distfiles="https://github.com/qxmpp-project/qxmpp/archive/v${version}.tar.gz>${pkgname}-${version}.tar.gz"
checksum=13f5162a1df720702c6ae15a476a4cb8ea3e57d861a992c4de9147909765e6de checksum=bf62ac8d0b5741b3cb07ea92780b279d5c34d000dc7401d6c20a9b77865a5c1e
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 if [ -n "$CROSS_BUILD" ]; then
hostmakedepends+=" qt5-host-tools qt5-devel" hostmakedepends+=" qt5-host-tools qt5-devel"
@ -23,5 +38,6 @@ qxmpp-devel_package() {
vmove usr/include vmove usr/include
vmove usr/lib/*.so vmove usr/lib/*.so
vmove usr/lib/pkgconfig vmove usr/lib/pkgconfig
vmove usr/lib/cmake
} }
} }