gnu: mplayer: Enable use of NEON on armhf.

* gnu/packages/video.scm (mplayer)[arguments]: Remove "--disable-neon" from
  arguments passed to configure.
This commit is contained in:
Mark H Weaver 2015-07-10 14:54:30 -04:00
parent 46472ecd00
commit 3a286b9594

View file

@ -658,7 +658,6 @@ (define-public mplayer
(or (%current-target-system)
(nix-system->gnu-triplet
(%current-system)))))))
"--disable-neon"
"--disable-iwmmxt"))))
%standard-phases)))
(home-page "http://www.mplayerhq.hu/design7/news.html")
@ -898,23 +897,6 @@ (define-public libvpx
(zero? (system* "./configure"
"--enable-shared"
"--as=yasm"
,@(if (and (not (%current-target-system))
(string-prefix?
"armhf-"
(%current-system)))
;; When building on ARMv7, libvpx
;; assumes that NEON will be
;; available. On Guix, armhf
;; does not require NEON, so we
;; build for ARMv6 and -marm (since
;; no thumb2 on ARMv6) to ensure
;; compatibility with all ARMv7
;; cores we support. Based on
;; the Debian libvpx package.
'("--target=armv6-linux-gcc"
"--extra-cflags=-marm"
"--enable-small")
'())
(string-append "--prefix=" out)))))
%standard-phases)
#:tests? #f)) ; no check target