gnu: wine: Add stable release.

* gnu/packages/wine.scm (wine): Refer to stable release instead of development
  one.
(wine-next): New variable.
This commit is contained in:
Nicolas Goaziou 2017-07-03 18:10:11 +02:00
parent 85cfbd46ce
commit f6444059dd
No known key found for this signature in database
GPG Key ID: A834B9E080A93738
1 changed files with 18 additions and 3 deletions

View File

@ -55,14 +55,14 @@
(define-public wine (define-public wine
(package (package
(name "wine") (name "wine")
(version "2.11") (version "2.0.1")
(source (origin (source (origin
(method url-fetch) (method url-fetch)
(uri (string-append "https://dl.winehq.org/wine/source/2.x" (uri (string-append "https://dl.winehq.org/wine/source/2.0"
"/wine-" version ".tar.xz")) "/wine-" version ".tar.xz"))
(sha256 (sha256
(base32 (base32
"0g6cwjyqwc660w33453aklh3hpc0b8rrb88dryn23ah6wannvagg")))) "10qm0xxqzvl4y3mhvaxcaacrcs8d5kdz5wf0gbxpmp36wnm4xyvc"))))
(build-system gnu-build-system) (build-system gnu-build-system)
(native-inputs `(("pkg-config" ,pkg-config) (native-inputs `(("pkg-config" ,pkg-config)
("gettext" ,gettext-minimal) ("gettext" ,gettext-minimal)
@ -159,3 +159,18 @@ integrate Windows applications into your desktop.")
(package-arguments wine)))) (package-arguments wine))))
(synopsis "Implementation of the Windows API (64-bit version)") (synopsis "Implementation of the Windows API (64-bit version)")
(supported-systems '("x86_64-linux")))) (supported-systems '("x86_64-linux"))))
;; TODO: This is wine development version, provided for historical reasons.
;; We can remove it as soon as a new stable release is out.
(define-public wine-next
(package (inherit wine)
(name "wine-next")
(version "2.11")
(source (origin
(method url-fetch)
(uri (string-append "https://dl.winehq.org/wine/source/2.x"
"/wine-" version ".tar.xz"))
(sha256
(base32
"0g6cwjyqwc660w33453aklh3hpc0b8rrb88dryn23ah6wannvagg"))))))