gnu: Switch to using the version-major procedure.

* gnu/packages/audio.scm (ardour)[arguments]: Switch to using version-major.
  (hmmer)[source]: Switch to using version-major.
  (pidgin)[native-search-paths]: Switch to using version-major.
  (r-minimal)[source]: Switch to using version-major.
This commit is contained in:
Christopher Baines 2017-12-01 07:58:24 +00:00
parent 47dc9a0dae
commit 9cf5f134d5
No known key found for this signature in database
GPG Key ID: 5E28A33B0B84F577
4 changed files with 4 additions and 4 deletions

View File

@ -222,7 +222,7 @@ namespace ARDOUR { const char* revision = \"" version "\" ; }")))))
(modify-phases %standard-phases (modify-phases %standard-phases
(add-after (add-after
'unpack 'set-rpath-in-LDFLAGS 'unpack 'set-rpath-in-LDFLAGS
,(ardour-rpath-phase (version-prefix version 1)))) ,(ardour-rpath-phase (version-major version))))
#:test-target "test" #:test-target "test"
#:python ,python-2)) #:python ,python-2))
(inputs (inputs

View File

@ -2917,7 +2917,7 @@ indexing scheme is called a @dfn{Hierarchical Graph FM index} (HGFM).")
(method url-fetch) (method url-fetch)
(uri (string-append (uri (string-append
"http://eddylab.org/software/hmmer" "http://eddylab.org/software/hmmer"
(version-prefix version 1) "/" (version-major version) "/"
version "/hmmer-" version ".tar.gz")) version "/hmmer-" version ".tar.gz"))
(sha256 (sha256
(base32 (base32

View File

@ -387,7 +387,7 @@ authentication.")
(list (search-path-specification (list (search-path-specification
(variable "PURPLE_PLUGIN_PATH") (variable "PURPLE_PLUGIN_PATH")
(files (list (string-append "lib/purple-" (files (list (string-append "lib/purple-"
(version-prefix version 1)) (version-major version))
"lib/pidgin"))))) "lib/pidgin")))))
(home-page "http://www.pidgin.im/") (home-page "http://www.pidgin.im/")
(synopsis "Graphical multi-protocol instant messaging client") (synopsis "Graphical multi-protocol instant messaging client")

View File

@ -114,7 +114,7 @@ be output in text, PostScript, PDF or HTML.")
(source (origin (source (origin
(method url-fetch) (method url-fetch)
(uri (string-append "mirror://cran/src/base/R-" (uri (string-append "mirror://cran/src/base/R-"
(version-prefix version 1) "/R-" (version-major version) "/R-"
version ".tar.gz")) version ".tar.gz"))
(sha256 (sha256
(base32 (base32