From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-853904-garchives=archives.gentoo.org@lists.gentoo.org>
Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80])
	by finch.gentoo.org (Postfix) with ESMTP id 0DC801384B4
	for <garchives@archives.gentoo.org>; Mon, 28 Dec 2015 14:07:19 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id C7BB921C01B;
	Mon, 28 Dec 2015 14:07:17 +0000 (UTC)
Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183])
	(using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits))
	(No client certificate requested)
	by pigeon.gentoo.org (Postfix) with ESMTPS id F2F1D21C004
	for <gentoo-commits@lists.gentoo.org>; Mon, 28 Dec 2015 14:07:16 +0000 (UTC)
Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84])
	(using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits))
	(No client certificate requested)
	by smtp.gentoo.org (Postfix) with ESMTPS id 46C3433FD3F
	for <gentoo-commits@lists.gentoo.org>; Mon, 28 Dec 2015 14:07:16 +0000 (UTC)
Received: from localhost.localdomain (localhost [127.0.0.1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id 84BF9CF1
	for <gentoo-commits@lists.gentoo.org>; Mon, 28 Dec 2015 13:27:46 +0000 (UTC)
From: "Ian Delaney" <idella4@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Content-Transfer-Encoding: 8bit
Content-type: text/plain; charset=UTF-8
Reply-To: gentoo-dev@lists.gentoo.org, "Ian Delaney" <idella4@gentoo.org>
Message-ID: <1451306830.a993763078abb7ebb777d8865005c4f4a1d81521.idella4@gentoo>
Subject: [gentoo-commits] repo/gentoo:master commit in: media-video/mpv/
X-VCS-Repository: repo/gentoo
X-VCS-Files: media-video/mpv/mpv-9999.ebuild
X-VCS-Directories: media-video/mpv/
X-VCS-Committer: idella4
X-VCS-Committer-Name: Ian Delaney
X-VCS-Revision: a993763078abb7ebb777d8865005c4f4a1d81521
X-VCS-Branch: master
Date: Mon, 28 Dec 2015 13:27:46 +0000 (UTC)
Precedence: bulk
List-Post: <mailto:gentoo-commits@lists.gentoo.org>
List-Help: <mailto:gentoo-commits+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org>
X-BeenThere: gentoo-commits@lists.gentoo.org
X-Archives-Salt: 940aab18-75bf-48ca-8503-a787a37a8913
X-Archives-Hash: 6c009f722ec697e2c2a587859ce5ec3b

commit:     a993763078abb7ebb777d8865005c4f4a1d81521
Author:     Ilya Tumaykin <itumaykin <AT> gmail <DOT> com>
AuthorDate: Tue Dec 22 16:54:06 2015 +0000
Commit:     Ian Delaney <idella4 <AT> gentoo <DOT> org>
CommitDate: Mon Dec 28 12:47:10 2015 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a9937630

media-video/mpv: adjust libsdl2 dependency

Similar idea was submitted by Vindex17 in PR #318.

Though libsdl2 is listed under audio outputs in configure script,
it actually handles both audio and video outputs. Thus video and sound
USE flags should be enabled for libsdl2. We also want X or wayland USE
flag enabled for libsdl2, so mpv can create a window to render in.

Package-Manager: portage-2.2.24

 media-video/mpv/mpv-9999.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/media-video/mpv/mpv-9999.ebuild b/media-video/mpv/mpv-9999.ebuild
index 34d50db..178cd86 100644
--- a/media-video/mpv/mpv-9999.ebuild
+++ b/media-video/mpv/mpv-9999.ebuild
@@ -83,7 +83,7 @@ COMMON_DEPEND="
 	pulseaudio? ( media-sound/pulseaudio )
 	rubberband? ( >=media-libs/rubberband-1.8.0 )
 	samba? ( net-fs/samba )
-	sdl? ( media-libs/libsdl2[threads] )
+	sdl? ( media-libs/libsdl2[sound,threads,video,X?,wayland?] )
 	v4l? ( media-libs/libv4l )
 	wayland? (
 		>=dev-libs/wayland-1.6.0
@@ -193,7 +193,7 @@ src_configure() {
 		$(usex luajit '--lua=luajit' '')
 
 		# Audio outputs
-		$(use_enable sdl sdl2)	# SDL output is fallback for platforms where nothing better is available
+		$(use_enable sdl sdl2)	# Listed under audio, but also includes video
 		--disable-sdl1
 		$(use_enable oss oss-audio)
 		--disable-rsound		# Only available in overlays