From 9a5226a1e999c322e13f6838460cefd10c761599 Mon Sep 17 00:00:00 2001 From: Alexey Shvetsov Date: Thu, 17 Jul 2014 14:56:01 +0400 Subject: 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(+) create mode 100644 net-libs/toxcore/metadata.xml create mode 100644 net-libs/toxcore/toxcore-9999.ebuild 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 @@ + + + + + alexxy@gentoo.org + Alexey Shvetsov + + + Adds support for audio and video. + Enables logging, useful for debugging. + Enable the DHT Bootstrap Daemon + + 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 +} -- cgit v1.2.3-65-gdbad