public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
Search results ordered by [date|relevance]  view[summary|nested|Atom feed]
thread overview below | download mbox.gz: |
* [gentoo-commits] dev/bircoph:master commit in: media-video/mplayer/
@ 2016-07-31  7:29 99% Andrew Savchenko
  0 siblings, 0 replies; 1+ results
From: Andrew Savchenko @ 2016-07-31  7:29 UTC (permalink / raw
  To: gentoo-commits

commit:     e8a40328c5aac42f3ae503338637fb0baad2953c
Author:     Andrew Savchenko <bircoph <AT> gentoo <DOT> org>
AuthorDate: Sun Jul 31 07:28:31 2016 +0000
Commit:     Andrew Savchenko <bircoph <AT> gentoo <DOT> org>
CommitDate: Sun Jul 31 07:28:31 2016 +0000
URL:        https://gitweb.gentoo.org/dev/bircoph.git/commit/?id=e8a40328

media-video/mplayer: more fixes

- Revert to EAPI 5, ebuild, and subversion eclass are not ready.
- Fix CPU USE flags.

 media-video/mplayer/mplayer-9999.ebuild | 12 ++++++++----
 1 file changed, 8 insertions(+), 4 deletions(-)

diff --git a/media-video/mplayer/mplayer-9999.ebuild b/media-video/mplayer/mplayer-9999.ebuild
index 93b8232..9ca88f2 100644
--- a/media-video/mplayer/mplayer-9999.ebuild
+++ b/media-video/mplayer/mplayer-9999.ebuild
@@ -2,11 +2,11 @@
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
-EAPI=6
+EAPI=5
 
 ESVN_REPO_URI="svn://svn.mplayerhq.hu/mplayer/trunk"
 
-inherit flag-o-matic git-r3 multilib subversion toolchain-funcs ${SVN_ECLASS}
+inherit flag-o-matic git-2 multilib subversion toolchain-funcs ${SVN_ECLASS}
 
 IUSE="cpu_flags_x86_3dnow cpu_flags_x86_3dnowext +a52 aalib +alsa altivec amr aqua bidi bindist bl bluray
 bs2b cddb +cdio cdparanoia cpudetection debug dga +dirac
@@ -226,7 +226,7 @@ src_unpack() {
 	subversion_src_unpack
 	cd "${WORKDIR}"
 	rm -rf "${WORKDIR}/${P}/ffmpeg/"
-	( S="${WORKDIR}/${P}/ffmpeg/" git-r3_src_unpack )
+	( S="${WORKDIR}/${P}/ffmpeg/" git-2_src_unpack )
 
 	if ! use truetype; then
 		unpack font-arial-iso-8859-1.tar.bz2 \
@@ -470,7 +470,11 @@ src_configure() {
 	# Platform specific flags, hardcoded on amd64 (see below)
 	use cpudetection && myconf+=" --enable-runtime-cpudetection"
 
-	uses="3dnow 3dnowext altivec mmx mmxext shm sse sse2 ssse3"
+	uses="3dnow 3dnowext mmx mmxext sse sse2 ssse3"
+	for i in ${uses}; do
+		myconf+=" $(use_enable cpu_flags_x86_${i} ${i})"
+	done
+	uses="altivec shm"
 	for i in ${uses}; do
 		myconf+=" $(use_enable ${i})"
 	done


^ permalink raw reply related	[relevance 99%]

Results 1-1 of 1 | reverse | options above
-- pct% links below jump to the message on this page, permalinks otherwise --
2016-07-31  7:29 99% [gentoo-commits] dev/bircoph:master commit in: media-video/mplayer/ Andrew Savchenko

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox