New package: gloox-1.0.20

Closes: #10369 [via git-merge-pr]
This commit is contained in:
Wilson Birney 2018-01-02 21:23:30 -05:00 committed by Jürgen Buchmüller
parent c9b87c6605
commit dbe2d9a07a
4 changed files with 48 additions and 0 deletions

View File

@ -3029,3 +3029,4 @@ libykpiv.so.1 libykpiv-1.5.0_1
libykcs11.so.1 libykcs11-1.5.0_1
libKF5KExiv2.so.15.0.0 libkexiv25-17.04.3_1
libqmobipocket.so.2 libqmobipocket-17.04.3_1
libgloox.so.17 gloox-1.0.20_1

1
srcpkgs/gloox-devel Symbolic link
View File

@ -0,0 +1 @@
gloox

View File

@ -0,0 +1,21 @@
--- src/connectiontcpserver.cpp.orig 2017-02-21 13:32:58.000000000 +0100
+++ src/connectiontcpserver.cpp 2018-01-03 08:38:57.121764510 +0100
@@ -51,7 +51,7 @@
#endif
#include <cstdlib>
-#include <string>
+#include <string.h>
#ifndef _WIN32_WCE
# include <sys/types.h>
--- src/dns.cpp.orig 2017-02-21 13:32:58.000000000 +0100
+++ src/dns.cpp 2018-01-03 08:36:12.832722565 +0100
@@ -22,6 +22,7 @@
#endif
#include <stdio.h>
+#include <string.h>
#if ( !defined( _WIN32 ) && !defined( _WIN32_WCE ) ) || defined( __SYMBIAN32__ )
# include <netinet/in.h>

25
srcpkgs/gloox/template Normal file
View File

@ -0,0 +1,25 @@
# Template file for 'gloox'
pkgname=gloox
version=1.0.20
revision=1
build_style=gnu-configure
makedepends="zlib-devel"
depends="zlib"
short_desc="The Portable XMPP Engine"
maintainer="Wilson Birney <wpb@360scada.com>"
license="GPL-3"
homepage="https://camaya.net/gloox/"
distfiles="https://camaya.net/download/gloox-${version}.tar.bz2"
checksum=0243086c0f4f0440d6d8e55705f83249a4463a1d75a034be42b5312e8886dea8
gloox-devel_package() {
depends="${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/bin/gloox-config
vmove usr/include
vmove usr/lib/*.so
vmove usr/lib/*.a
vmove usr/lib/pkgconfig
}
}