diff options
author | Eray Aslan <eras@gentoo.org> | 2012-04-18 08:53:12 +0000 |
---|---|---|
committer | Eray Aslan <eras@gentoo.org> | 2012-04-18 08:53:12 +0000 |
commit | bcebe843e52a10ec0b07dcd6996749e8da05c74a (patch) | |
tree | 8a0706175927f54a56ecea0374e76d1287fa982a /dev-libs/libverto | |
parent | Depend on gkrellm[X], thanks Piotr Szymaniak in bug #408641. Remove old version (diff) | |
download | historical-bcebe843e52a10ec0b07dcd6996749e8da05c74a.tar.gz historical-bcebe843e52a10ec0b07dcd6996749e8da05c74a.tar.bz2 historical-bcebe843e52a10ec0b07dcd6996749e8da05c74a.zip |
initial commit
Package-Manager: portage-2.1.10.56/cvs/Linux x86_64
Diffstat (limited to 'dev-libs/libverto')
-rw-r--r-- | dev-libs/libverto/ChangeLog | 10 | ||||
-rw-r--r-- | dev-libs/libverto/Manifest | 24 | ||||
-rw-r--r-- | dev-libs/libverto/libverto-0.2.4.ebuild | 60 | ||||
-rw-r--r-- | dev-libs/libverto/metadata.xml | 15 |
4 files changed, 109 insertions, 0 deletions
diff --git a/dev-libs/libverto/ChangeLog b/dev-libs/libverto/ChangeLog new file mode 100644 index 000000000000..0a7e5a0e944d --- /dev/null +++ b/dev-libs/libverto/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for dev-libs/libverto +# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/libverto/ChangeLog,v 1.1 2012/04/18 08:53:12 eras Exp $ + +*libverto-0.2.4 (18 Apr 2012) + + 18 Apr 2012; Eray Aslan <eras@gentoo.org> +libverto-0.2.4.ebuild, + +metadata.xml: + initial commit + diff --git a/dev-libs/libverto/Manifest b/dev-libs/libverto/Manifest new file mode 100644 index 000000000000..2cd3786801e1 --- /dev/null +++ b/dev-libs/libverto/Manifest @@ -0,0 +1,24 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA256 + +DIST libverto-0.2.4.tar.gz 341895 RMD160 e4ec68286e5cd04169da72a33145b49154b8155e SHA1 6d8426ac8b5a6351d7e1568f85dbb93414feed86 SHA256 36499ea1195d9185f005a74186eaddb3ad878400a5329e6d4bd76dd0faaaffbb +EBUILD libverto-0.2.4.ebuild 1618 RMD160 343ea2500dc115eb486016c46cac441e492e7209 SHA1 7fe74d0209f1b7c76ced33d693f4ec088bd3426b SHA256 081bebf90712d65c0d0089addbf7e82fdebd6773ca2d47eda0f24d69911a2aaf +MISC ChangeLog 339 RMD160 5abaa5f2df0450fc9a81ccb6902130b8c02329a3 SHA1 2734a17a7a3c422a4826f9ef96766f071e2d1905 SHA256 ce0be2dd911b65cab78b8f97634c274a72eecaa3d5752803f3917c7c7ea8957f +MISC metadata.xml 1066 RMD160 fd4dbf19b09d58afe55a57e44a0b84d27dbd7e67 SHA1 8489eadf0299080664a496b4707bcb66654b5c0e SHA256 cff7b9bbaa4ec4aadb9786aed96b931270a9194508d2db03df4fbdc572371013 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2.0.19 (GNU/Linux) + +iQIcBAEBCAAGBQJPjoEHAAoJEHfx8XVYajsfkJoP/Rjokb9Lb+zJ3C6gOyK5NTRY +6tHxpsujX2XdY66l8KKpWq03Mw0UWOu9xUbnOyVkGovXA+VR7xQeQq8yd0MNYvVO +/TOBQFp9mPadwPdXQ3fA3or/DA78pc6mXvigknQzR/Zs96NQvJfSau7oDMuu+8R9 +72PeyYuVCx3dCExvHGwdnIW3/traSTpAhC3rwjVc/AH8kJnG/xDvyUqkywH40MI/ +sT1u18CSHo79mYHb22BIiFgvvn0XOiEU+LqmhdmCpd2t3LZxxpIymQ4HWkKM9iIj +woPzDckGVlctlGYaDXKQ16JLtu78+jqxkH31RkL8cD32HT8U5jy0DxwoR/QrCWT6 +1uUc54LqpzRMniOBMoSvC2YGF1DclLLmeIG5qVndRfjR79/flbAgNhfjkr2q9v3J +97JpIP8GK6Vpalz6S3Gg+Jyk7+QibxnCPrA0xPP97VE/HlSgC9o1N5Tiuns/y108 +OxJo0CL9jZD+Tovhx6+p8/z4TD+jn6PrXCmK/TeBe2I6i/SgEaCG+Bysh+N2yYPw +xVgbpOlxDX4Pqhvc2oyl1TOgM6kehY3rfDzwPjnwoVNf+/YotBUDyEbOl0hoO7zM +OZSql6H7aqaGCUlTlbFLS+SVg6snjl0faIqmLN6IKHdFNjcX2JdUv+JoJsihcVRC +wnoyAFJ4SBQDpfvHR9N+ +=1oGp +-----END PGP SIGNATURE----- diff --git a/dev-libs/libverto/libverto-0.2.4.ebuild b/dev-libs/libverto/libverto-0.2.4.ebuild new file mode 100644 index 000000000000..632266713d1c --- /dev/null +++ b/dev-libs/libverto/libverto-0.2.4.ebuild @@ -0,0 +1,60 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/libverto/libverto-0.2.4.ebuild,v 1.1 2012/04/18 08:53:12 eras Exp $ + +EAPI=4 +inherit autotools + +DESCRIPTION="Main event loop abstraction library" +HOMEPAGE="https://fedorahosted.org/libverto/" +SRC_URI="https://fedorahosted.org/releases/l/i/libverto/${P}.tar.gz" + +LICENSE="as-is" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="glib +libev libevent tevent +threads static-libs" + +# file collisions +DEPEND="!=app-crypt/mit-krb5-1.10.1-r0 + !=app-crypt/mit-krb5-1.10.1-r1 + !=app-crypt/mit-krb5-1.10.1-r2 + glib? ( >=dev-libs/glib-2.29 ) + libev? ( >=dev-libs/libev-4.11 ) + libevent? ( >=dev-libs/libevent-2.0 ) + tevent? ( sys-libs/tevent )" + +RDEPEND="${DEPEND}" + +REQUIRED_USE="|| ( glib libev libevent tevent ) " + +src_prepare() { + if ! use static-libs; then + sed -i -e 's/libverto.a/libverto.so/' tests/Makefile.{am,in} || die + fi + sed -i -e '/^AC_CHECK_LIB/i PKG_PROG_PKG_CONFIG' configure.ac || die + + # known problem uptream with tevent write test. tevent does not fire a + # callback on error, but we explicitly test for this behaviour. Do not run + # tevent tests for now. + sed -i -e 's/def HAVE_TEVENT/ 0/' tests/test.h || die + + eautoreconf +} + +src_configure() { + econf \ + $(use_with glib) \ + $(use_with libev) \ + $(use_with libevent) \ + $(use_with tevent) \ + $(use_with threads pthread) \ + $(use_enable static-libs static) +} + +src_install() { + emake DESTDIR="${D}" install + + dodoc AUTHORS ChangeLog NEWS INSTALL README + + use static-libs || find "${D}" -name '*.la' -delete +} diff --git a/dev-libs/libverto/metadata.xml b/dev-libs/libverto/metadata.xml new file mode 100644 index 000000000000..be9b560036fc --- /dev/null +++ b/dev-libs/libverto/metadata.xml @@ -0,0 +1,15 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<longdescription lang="en">Many applications and libraries are unable to write asynchronous code because they are unable to pick an event loop. This is particularly true of libraries who want to be useful to many applications who use loops that do not integrate with one another or which use home-grown loops. libverto provides a loop-neutral async api which allows the library to expose asynchronous interfaces and offload the choice of the main loop to the application.</longdescription> +<maintainer> + <email>eras@gentoo.org</email> + <name>Eray Aslan</name> +</maintainer> +<use> + <flag name="glib">Support event loops using <pkg>dev-libs/glib</pkg></flag> + <flag name="libev">Support event loops using <pkg>dev-libs/libev</pkg></flag> + <flag name="libevent">Support event loops using <pkg>dev-libs/libevent</pkg></flag> + <flag name="tevent">Support event loops using <pkg>sys-libs/tevent</pkg></flag> +</use> +</pkgmetadata> |