gnu: Add wine-minimal.

* gnu/packages/wine.scm (wine-minimal): New variable.
This commit is contained in:
Rutger Helling 2019-01-24 09:13:11 +01:00
parent af83d59ed5
commit a5466f38c1
No known key found for this signature in database
GPG key ID: F3A727DB44FCCA36

View file

@ -66,7 +66,8 @@ (define-module (gnu packages wine)
#:use-module (gnu packages vulkan) #:use-module (gnu packages vulkan)
#:use-module (gnu packages xml) #:use-module (gnu packages xml)
#:use-module (gnu packages xorg) #:use-module (gnu packages xorg)
#:use-module (ice-9 match)) #:use-module (ice-9 match)
#:use-module (srfi srfi-1))
(define-public wine (define-public wine
(package (package
@ -224,6 +225,23 @@ (define-public wine64
(synopsis "Implementation of the Windows API (WoW64 version)") (synopsis "Implementation of the Windows API (WoW64 version)")
(supported-systems '("x86_64-linux" "aarch64-linux")))) (supported-systems '("x86_64-linux" "aarch64-linux"))))
;; This minimal build of Wine is needed to prevent a circular dependency with
;; vkd3d.
(define-public wine-minimal
(package
(inherit wine)
(name "wine-minimal")
(native-inputs (fold alist-delete (package-native-inputs wine)
'("gettext" "perl" "pkg-config")))
(inputs `())
(arguments
`(#:validate-runpath? #f
#:configure-flags
(list "--without-freetype"
"--without-x")
,@(strip-keyword-arguments '(#:configure-flags)
(package-arguments wine))))))
(define-public wine-staging-patchset-data (define-public wine-staging-patchset-data
(package (package
(name "wine-staging-patchset-data") (name "wine-staging-patchset-data")