public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Andrew Savchenko" <bircoph@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] dev/bircoph:master commit in: media-video/mplayer/
Date: Sun, 31 Jul 2016 07:29:37 +0000 (UTC)	[thread overview]
Message-ID: <1469950111.e8a40328c5aac42f3ae503338637fb0baad2953c.bircoph@gentoo> (raw)

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


             reply	other threads:[~2016-07-31  7:29 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-07-31  7:29 Andrew Savchenko [this message]
  -- strict thread matches above, loose matches on Subject: below --
2016-07-30 18:34 [gentoo-commits] dev/bircoph:master commit in: media-video/mplayer/ Andrew Savchenko
2016-07-30 18:22 Andrew Savchenko
2016-05-28 10:47 Andrew Savchenko

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1469950111.e8a40328c5aac42f3ae503338637fb0baad2953c.bircoph@gentoo \
    --to=bircoph@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox