1 |
commit: e8a40328c5aac42f3ae503338637fb0baad2953c |
2 |
Author: Andrew Savchenko <bircoph <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Jul 31 07:28:31 2016 +0000 |
4 |
Commit: Andrew Savchenko <bircoph <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Jul 31 07:28:31 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/dev/bircoph.git/commit/?id=e8a40328 |
7 |
|
8 |
media-video/mplayer: more fixes |
9 |
|
10 |
- Revert to EAPI 5, ebuild, and subversion eclass are not ready. |
11 |
- Fix CPU USE flags. |
12 |
|
13 |
media-video/mplayer/mplayer-9999.ebuild | 12 ++++++++---- |
14 |
1 file changed, 8 insertions(+), 4 deletions(-) |
15 |
|
16 |
diff --git a/media-video/mplayer/mplayer-9999.ebuild b/media-video/mplayer/mplayer-9999.ebuild |
17 |
index 93b8232..9ca88f2 100644 |
18 |
--- a/media-video/mplayer/mplayer-9999.ebuild |
19 |
+++ b/media-video/mplayer/mplayer-9999.ebuild |
20 |
@@ -2,11 +2,11 @@ |
21 |
# Distributed under the terms of the GNU General Public License v2 |
22 |
# $Id$ |
23 |
|
24 |
-EAPI=6 |
25 |
+EAPI=5 |
26 |
|
27 |
ESVN_REPO_URI="svn://svn.mplayerhq.hu/mplayer/trunk" |
28 |
|
29 |
-inherit flag-o-matic git-r3 multilib subversion toolchain-funcs ${SVN_ECLASS} |
30 |
+inherit flag-o-matic git-2 multilib subversion toolchain-funcs ${SVN_ECLASS} |
31 |
|
32 |
IUSE="cpu_flags_x86_3dnow cpu_flags_x86_3dnowext +a52 aalib +alsa altivec amr aqua bidi bindist bl bluray |
33 |
bs2b cddb +cdio cdparanoia cpudetection debug dga +dirac |
34 |
@@ -226,7 +226,7 @@ src_unpack() { |
35 |
subversion_src_unpack |
36 |
cd "${WORKDIR}" |
37 |
rm -rf "${WORKDIR}/${P}/ffmpeg/" |
38 |
- ( S="${WORKDIR}/${P}/ffmpeg/" git-r3_src_unpack ) |
39 |
+ ( S="${WORKDIR}/${P}/ffmpeg/" git-2_src_unpack ) |
40 |
|
41 |
if ! use truetype; then |
42 |
unpack font-arial-iso-8859-1.tar.bz2 \ |
43 |
@@ -470,7 +470,11 @@ src_configure() { |
44 |
# Platform specific flags, hardcoded on amd64 (see below) |
45 |
use cpudetection && myconf+=" --enable-runtime-cpudetection" |
46 |
|
47 |
- uses="3dnow 3dnowext altivec mmx mmxext shm sse sse2 ssse3" |
48 |
+ uses="3dnow 3dnowext mmx mmxext sse sse2 ssse3" |
49 |
+ for i in ${uses}; do |
50 |
+ myconf+=" $(use_enable cpu_flags_x86_${i} ${i})" |
51 |
+ done |
52 |
+ uses="altivec shm" |
53 |
for i in ${uses}; do |
54 |
myconf+=" $(use_enable ${i})" |
55 |
done |