gnu: Add wine64.

* gnu/packages/wine.scm (wine64): New variable.

Signed-off-by: Danny Milosavljevic <dannym@scratchpost.org>
This commit is contained in:
Rutger Helling 2017-06-16 13:36:58 +02:00 committed by Danny Milosavljevic
parent 3f56740d72
commit b3ebd24162
No known key found for this signature in database
GPG Key ID: E71A35542C30BAA5
1 changed files with 20 additions and 0 deletions

View File

@ -147,3 +147,23 @@ integrate Windows applications into your desktop.")
;; It really only supports IA32, but building on x86_64 will have the same ;; It really only supports IA32, but building on x86_64 will have the same
;; effect as building on i686 anyway. ;; effect as building on i686 anyway.
(supported-systems '("i686-linux" "x86_64-linux")))) (supported-systems '("i686-linux" "x86_64-linux"))))
(define-public wine64
(package
(inherit wine)
(name "wine64")
(arguments
`(#:configure-flags
(list "--enable-win64"
(string-append "LDFLAGS=-Wl,-rpath=" %output "/lib64"))
,@(strip-keyword-arguments '(#:configure-flags #:system)
(package-arguments wine))))
(synopsis "Implementation of the Windows API (64-bit version)")
(description
"Wine (originally an acronym for \"Wine Is Not an Emulator\") is a
compatibility layer capable of running Windows applications. Instead of
simulating internal Windows logic like a virtual machine or emulator, Wine
translates Windows API calls into POSIX calls on-the-fly, eliminating the
performance and memory penalties of other methods and allowing you to cleanly
integrate Windows applications into your desktop. This is the 64-bit version.")
(supported-systems '("x86_64-linux"))))