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 EA39F138330 for ; Mon, 3 Oct 2016 19:30:59 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 057DFE0B41; Mon, 3 Oct 2016 19:30:57 +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 DBCA2E0B41 for ; Mon, 3 Oct 2016 19:30:56 +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 165B8340EAD for ; Mon, 3 Oct 2016 19:30:55 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 7356B2480 for ; Mon, 3 Oct 2016 19:30:53 +0000 (UTC) From: "Patrice Clement" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Patrice Clement" Message-ID: <1475523032.febae70ca6acbe25ae39768b434a7cbc3ea67e0e.monsieurp@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: media-video/obs-studio/ X-VCS-Repository: repo/gentoo X-VCS-Files: media-video/obs-studio/obs-studio-9999.ebuild X-VCS-Directories: media-video/obs-studio/ X-VCS-Committer: monsieurp X-VCS-Committer-Name: Patrice Clement X-VCS-Revision: febae70ca6acbe25ae39768b434a7cbc3ea67e0e X-VCS-Branch: master Date: Mon, 3 Oct 2016 19:30:53 +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: c8be221e-6a13-4e10-a0e4-cefbccab2e40 X-Archives-Hash: 6627913b17d6b9d3cd4fa97448f4bb73 commit: febae70ca6acbe25ae39768b434a7cbc3ea67e0e Author: Jimi Huotari gentoo org> AuthorDate: Sat Oct 1 21:16:31 2016 +0000 Commit: Patrice Clement gentoo org> CommitDate: Mon Oct 3 19:30:32 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=febae70c media-video/obs-studio: Adjust 9999-dependencies and 'postinst' phase. Depend on 'media-video/ffmpeg:=[x264]' instead of the two packages separately, and add 'net-misc/curl' as a potential missing required dependency. Additionally, display more information about optional features depending on optional packages, should they be missing. Package-Manager: portage-2.3.1 Closes: https://github.com/gentoo/gentoo/pull/2448 Signed-off-by: Patrice Clement gentoo.org> media-video/obs-studio/obs-studio-9999.ebuild | 29 +++++++++++++++++++++++---- 1 file changed, 25 insertions(+), 4 deletions(-) diff --git a/media-video/obs-studio/obs-studio-9999.ebuild b/media-video/obs-studio/obs-studio-9999.ebuild index 738501d..678d13d 100644 --- a/media-video/obs-studio/obs-studio-9999.ebuild +++ b/media-video/obs-studio/obs-studio-9999.ebuild @@ -34,8 +34,8 @@ DEPEND=" dev-qt/qttest:5 dev-qt/qtwidgets:5 dev-qt/qtx11extras:5 - media-libs/x264:= - media-video/ffmpeg:= + media-video/ffmpeg:=[x264] + net-misc/curl x11-libs/libXcomposite x11-libs/libXinerama x11-libs/libXrandr @@ -77,7 +77,28 @@ src_configure() { pkg_postinst() { if ! use alsa && ! use pulseaudio; then - elog "To be able to use the audio capture features, either the" - elog "'alsa' or the 'pulseaudio' USE-flag needs to be enabled." + elog + elog "For the audio capture features to be available," + elog "either the 'alsa' or the 'pulseaudio' USE-flag needs to" + elog "be enabled." + elog + fi + + if ! has_version "sys-apps/dbus"; then + elog + elog "The 'sys-apps/dbus' package is not installed, but" + elog "could be used for disabling hibernating, screensaving," + elog "and sleeping. Where it is not installed," + elog "'xdg-screensaver reset' is used instead" + elog "(if 'x11-misc/xdg-utils' is installed)." + elog + fi + + if ! has_version "media-libs/speex"; then + elog + elog "For the speexdsp-based noise suppression filter" + elog "to be available, the 'media-libs/speex' package needs" + elog "to be installed." + elog fi }