summaryrefslogtreecommitdiff
path: root/net-libs/libgadu
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /net-libs/libgadu
reinit the tree, so we can have metadata
Diffstat (limited to 'net-libs/libgadu')
-rw-r--r--net-libs/libgadu/Manifest12
-rw-r--r--net-libs/libgadu/files/libgadu-1.12.0-tests.patch12
-rw-r--r--net-libs/libgadu/libgadu-1.11.4.ebuild67
-rw-r--r--net-libs/libgadu/libgadu-1.12.0.ebuild76
-rw-r--r--net-libs/libgadu/libgadu-1.12.1.ebuild76
-rw-r--r--net-libs/libgadu/libgadu-1.12.2.ebuild72
-rw-r--r--net-libs/libgadu/metadata.xml11
7 files changed, 326 insertions, 0 deletions
diff --git a/net-libs/libgadu/Manifest b/net-libs/libgadu/Manifest
new file mode 100644
index 000000000000..a4a4c436e868
--- /dev/null
+++ b/net-libs/libgadu/Manifest
@@ -0,0 +1,12 @@
+AUX libgadu-1.12.0-tests.patch 453 SHA256 b4e844c701ab956d4b8fa6ed16b03235510f51c5c634238c8fd43d2da0cbc82f SHA512 e024677ac361675e02518c692c9ecf2b1ea2a74fba3ed55506c67f70c911821421128214691487b09a8c315776f11afe5390135afcc7c33e04175f419ee69b39 WHIRLPOOL 1f4f27caa8943500dad229329cb311b5062e8bd10299ca289a7a80b21471e6f8d79039b9807be6e85a51a7602ea6c1e947b925dc0556dc1cdfb11d1599f25b4c
+DIST libgadu-1.11.4.tar.gz 210937 SHA256 95d445a6fefa7b9c7af2f552f090cf6760e3fc7b5c563ec563f11a9fe1f408d5 SHA512 3fc8e414470864eb953d6d0d7dc6071679907c435d76e05a0b95a2e58365fc795427679f893d337dbf9896611a6bf68047c36806b977643cf4a773d930916639 WHIRLPOOL 4f13869f871e1a57f9aeccb9530c222960bee515065090a72a141d4a3212493df9007af7494598a26ee86a7e0cde18c8fd1b253024944b71538ca93bc94640f0
+DIST libgadu-1.12.0.tar.gz 290361 SHA256 536862af3beeeb9a3d17bc73c880204200a8aa1e1cbbf97e01486e024b955037 SHA512 62d1db0e0a59ce7e9a27a2002eea26e69b476a5bddeec129ec6e37d6141dc74e51b177a2cacd232031253d19d223f20ae68df1981f1f673485447950a0bc6670 WHIRLPOOL 1d4cf9634dc652368ce79f276f61a48faae7759d874f906c10e0fce24b0ff76542bfa0df632eb715536c5e775352c180422cca94dfcfae9ebb5b85cbc87409c5
+DIST libgadu-1.12.1.tar.gz 296079 SHA256 15a2c017274ab69b05919b1f4c1bbcec0ceab46cbe1024c5fcce63c58c660310 SHA512 4786bcc517dcead278fed05c35e254d963ee42f029b09a59bfe01052cbe438fa4a0d86c17dcfa2ee39d2365f28864f887d28772a5e70ce2ece190714bec45590 WHIRLPOOL dffc9439bf5bb79dbd3fec276535004c05d885f75649824c8538f155512869a558cf6760ae7e2329032f66cab6ec53463d9a30ce164c92d7a76e779c2ac3a6b8
+DIST libgadu-1.12.2.tar.gz 298884 SHA256 f53e703d7ad93ce222dbf7fc0cec77f62813af38817a3678e799e91f1c69c94d SHA512 d3b4fde94327ef312b1df668b8eb73fea9325c9258d85aa65e2746b73f00c2606ebe23f3330493a135a0fec1d0f24988f0cec607d4d899d880853ee8bf60e677 WHIRLPOOL 149569096dc810bcc9307c6b6d4ccf31d2f458f23d83ae6a73dcdd6e5d488c24640771a7f8130303c87148d94a8d7e245b1c2fd0af928d1b8f55993c3d5efc78
+EBUILD libgadu-1.11.4.ebuild 1299 SHA256 654f02cb336c2b2323d9704318ee939694b0d071a4b09483b2be6f00f92da574 SHA512 77fce206ce7324e7a10b6c7e1c4e49fcc3815b3c4442ff9ba1b80460fef971f487aaf6504cbeb4f2162e912f87d565f052f5e859d22806bd122cace801a969bb WHIRLPOOL 59f1356c7cd55b5e2fa290ce69755aa55e3648b377c12bc17827033cb17db30e7a3dbb0744583940f1e315bce3a345f238ebc0c1c1b6d3f483702fdbf1bfc3ce
+EBUILD libgadu-1.12.0.ebuild 1421 SHA256 95176a82e882c693acbc7abde6840424363e0581d52dca79c34f79955ac45c9d SHA512 1601544bbd6e29c6c134bdb7e2e94e4dafce2b845d6e5d13bdb6ab2f955b718bb90b91217c2c42460834997be3d0c216e8df4a3ea84ec0ed0ff1257aa868add0 WHIRLPOOL d0bdb3bc974f2d160fb07318a0ccfb1dff03b8b6eb12dd4cafd8281ee413e9ed3a6ab2ff7b67d5e16661e4330b1db3f1cea40476b4603da9e0a5693f8eb188a2
+EBUILD libgadu-1.12.1.ebuild 1435 SHA256 164f59eb6e47fe77e280a2a62546f2e15912a796d1b8b9801119e7259879f198 SHA512 6a2f97e833816e212202b8e21a45fe9505371e4c1060670000fffc9ac77852baefb729dc46f2431b9e63acbc4759caebcbfdec650e84a7c0e32d8252314e8531 WHIRLPOOL b10c08a5a9d71bb667b26a1df94acd5ab820a56038ef72879dc03445c27fa541c506ac98c3f225146e845a54aa86668537004f80de69268ae0ae61251f5ee14e
+EBUILD libgadu-1.12.2.ebuild 1394 SHA256 34aff6474d5dad70de5ef4dfe59eff1766d38f0224667edc368df463b5bfa09e SHA512 180cb5fbf375ecf8979906b28cd561d4dd3e800aadc4ae53de01c99fd72c90e9f28d2eee10d7555fed11ebbcdf68661af6062f6f23e818930699ea065998222b WHIRLPOOL 32e01ac7e5d7dcd8fe6d36beca0800a0b6fe2902418e4c978f29eb106b442791ef069dd2dd66f1303a29382170435644fa855d1e458bff52cf910860d6a8a1e7
+MISC ChangeLog 2757 SHA256 f49af3bbf56e607c0a4a740b35e1c312e067bae0e11c5df4a91f3dd35117ecf7 SHA512 094fb0f06c34e376eb068a9d785697d93281043df5489c92a7687d41084b9b436c7798b0e45690accf73a817877986869e304e53b6112c47c1ee5b12716150bf WHIRLPOOL d619fb08dcbe5d93405b381bb8bb096336434b53a76520ff85748976f65e5316d53fdc937a79b49d81004f4b301395fed5a56ed41dc031a73bc888f32561c4da
+MISC ChangeLog-2015 12520 SHA256 25ef3868fd4e3b60ba5c215a794b3466b9094cee007a156f6864df00163fa9a3 SHA512 5da546a3480a3bd2002b125e5a1f2a53ade688c2dccecadf954e6b96b86b34f6ecf2dbffa89b74c743905722fb5f2506597fa2512dfae98979823685c752a23d WHIRLPOOL 71416570823b5967cbfce0ec1be2f0ae92aa69673c33aaa8490df3f0b47e85b487ff9c81a421d78c0bba862d0d56e2f1160e0b34dd6d80b3756d9cc99e042816
+MISC metadata.xml 332 SHA256 c6d72dfad4da1d6a3bcc78fbb7b69c02f0f21e6c9f00a5fe50394378523f9e26 SHA512 1b4a93d0fce0c628f5e85500c8f325423c961cb755eac978627abbdb039cd56de08b48afcc443b0a52b84c1ea82fe75758770dcfa0efe7639a530ee80262135e WHIRLPOOL 7e7fd708808783744970ded844cdd23945db329ba6c08a9265fafa7115ebe4f4dc2a0007f3949d3c4248c77e0a443218e90d619b8cdee8cff880b53d091ff40e
diff --git a/net-libs/libgadu/files/libgadu-1.12.0-tests.patch b/net-libs/libgadu/files/libgadu-1.12.0-tests.patch
new file mode 100644
index 000000000000..56e1da45b096
--- /dev/null
+++ b/net-libs/libgadu/files/libgadu-1.12.0-tests.patch
@@ -0,0 +1,12 @@
+diff -ruN libgadu-1.12.0/test/manual/lib/base64.c my/test/manual/lib/base64.c
+--- libgadu-1.12.0/test/manual/lib/base64.c 2014-06-13 20:41:37.000000000 +0200
++++ my/test/manual/lib/base64.c 2014-08-13 03:08:00.612006311 +0200
+@@ -30,7 +30,7 @@
+ #include <openssl/bio.h>
+ #include <openssl/buffer.h>
+
+-char *gg_base64_encode(const char *input, ssize_t len)
++char *gg_base64_encode2(const char *input, ssize_t len)
+ {
+ BIO *bmem, *b64;
+ BUF_MEM *bptr;
diff --git a/net-libs/libgadu/libgadu-1.11.4.ebuild b/net-libs/libgadu/libgadu-1.11.4.ebuild
new file mode 100644
index 000000000000..7c85cae4fd94
--- /dev/null
+++ b/net-libs/libgadu/libgadu-1.11.4.ebuild
@@ -0,0 +1,67 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+AUTOTOOLS_AUTORECONF=1
+
+inherit autotools-utils
+
+DESCRIPTION="This library implements the client side of the Gadu-Gadu protocol"
+HOMEPAGE="http://toxygen.net/libgadu/"
+SRC_URI="https://github.com/wojtekka/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+# Bug 373215, last checked 2012.01.28
+RESTRICT="test"
+
+LICENSE="LGPL-2.1"
+KEYWORDS="alpha amd64 arm ia64 ~mips ppc ppc64 sparc x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos"
+SLOT="0"
+IUSE="doc gnutls ssl static-libs threads"
+
+REQUIRED_USE="
+ gnutls? ( ssl )
+"
+COMMON_DEPEND="
+ sys-libs/zlib
+ ssl? (
+ gnutls? ( net-libs/gnutls )
+ !gnutls? ( >=dev-libs/openssl-0.9.6m )
+ )
+"
+DEPEND="${COMMON_DEPEND}
+ doc? ( app-doc/doxygen )
+"
+RDEPEND="${COMMON_DEPEND}
+ !=net-im/kadu-0.6.0.2
+ !=net-im/kadu-0.6.0.1
+"
+
+AUTOTOOLS_IN_SOURCE_BUILD=1
+
+DOCS=(AUTHORS ChangeLog NEWS README)
+
+src_configure() {
+ local myeconfargs=(
+ $(use_with threads pthread)
+ )
+
+ if use ssl; then
+ myeconfargs+=(
+ $(use_with gnutls gnutls)
+ $(use_with !gnutls openssl)
+ )
+ else
+ myeconfargs+=(
+ --without-gnutls
+ --without-openssl
+ )
+ fi
+
+ autotools-utils_src_configure
+}
+
+src_install() {
+ use doc && HTML_DOCS=(docs/html/)
+ autotools-utils_src_install
+}
diff --git a/net-libs/libgadu/libgadu-1.12.0.ebuild b/net-libs/libgadu/libgadu-1.12.0.ebuild
new file mode 100644
index 000000000000..1448b9f64340
--- /dev/null
+++ b/net-libs/libgadu/libgadu-1.12.0.ebuild
@@ -0,0 +1,76 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+AUTOTOOLS_AUTORECONF=1
+
+inherit autotools-utils
+
+DESCRIPTION="This library implements the client side of the Gadu-Gadu protocol"
+HOMEPAGE="http://toxygen.net/libgadu/"
+SRC_URI="https://github.com/wojtekka/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="LGPL-2.1"
+KEYWORDS="~amd64 ~arm ~mips ~ppc ~ppc64 ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos"
+SLOT="0"
+IUSE="doc gnutls ssl static-libs test threads"
+
+REQUIRED_USE="
+ gnutls? ( ssl )
+"
+COMMON_DEPEND="
+ >=dev-libs/protobuf-c-0.15
+ sys-libs/zlib
+ ssl? (
+ gnutls? ( net-libs/gnutls )
+ !gnutls? ( >=dev-libs/openssl-0.9.6m )
+ )
+"
+DEPEND="${COMMON_DEPEND}
+ doc? ( app-doc/doxygen )
+ test? (
+ dev-libs/expat
+ dev-libs/libxml2:2
+ net-misc/curl
+ )
+"
+RDEPEND="${COMMON_DEPEND}
+ !=net-im/kadu-0.6.0.2
+ !=net-im/kadu-0.6.0.1
+"
+
+AUTOTOOLS_IN_SOURCE_BUILD=1
+
+PATCHES=(
+ "${FILESDIR}/${P}-tests.patch"
+)
+
+DOCS=(AUTHORS ChangeLog NEWS README)
+
+src_configure() {
+ local myeconfargs=(
+ --with-protobuf
+ $(use_enable test tests)
+ $(use_with threads pthread)
+ )
+
+ if use ssl; then
+ myeconfargs+=(
+ $(use_with gnutls gnutls)
+ $(use_with !gnutls openssl)
+ )
+ else
+ myeconfargs+=(
+ --without-gnutls
+ --without-openssl
+ )
+ fi
+
+ autotools-utils_src_configure
+}
+
+src_install() {
+ use doc && HTML_DOCS=(docs/html/)
+ autotools-utils_src_install
+}
diff --git a/net-libs/libgadu/libgadu-1.12.1.ebuild b/net-libs/libgadu/libgadu-1.12.1.ebuild
new file mode 100644
index 000000000000..bde28ad49fc6
--- /dev/null
+++ b/net-libs/libgadu/libgadu-1.12.1.ebuild
@@ -0,0 +1,76 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+AUTOTOOLS_AUTORECONF=1
+
+inherit autotools-utils
+
+DESCRIPTION="This library implements the client side of the Gadu-Gadu protocol"
+HOMEPAGE="http://toxygen.net/libgadu/"
+SRC_URI="https://github.com/wojtekka/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="LGPL-2.1"
+KEYWORDS="amd64 arm ia64 ~mips ppc ppc64 sparc x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos"
+SLOT="0"
+IUSE="doc gnutls ssl static-libs test threads"
+
+REQUIRED_USE="
+ gnutls? ( ssl )
+"
+COMMON_DEPEND="
+ >=dev-libs/protobuf-c-0.15
+ sys-libs/zlib
+ ssl? (
+ gnutls? ( net-libs/gnutls )
+ !gnutls? ( >=dev-libs/openssl-0.9.6m )
+ )
+"
+DEPEND="${COMMON_DEPEND}
+ doc? ( app-doc/doxygen )
+ test? (
+ dev-libs/expat
+ dev-libs/libxml2:2
+ net-misc/curl
+ )
+"
+RDEPEND="${COMMON_DEPEND}
+ !=net-im/kadu-0.6.0.2
+ !=net-im/kadu-0.6.0.1
+"
+
+AUTOTOOLS_IN_SOURCE_BUILD=1
+
+PATCHES=(
+ "${FILESDIR}/${PN}-1.12.0-tests.patch"
+)
+
+DOCS=(AUTHORS ChangeLog NEWS README)
+
+src_configure() {
+ local myeconfargs=(
+ --with-protobuf
+ $(use_enable test tests)
+ $(use_with threads pthread)
+ )
+
+ if use ssl; then
+ myeconfargs+=(
+ $(use_with gnutls gnutls)
+ $(use_with !gnutls openssl)
+ )
+ else
+ myeconfargs+=(
+ --without-gnutls
+ --without-openssl
+ )
+ fi
+
+ autotools-utils_src_configure
+}
+
+src_install() {
+ use doc && HTML_DOCS=(docs/html/)
+ autotools-utils_src_install
+}
diff --git a/net-libs/libgadu/libgadu-1.12.2.ebuild b/net-libs/libgadu/libgadu-1.12.2.ebuild
new file mode 100644
index 000000000000..6864f7ad5739
--- /dev/null
+++ b/net-libs/libgadu/libgadu-1.12.2.ebuild
@@ -0,0 +1,72 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+AUTOTOOLS_AUTORECONF=1
+
+inherit autotools-utils
+
+DESCRIPTION="This library implements the client side of the Gadu-Gadu protocol"
+HOMEPAGE="http://toxygen.net/libgadu/"
+SRC_URI="https://github.com/wojtekka/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="LGPL-2.1"
+KEYWORDS="~amd64 ~arm ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos"
+SLOT="0"
+IUSE="doc gnutls ssl static-libs test threads"
+
+REQUIRED_USE="
+ gnutls? ( ssl )
+"
+COMMON_DEPEND="
+ >=dev-libs/protobuf-c-1.0.0
+ sys-libs/zlib
+ ssl? (
+ gnutls? ( net-libs/gnutls:0 )
+ !gnutls? ( >=dev-libs/openssl-0.9.6m:0 )
+ )
+"
+DEPEND="${COMMON_DEPEND}
+ doc? ( app-doc/doxygen )
+ test? (
+ dev-libs/expat
+ dev-libs/libxml2:2
+ net-misc/curl
+ )
+"
+RDEPEND="${COMMON_DEPEND}
+ !=net-im/kadu-0.6.0.2
+ !=net-im/kadu-0.6.0.1
+"
+
+AUTOTOOLS_IN_SOURCE_BUILD=1
+
+DOCS=(AUTHORS ChangeLog NEWS README)
+
+src_configure() {
+ local myeconfargs=(
+ --with-protobuf
+ $(use_enable test tests)
+ $(use_with threads pthread)
+ )
+
+ if use ssl; then
+ myeconfargs+=(
+ $(use_with gnutls gnutls)
+ $(use_with !gnutls openssl)
+ )
+ else
+ myeconfargs+=(
+ --without-gnutls
+ --without-openssl
+ )
+ fi
+
+ autotools-utils_src_configure
+}
+
+src_install() {
+ use doc && HTML_DOCS=(docs/html/)
+ autotools-utils_src_install
+}
diff --git a/net-libs/libgadu/metadata.xml b/net-libs/libgadu/metadata.xml
new file mode 100644
index 000000000000..8a8b311634f6
--- /dev/null
+++ b/net-libs/libgadu/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>reavertm@gentoo.org</email>
+ <name>Maciej Mrozowski</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="github">wojtekka/libgadu</remote-id>
+ </upstream>
+</pkgmetadata>