summary refs log tree commit diff
path: root/gnu/packages/wine.scm
diff options
context:
space:
mode:
authorNicolas Goaziou <mail@nicolasgoaziou.fr>2020-03-03 17:26:37 +0100
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2020-03-03 17:26:37 +0100
commitd8104034bce470c5bbf929f53844124b09e9ea73 (patch)
tree7ee80952aab2336b7ceaa41eaf5ac0bc0b4b59df /gnu/packages/wine.scm
parentc06c7a3aec38471dae3fb88f64558921003b2590 (diff)
downloadguix-d8104034bce470c5bbf929f53844124b09e9ea73.tar.gz
gnu: wine: Update to 5.3.
* gnu/packages/wine.scm (wine): Update to 5.3.
[native-inputs]: Re-order inputs alphabetically.
Diffstat (limited to 'gnu/packages/wine.scm')
-rw-r--r--gnu/packages/wine.scm25
1 files changed, 15 insertions, 10 deletions
diff --git a/gnu/packages/wine.scm b/gnu/packages/wine.scm
index 5eb813350b..27de43aa25 100644
--- a/gnu/packages/wine.scm
+++ b/gnu/packages/wine.scm
@@ -76,21 +76,26 @@
 (define-public wine
   (package
     (name "wine")
-    (version "5.0")
+    (version "5.3")
     (source
      (origin
        (method url-fetch)
-       (uri (string-append "https://dl.winehq.org/wine/source/"
-                           (version-major+minor version)
-                           "/wine-" version ".tar.xz"))
+       (uri (let ((dir (string-append
+                        (version-major version)
+                        (if (string-suffix? ".0" (version-major+minor version))
+                            ".0/"
+                            ".x/")))))
+            (string-append "https://dl.winehq.org/wine/source/" dir
+                           "wine-" version ".tar.xz"))
        (sha256
-        (base32 "1d0kcy338radq07hrnzcpc9lc9j2fvzjh37q673002x8d6x5058q"))))
+        (base32 "1pkzj3656ad0vmc7ciwfzn45lb2kxwbyymfwnqaa105dicicf6wv"))))
     (build-system gnu-build-system)
-    (native-inputs `(("pkg-config" ,pkg-config)
-                     ("gettext" ,gettext-minimal)
-                     ("flex" ,flex)
-                     ("bison" ,bison)
-                     ("perl" ,perl)))
+    (native-inputs
+     `(("bison" ,bison)
+       ("flex" ,flex)
+       ("gettext" ,gettext-minimal)
+       ("perl" ,perl)
+       ("pkg-config" ,pkg-config)))
     (inputs
      `(("alsa-lib" ,alsa-lib)
        ("dbus" ,dbus)