From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 3C97F1384B4 for ; Mon, 28 Dec 2015 14:07:41 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id E263921C02D; Mon, 28 Dec 2015 14:07:24 +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 8677321C02D for ; Mon, 28 Dec 2015 14:07:24 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 18DCF3405C3 for ; Mon, 28 Dec 2015 14:07:18 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id B80E6D05 for ; Mon, 28 Dec 2015 13:27:47 +0000 (UTC) From: "Ian Delaney" 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" Message-ID: <1451306846.2c5623d06461349a05557f354bbc6bf5f4192269.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: 2c5623d06461349a05557f354bbc6bf5f4192269 X-VCS-Branch: master Date: Mon, 28 Dec 2015 13:27:47 +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: 47b72c94-6383-48dc-a887-65317c6e14e7 X-Archives-Hash: d5e27ec71c83cffd83437937443a7548 commit: 2c5623d06461349a05557f354bbc6bf5f4192269 Author: Ilya Tumaykin gmail com> AuthorDate: Tue Dec 22 19:41:01 2015 +0000 Commit: Ian Delaney gentoo org> CommitDate: Mon Dec 28 12:47:26 2015 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2c5623d0 media-video/mpv: add compiler check when vaapi is enabled with egl VAAPI + EGL combo requires Thread Local Storage C++11 feature or GNU __thread extension. Add the corresponding check for sanity. See also https://github.com/mpv-player/mpv/issues/2631 Package-Manager: portage-2.2.24 media-video/mpv/mpv-9999.ebuild | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/media-video/mpv/mpv-9999.ebuild b/media-video/mpv/mpv-9999.ebuild index 38b675a..484a1ef 100644 --- a/media-video/mpv/mpv-9999.ebuild +++ b/media-video/mpv/mpv-9999.ebuild @@ -9,7 +9,7 @@ PYTHON_REQ_USE='threads(+)' WAF_PV='1.8.12' -inherit eutils fdo-mime gnome2-utils pax-utils python-any-r1 waf-utils +inherit eutils fdo-mime gnome2-utils pax-utils python-any-r1 toolchain-funcs waf-utils DESCRIPTION="Media player based on MPlayer and mplayer2" HOMEPAGE="https://mpv.io/" @@ -124,6 +124,10 @@ RDEPEND="${COMMON_DEPEND} " pkg_pretend() { + if [[ ${MERGE_TYPE} != "binary" ]] && ! tc-has-tls && use vaapi && use egl; then + die "Your compiler lacks C++11 TLS support. Use GCC>=4.8.0 or Clang>=3.3." + fi + if ! use libass; then ewarn "You have disabled the libass support." ewarn "OSD and subtitles won't be available."