From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id D047B1394A3 for ; Fri, 28 Oct 2016 08:00:12 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 0285CE08B8; Fri, 28 Oct 2016 08:00:11 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id C76F5E08B8 for ; Fri, 28 Oct 2016 08:00:10 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 08AAC341440 for ; Fri, 28 Oct 2016 08:00:09 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id C11A8301 for ; Fri, 28 Oct 2016 08:00:01 +0000 (UTC) From: "Daniel Campbell" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Daniel Campbell" Message-ID: <1477641526.93f1ff22265f65a700fd788b3a5b0c3b27c41fbf.zlg@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-im/toxic/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-im/toxic/Manifest net-im/toxic/metadata.xml net-im/toxic/toxic-0.7.1.ebuild X-VCS-Directories: net-im/toxic/ X-VCS-Committer: zlg X-VCS-Committer-Name: Daniel Campbell X-VCS-Revision: 93f1ff22265f65a700fd788b3a5b0c3b27c41fbf X-VCS-Branch: master Date: Fri, 28 Oct 2016 08:00:01 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: ae466db1-16fd-4e4e-a5d7-ea964b44e22a X-Archives-Hash: adf4997b56107ca15fcaba23b7f73d8b commit: 93f1ff22265f65a700fd788b3a5b0c3b27c41fbf Author: Daniel Campbell gentoo org> AuthorDate: Fri Oct 28 07:58:46 2016 +0000 Commit: Daniel Campbell gentoo org> CommitDate: Fri Oct 28 07:58:46 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=93f1ff22 net-im/toxic: new package Package-Manager: portage-2.3.2 net-im/toxic/Manifest | 1 + net-im/toxic/metadata.xml | 22 +++++++++++++++++++ net-im/toxic/toxic-0.7.1.ebuild | 48 +++++++++++++++++++++++++++++++++++++++++ 3 files changed, 71 insertions(+) diff --git a/net-im/toxic/Manifest b/net-im/toxic/Manifest new file mode 100644 index 00000000..ecea0ac --- /dev/null +++ b/net-im/toxic/Manifest @@ -0,0 +1 @@ +DIST toxic-0.7.1.tar.gz 1137112 SHA256 414ca2cd369e277872c7248c43f82afa0ac2f6c8fa5fc8e93f7c3e8ab6d11b9c SHA512 c304b07a67ed27a25394590eb8759b5dd957605be4eb9e64590d4580da0977e1cd201e8b95ae1b31e995772560510ceb0643028696e2df69e1f5d0dff575b553 WHIRLPOOL 228193bb78bf38bd5f5f5ff371a87f12561edcb5729337b58198df36e5ec55b99f2c2ca84f5b471846e7f84445f1c5181c5fa71ff287f62d5e34f833a45747d6 diff --git a/net-im/toxic/metadata.xml b/net-im/toxic/metadata.xml new file mode 100644 index 00000000..4032c88 --- /dev/null +++ b/net-im/toxic/metadata.xml @@ -0,0 +1,22 @@ + + + + + zlg@gentoo.org + Daniel Campbell + + + + jfreegman@tox.chat + JFreegman + + jfreegman/toxic + + + An ncurses-based Tox client written in C. Supports audio calling, file sharing, and desktop notifications. + + + Enables desktop notifications with libnotify + Enables audio calling and/or audio notifications + + diff --git a/net-im/toxic/toxic-0.7.1.ebuild b/net-im/toxic/toxic-0.7.1.ebuild new file mode 100644 index 00000000..f4e6509 --- /dev/null +++ b/net-im/toxic/toxic-0.7.1.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 + +DESCRIPTION="A curses-based client for Tox." +HOMEPAGE="https://github.com/JFreegman/toxic" +SRC_URI="https://github.com/JFreegman/toxic/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="+X +av notifications" + +RDEPEND=" + net-libs/tox[av?] + dev-libs/libconfig + media-gfx/qrencode + net-misc/curl + sys-libs/ncurses:0= + av? ( media-libs/openal media-libs/freealut ) + notifications? ( x11-libs/libnotify ) +" +DEPEND="${RDEPEND}" + +src_configure() { + if ! use av; then + export DISABLE_AV=1 + export DISABLE_SOUND_NOTIFY=1 + fi + if ! use X; then + export DISABLE_X11=1 + fi + if ! use notifications; then + export DISABLE_DESKTOP_NOTIFY=1 + fi + sed -i \ + -e "s,/usr/local,${EPREFIX}/usr,g" \ + cfg/global_vars.mk || die "PREFIX sed failed" +} + +src_install() { + default + if ! use av; then + rm -r "${ED%/}"/usr/share/${PN}/sounds || die "Could not remove sound dir" + fi +}