--- a/ffmpeg-0.7.1.ebuild +++ a/ffmpeg-0.7.1.ebuild @@ -31,7 +31,7 @@ fi IUSE=" +3dnow +3dnowext aac alsa altivec amr avx bindist +bzip2 celt cpudetection custom-cflags debug dirac doc +encode faac frei0r gsm +hardcoded-tables - ieee1394 jack jpeg2k +mmx +mmxext mp3 network oss pic qt-faststart rtmp + ieee1394 jack jpeg2k +mmx +mmxext mp3 neon network oss pic qt-faststart rtmp schroedinger sdl speex +ssse3 static-libs test theora threads truetype v4l v4l2 vaapi vdpau vorbis vpx X x264 xvid +zlib " @@ -163,6 +163,10 @@ src_configure() { use jpeg2k && myconf="${myconf} --enable-libopenjpeg" # CPU features + + if [[ $(tc-arch) == "arm" ]] ; then + use neon && myconf="${myconf} --enable-neon --disable-armvfp" + fi for i in mmx ssse3 altivec avx ; do use ${i} || myconf="${myconf} --disable-${i}" done --- a/ffmpeg-0.8.ebuild +++ a/ffmpeg-0.8.ebuild @@ -31,7 +31,7 @@ fi IUSE=" +3dnow +3dnowext aac alsa altivec amr avx bindist +bzip2 celt cpudetection custom-cflags debug dirac doc +encode faac frei0r gsm +hardcoded-tables - ieee1394 jack jpeg2k +mmx +mmxext mp3 network oss pic qt-faststart rtmp + ieee1394 jack jpeg2k +mmx +mmxext mp3 neon network oss pic qt-faststart rtmp schroedinger sdl speex +ssse3 static-libs test theora threads truetype v4l v4l2 vaapi vdpau vorbis vpx X x264 xvid +zlib " @@ -163,6 +163,9 @@ src_configure() { use jpeg2k && myconf="${myconf} --enable-libopenjpeg" # CPU features + if [[ $(tc-arch) == "arm" ]] ; then + use neon && myconf="${myconf} --enable-neon --disable-armvfp" + fi for i in mmx ssse3 altivec avx ; do use ${i} || myconf="${myconf} --disable-${i}" done --- a/ffmpeg-9999.ebuild +++ a/ffmpeg-9999.ebuild @@ -31,7 +31,7 @@ fi IUSE=" +3dnow +3dnowext aac alsa altivec amr avx bindist +bzip2 celt cpudetection debug dirac doc +encode faac frei0r gsm +hardcoded-tables ieee1394 jack - jpeg2k +mmx +mmxext mp3 network openal oss pic qt-faststart rtmp + jpeg2k +mmx +mmxext mp3 neon network openal oss pic qt-faststart rtmp schroedinger sdl speex +ssse3 static-libs test theora threads truetype v4l v4l2 vaapi vdpau vorbis vpx X x264 xvid +zlib " @@ -148,6 +148,9 @@ src_configure() { use jpeg2k && myconf="${myconf} --enable-libopenjpeg" # CPU features + if [[ $(tc-arch) == "arm" ]] ; then + use neon && myconf="${myconf} --enable-neon --disable-armvfp" + fi for i in mmx ssse3 altivec avx ; do use ${i} || myconf="${myconf} --disable-${i}" done