From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([209.51.188.92]:45960) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1h9XaR-0005rW-Cc for guix-patches@gnu.org; Thu, 28 Mar 2019 12:09:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1h9XaQ-0005LW-7b for guix-patches@gnu.org; Thu, 28 Mar 2019 12:09:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:49238) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1h9XaQ-0005LJ-2d for guix-patches@gnu.org; Thu, 28 Mar 2019 12:09:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1h9XaP-0008FX-OA for guix-patches@gnu.org; Thu, 28 Mar 2019 12:09:01 -0400 Subject: [bug#35031] [PATCH] gnu: Add dxvk. Resent-Message-ID: Received: from eggs.gnu.org ([209.51.188.92]:45309) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1h9Xa5-0005Os-Ac for guix-patches@gnu.org; Thu, 28 Mar 2019 12:08:42 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1h9XOy-0005Gr-0u for guix-patches@gnu.org; Thu, 28 Mar 2019 11:57:13 -0400 Received: from relay8-d.mail.gandi.net ([217.70.183.201]:56823) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1h9XOx-0005Ea-Pb for guix-patches@gnu.org; Thu, 28 Mar 2019 11:57:11 -0400 Received: from localhost.localdomain (lfbn-1-4117-19.w92-169.abo.wanadoo.fr [92.169.116.19]) (Authenticated sender: mail@ambrevar.xyz) by relay8-d.mail.gandi.net (Postfix) with ESMTPSA id EA2771BF20A for ; Thu, 28 Mar 2019 15:57:07 +0000 (UTC) From: Pierre Neidhardt Date: Thu, 28 Mar 2019 16:57:07 +0100 Message-Id: <20190328155707.22856-1-mail@ambrevar.xyz> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: 35031@debbugs.gnu.org * gnu/packages/wine.scm (dxvk): New variable. --- gnu/packages/wine.scm | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) diff --git a/gnu/packages/wine.scm b/gnu/packages/wine.scm index c7a57f5ec4..84a52a2436 100644 --- a/gnu/packages/wine.scm +++ b/gnu/packages/wine.scm @@ -5,6 +5,7 @@ ;;; Copyright © 2017, 2018, 2019 Rutger Helling ;;; Copyright © 2017 Nicolas Goaziou ;;; Copyright © 2018 Tobias Geerinckx-Rice +;;; Copyright © 2019 Pierre Neidhardt ;;; ;;; This file is part of GNU Guix. ;;; @@ -28,6 +29,7 @@ #:use-module (guix git-download) #:use-module (guix utils) #:use-module (guix build-system gnu) + #:use-module (guix build-system meson) #:use-module (guix build-system trivial) #:use-module (gnu packages) #:use-module (gnu packages admin) @@ -50,6 +52,7 @@ #:use-module (gnu packages gtk) #:use-module (gnu packages kerberos) #:use-module (gnu packages linux) + #:use-module (gnu packages mingw) #:use-module (gnu packages openldap) #:use-module (gnu packages perl) #:use-module (gnu packages pulseaudio) @@ -532,3 +535,33 @@ integrated into the main branch.") (synopsis "Implementation of the Windows API (staging branch, WoW64 version)") (supported-systems '("x86_64-linux" "aarch64-linux")))) + +(define-public dxvk + (package + (name "dxvk") + (version "1.0.1") + (home-page "https://github.com/doitsujin/dxvk/") + (source (origin + (method git-fetch) + (uri (git-reference + (url home-page) + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0ah9nnlpygb31z67fyml3qqin793jnksz8wyzy5nsiwxnlpxj90q")))) + (build-system meson-build-system) + ;; TODO: Match arch. + (arguments + `(#:configure-flags (list "--cross-file" + (string-append (assoc-ref %build-inputs "source") + "/build-wine64.txt")))) + (native-inputs + `(("mingw" ,mingw-w64) + ("glslang" ,glslang) + ("wine" ,wine64))) + (synopsis "Vulkan-based D3D11 and D3D10 implementation for Wine") + (description "A Vulkan-based translation layer for Direct3D 10/11 which +allows running 3D applications using Wine.") + (supported-systems '("i686-linux" "x86_64-linux")) + (license license:zlib))) -- 2.21.0