27 lines
787 B
Bash
27 lines
787 B
Bash
# Template file for 'qxmpp'
|
|
pkgname=qxmpp
|
|
version=0.9.3
|
|
revision=2
|
|
build_style=qmake
|
|
hostmakedepends="pkg-config"
|
|
makedepends="qt5-devel"
|
|
short_desc="Cross-platform C++ XMPP client and server library"
|
|
maintainer="Jürgen Buchmüller <pullmoll@t-online.de>"
|
|
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=13f5162a1df720702c6ae15a476a4cb8ea3e57d861a992c4de9147909765e6de
|
|
|
|
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
|
|
}
|
|
}
|