2016-02-14 17:07:31 +08:00
|
|
|
# Contributions from Arch:
|
|
|
|
# Maintainer: Spike29 <leguen.yannick@gmail.com>
|
|
|
|
# Contributor: Samir Faci <csgeek@archlinux.us>
|
|
|
|
# Contributor: Timothée Ravier <tim@siosm.fr>
|
|
|
|
|
|
|
|
pkgname=qxmpp
|
|
|
|
pkgver=0.9.3
|
2018-02-04 08:40:00 +08:00
|
|
|
pkgrel=2
|
2016-02-14 17:07:31 +08:00
|
|
|
pkgdesc='Cross-platform C++ XMPP client and server library'
|
|
|
|
arch=('x86_64')
|
|
|
|
url='https://github.com/qxmpp-project/qxmpp'
|
|
|
|
license=('LGPL2.1')
|
|
|
|
depends=('qt5-base' 'opus' 'speex' 'libvpx' 'libtheora')
|
|
|
|
source=("https://github.com/qxmpp-project/qxmpp/archive/v$pkgver.tar.gz")
|
|
|
|
sha1sums=('f9391bedd5153ae19f68f25276bf2624c5020d09')
|
|
|
|
|
|
|
|
prepare() {
|
|
|
|
mkdir -p build
|
|
|
|
}
|
|
|
|
|
|
|
|
build() {
|
|
|
|
cd build
|
|
|
|
|
|
|
|
qmake-qt5 PREFIX=/usr ../$pkgname-$pkgver \
|
|
|
|
QXMPP_USE_OPUS=1 \
|
|
|
|
QXMPP_USE_SPEEX=1 \
|
|
|
|
QXMPP_USE_THEORA=1 \
|
|
|
|
QXMPP_USE_VPX=1
|
|
|
|
make
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
|
|
|
cd build
|
|
|
|
make INSTALL_ROOT="$pkgdir" install
|
|
|
|
}
|