From 3a33f2966f834d3520b03df59018e3d0295fcc69 Mon Sep 17 00:00:00 2001 From: BlackNoxis Date: Mon, 24 Aug 2015 20:45:13 +0300 Subject: [toxcore] adaugat toxcore --- net-im/utox/utox-9999.ebuild | 18 +++++++++++++----- 1 file changed, 13 insertions(+), 5 deletions(-) (limited to 'net-im/utox/utox-9999.ebuild') diff --git a/net-im/utox/utox-9999.ebuild b/net-im/utox/utox-9999.ebuild index 41676f8e..77c583a8 100644 --- a/net-im/utox/utox-9999.ebuild +++ b/net-im/utox/utox-9999.ebuild @@ -1,22 +1,23 @@ -# Copyright 1999-2014 Gentoo Foundation +# Copyright 1999-2015 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ EAPI=5 -inherit fdo-mime gnome2-utils toolchain-funcs git-2 +inherit eutils fdo-mime git-2 gnome2-utils toolchain-funcs DESCRIPTION="Lightweight Tox client" -HOMEPAGE="https://github.com/notsecure/uTox.git" +HOMEPAGE="https://github.com/notsecure/uTox" EGIT_REPO_URI="git://github.com/notsecure/uTox.git https://github.com/notsecure/uTox.git" LICENSE="GPL-3" SLOT="0" -IUSE="+dbus" +IUSE="+dbus +filter_audio" RDEPEND="net-libs/tox[av] media-libs/freetype + filter_audio? ( media-libs/libfilteraudio ) media-libs/libv4l media-libs/libvpx media-libs/openal @@ -31,6 +32,10 @@ src_prepare() { } src_configure() { + if use filter_audio && [ "${PROFILE_IS_HARDENED}" = 1 ]; then + ewarn "Building µTox with support for filter_audio using hardened profile results in" + ewarn "crash upon start. For details, see https://github.com/notsecure/uTox/issues/844" + fi # respect CFLAGS sed -i \ -e '/CFLAGS/s# -g ##' \ @@ -38,7 +43,10 @@ src_configure() { } src_compile() { - emake CC="$(tc-getCC)" DBUS=$(usex dbus "1" "0") + emake \ + CC="$(tc-getCC)" \ + DBUS=$(usex dbus "1" "0") \ + FILTER_AUDIO=$(usex filter_audio "1" "0") } src_install() { -- cgit v1.2.3