From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1QwA6E-0000Bz-82 for garchives@archives.gentoo.org; Wed, 24 Aug 2011 09:50:18 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 6937121C0BA; Wed, 24 Aug 2011 09:50:09 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 276C221C0BA for ; Wed, 24 Aug 2011 09:50:09 +0000 (UTC) Received: from pelican.gentoo.org (unknown [66.219.59.40]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 58F351B4015 for ; Wed, 24 Aug 2011 09:50:08 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by pelican.gentoo.org (Postfix) with ESMTP id A214280040 for ; Wed, 24 Aug 2011 09:50:07 +0000 (UTC) From: "Michał Górny" To: gentoo-commits@lists.gentoo.org Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michał Górny" Message-ID: <4bfbc741d09d83b4a574978685a2010e4b27e58c.mgorny@gentoo> Subject: [gentoo-commits] proj/x11:master commit in: media-libs/mesa/ X-VCS-Repository: proj/x11 X-VCS-Files: media-libs/mesa/mesa-9999.ebuild X-VCS-Directories: media-libs/mesa/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 4bfbc741d09d83b4a574978685a2010e4b27e58c Date: Wed, 24 Aug 2011 09:50:07 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: quoted-printable X-Archives-Salt: X-Archives-Hash: 0deedcd8ce70a063cca4a975289a39b1 commit: 4bfbc741d09d83b4a574978685a2010e4b27e58c Author: Micha=C5=82 G=C3=B3rny gentoo org> AuthorDate: Wed Aug 24 09:51:39 2011 +0000 Commit: Micha=C5=82 G=C3=B3rny gentoo org> CommitDate: Wed Aug 24 09:51:39 2011 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=3Dproj/x11.git;a=3Dc= ommit;h=3D4bfbc741 media-libs/mesa: Scare Radeon users without libtxc_dxtn that they want to= install it. (Portage version: 2.2.0_alpha51_p9/git/Linux x86_64, RepoMan options: --f= orce, signed Manifest commit with key 42B9401D) --- media-libs/mesa/mesa-9999.ebuild | 14 ++++++++++++++ 1 files changed, 14 insertions(+), 0 deletions(-) diff --git a/media-libs/mesa/mesa-9999.ebuild b/media-libs/mesa/mesa-9999= .ebuild index 5553c5c..66abc32 100644 --- a/media-libs/mesa/mesa-9999.ebuild +++ b/media-libs/mesa/mesa-9999.ebuild @@ -392,6 +392,20 @@ pkg_postinst() { elog "USE=3D\"bindist\" was not set. Potentially patent encumbered cod= e was" elog "enabled. Please see patents.txt for an explanation." fi + + local using_radeon r_flag + for r_flag in ${RADEON_CARDS}; do + if use video_cards_${r_flag}; then + using_radeon=3D1 + break + fi + done + + if [[ ${using_radeon} =3D 1 ]] && ! has_version media-libs/libtxc_dxtn;= then + elog "Note that in order to have full S3TC support, it is necessary to= install" + elog "media-libs/libtxc_dxtn as well. This may be necessary to get nic= e" + elog "textures in some apps, and some others even require this to run.= " + fi } =20 # $1 - VIDEO_CARDS flag