mplayer: Use 'modify-phases'.
* gnu/packages/video.scm (mplayer)[arguments]: Use 'modify-phases'. [source]: Use https. [home-page]: Use https.
This commit is contained in:
parent
778a6a8bf0
commit
ebde7c7a9b
1 changed files with 6 additions and 7 deletions
|
|
@ -608,7 +608,7 @@ treaming protocols.")
|
||||||
(source (origin
|
(source (origin
|
||||||
(method url-fetch)
|
(method url-fetch)
|
||||||
(uri (string-append
|
(uri (string-append
|
||||||
"http://www.mplayerhq.hu/MPlayer/releases/MPlayer-"
|
"https://www.mplayerhq.hu/MPlayer/releases/MPlayer-"
|
||||||
version ".tar.xz"))
|
version ".tar.xz"))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
|
|
@ -652,8 +652,8 @@ treaming protocols.")
|
||||||
(arguments
|
(arguments
|
||||||
`(#:tests? #f ; no test target
|
`(#:tests? #f ; no test target
|
||||||
#:phases
|
#:phases
|
||||||
(alist-replace
|
(modify-phases %standard-phases
|
||||||
'configure
|
(replace 'configure
|
||||||
;; configure does not work followed by "SHELL=..." and
|
;; configure does not work followed by "SHELL=..." and
|
||||||
;; "CONFIG_SHELL=..."; set environment variables instead
|
;; "CONFIG_SHELL=..."; set environment variables instead
|
||||||
(lambda* (#:key inputs outputs #:allow-other-keys)
|
(lambda* (#:key inputs outputs #:allow-other-keys)
|
||||||
|
|
@ -667,7 +667,7 @@ treaming protocols.")
|
||||||
"./configure"
|
"./configure"
|
||||||
(string-append "--extra-cflags=-I"
|
(string-append "--extra-cflags=-I"
|
||||||
libx11 "/include") ; to detect libx11
|
libx11 "/include") ; to detect libx11
|
||||||
"--disable-ffmpeg_a" ; disables bundled ffmpeg
|
"--disable-ffmpeg_a" ; disables bundled ffmpeg
|
||||||
(string-append "--prefix=" out)
|
(string-append "--prefix=" out)
|
||||||
;; Enable runtime cpu detection where supported,
|
;; Enable runtime cpu detection where supported,
|
||||||
;; and choose a suitable target.
|
;; and choose a suitable target.
|
||||||
|
|
@ -686,9 +686,8 @@ treaming protocols.")
|
||||||
(or (%current-target-system)
|
(or (%current-target-system)
|
||||||
(nix-system->gnu-triplet
|
(nix-system->gnu-triplet
|
||||||
(%current-system)))))))
|
(%current-system)))))))
|
||||||
"--disable-iwmmxt"))))
|
"--disable-iwmmxt"))))))))
|
||||||
%standard-phases)))
|
(home-page "https://www.mplayerhq.hu/design7/news.html")
|
||||||
(home-page "http://www.mplayerhq.hu/design7/news.html")
|
|
||||||
(synopsis "Audio and video player")
|
(synopsis "Audio and video player")
|
||||||
(description "MPlayer is a movie player. It plays most MPEG/VOB, AVI,
|
(description "MPlayer is a movie player. It plays most MPEG/VOB, AVI,
|
||||||
Ogg/OGM, VIVO, ASF/WMA/WMV, QT/MOV/MP4, RealMedia, Matroska, NUT,
|
Ogg/OGM, VIVO, ASF/WMA/WMV, QT/MOV/MP4, RealMedia, Matroska, NUT,
|
||||||
|
|
|
||||||
Reference in a new issue