all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Pierre Neidhardt <mail@ambrevar.xyz>
To: 35031@debbugs.gnu.org
Subject: [bug#35031] [PATCH] gnu: Add dxvk.
Date: Thu, 28 Mar 2019 16:57:07 +0100	[thread overview]
Message-ID: <20190328155707.22856-1-mail@ambrevar.xyz> (raw)

* 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 <rhelling@mykolab.com>
 ;;; Copyright © 2017 Nicolas Goaziou <mail@nicolasgoaziou.fr>
 ;;; Copyright © 2018 Tobias Geerinckx-Rice <me@tobias.gr>
+;;; Copyright © 2019 Pierre Neidhardt <mail@ambrevar.xyz>
 ;;;
 ;;; 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

             reply	other threads:[~2019-03-28 16:09 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-03-28 15:57 Pierre Neidhardt [this message]
     [not found] ` <handler.35031.B.155378933031679.ack@debbugs.gnu.org>
2019-03-28 17:17   ` [bug#35031] Acknowledgement ([PATCH] gnu: Add dxvk.) Pierre Neidhardt
2019-03-28 17:20     ` Pierre Neidhardt
2019-03-28 17:38       ` Pierre Neidhardt
2019-10-30 15:32         ` Pierre Neidhardt

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20190328155707.22856-1-mail@ambrevar.xyz \
    --to=mail@ambrevar.xyz \
    --cc=35031@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.