gnu: mplayer: Enable use of NEON on armhf.
* gnu/packages/video.scm (mplayer)[arguments]: Remove "--disable-neon" from arguments passed to configure.master
parent
46472ecd00
commit
3a286b9594
|
@ -658,7 +658,6 @@ treaming protocols.")
|
||||||
(or (%current-target-system)
|
(or (%current-target-system)
|
||||||
(nix-system->gnu-triplet
|
(nix-system->gnu-triplet
|
||||||
(%current-system)))))))
|
(%current-system)))))))
|
||||||
"--disable-neon"
|
|
||||||
"--disable-iwmmxt"))))
|
"--disable-iwmmxt"))))
|
||||||
%standard-phases)))
|
%standard-phases)))
|
||||||
(home-page "http://www.mplayerhq.hu/design7/news.html")
|
(home-page "http://www.mplayerhq.hu/design7/news.html")
|
||||||
|
@ -898,23 +897,6 @@ projects while introducing many more.")
|
||||||
(zero? (system* "./configure"
|
(zero? (system* "./configure"
|
||||||
"--enable-shared"
|
"--enable-shared"
|
||||||
"--as=yasm"
|
"--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)))))
|
(string-append "--prefix=" out)))))
|
||||||
%standard-phases)
|
%standard-phases)
|
||||||
#:tests? #f)) ; no check target
|
#:tests? #f)) ; no check target
|
||||||
|
|
Reference in New Issue