commit: 9a5226a1e999c322e13f6838460cefd10c761599 Author: Alexey Shvetsov <alexxy <AT> gentoo <DOT> org> AuthorDate: Thu Jul 17 10:56:01 2014 +0000 Commit: Alexey Shvetsov <alexxy <AT> gentoo <DOT> org> CommitDate: Thu Jul 17 10:56:01 2014 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=dev/alexxy.git;a=commit;h=9a5226a1
Add toxcore ebuild Package-Manager: portage-2.2.10 --- net-libs/toxcore/metadata.xml | 13 ++++++++++++ net-libs/toxcore/toxcore-9999.ebuild | 39 ++++++++++++++++++++++++++++++++++++ 2 files changed, 52 insertions(+) diff --git a/net-libs/toxcore/metadata.xml b/net-libs/toxcore/metadata.xml new file mode 100644 index 0000000..6c5a05d --- /dev/null +++ b/net-libs/toxcore/metadata.xml @@ -0,0 +1,13 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer> + <email>[email protected]</email> + <name>Alexey Shvetsov</name> + </maintainer> + <use> + <flag name="av">Adds support for audio and video.</flag> + <flag name="logging">Enables logging, useful for debugging.</flag> + <flag name="daemon">Enable the DHT Bootstrap Daemon</flag> + </use> +</pkgmetadata> diff --git a/net-libs/toxcore/toxcore-9999.ebuild b/net-libs/toxcore/toxcore-9999.ebuild new file mode 100644 index 0000000..a273e67 --- /dev/null +++ b/net-libs/toxcore/toxcore-9999.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI=5 + +inherit git-r3 autotools-utils + +AUTOTOOLS_AUTORECONF="1" + +DESCRIPTION="The future of online communications" +HOMEPAGE="https://tox.im" +SRC_URI="" +EGIT_REPO_URI=" git://github.com/irungentoo/toxcore + https://github.com/irungentoo/toxcore" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="" +IUSE="+av logging daemon static-libs" + +DEPEND=" + dev-libs/libsodium + av? ( media-libs/libvpx media-libs/opus ) + daemon? ( dev-libs/libconfig )" +RDEPEND="${DEPEND}" + +src_configure() { + local myeconfargs=( + $(use_enable av) + $(use_enable logging) + $(use_enable daemon) + $(use_enable static-libs static) + --disable-tests + --disable-testing + --program-transform-name='s:DHT_bootstrap:tox-dht-daemon:g' + ) + autotools-utils_src_configure +}
