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 5FEE8139694 for ; Fri, 24 Feb 2017 01:06:36 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id F377621C096; Fri, 24 Feb 2017 01:06:32 +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 CFC8521C096 for ; Fri, 24 Feb 2017 01:06:32 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (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 64C3234170B for ; Fri, 24 Feb 2017 01:06:31 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 5DD0B5266 for ; Fri, 24 Feb 2017 01:06:29 +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: <1487898358.fb2addc500dcfa1c7f7125aaaf63145a47a69a19.zlg@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-im/toxic/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-im/toxic/toxic-0.7.2-r1.ebuild X-VCS-Directories: net-im/toxic/ X-VCS-Committer: zlg X-VCS-Committer-Name: Daniel Campbell X-VCS-Revision: fb2addc500dcfa1c7f7125aaaf63145a47a69a19 X-VCS-Branch: master Date: Fri, 24 Feb 2017 01:06:29 +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: b60742e9-a086-4631-b2c9-4d024a2b6b19 X-Archives-Hash: fe9f0c0df44b3521c60c2fe4a32fee35 commit: fb2addc500dcfa1c7f7125aaaf63145a47a69a19 Author: Daniel Campbell gentoo org> AuthorDate: Fri Feb 24 01:05:58 2017 +0000 Commit: Daniel Campbell gentoo org> CommitDate: Fri Feb 24 01:05:58 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fb2addc5 net-im/toxic: correct dependency wrt bug 610570 Gentoo-Bug: 610570 Gentoo-Bug-URL: https://bugs.gentoo.org/610570 Package-Manager: Portage-2.3.3, Repoman-2.3.1 net-im/toxic/toxic-0.7.2-r1.ebuild | 48 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 48 insertions(+) diff --git a/net-im/toxic/toxic-0.7.2-r1.ebuild b/net-im/toxic/toxic-0.7.2-r1.ebuild new file mode 100644 index 0000000000..27b588f589 --- /dev/null +++ b/net-im/toxic/toxic-0.7.2-r1.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2017 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/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="+X +av notifications" + +RDEPEND=" + net-libs/tox:0/0.1[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 +}