guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

03/10: gnu: Add qtgamepad.


From: Efraim Flashner
Subject: 03/10: gnu: Add qtgamepad.
Date: Fri, 13 Jan 2017 05:00:41 +0000 (UTC)

efraim pushed a commit to branch master
in repository guix.

commit 51519fd3fc9f4031b0b3a39ea755f55e54f8349f
Author: Efraim Flashner <address@hidden>
Date:   Thu Jan 5 23:01:45 2017 +0200

    gnu: Add qtgamepad.
    
    * gnu/packages/qt.scm (qtgamepad): New variable.
---
 gnu/packages/qt.scm |   25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)

diff --git a/gnu/packages/qt.scm b/gnu/packages/qt.scm
index 9554054..ca69ed5 100644
--- a/gnu/packages/qt.scm
+++ b/gnu/packages/qt.scm
@@ -55,6 +55,7 @@
   #:use-module (gnu packages pulseaudio)
   #:use-module (gnu packages python)
   #:use-module (gnu packages ruby)
+  #:use-module (gnu packages sdl)
   #:use-module (gnu packages tls)
   #:use-module (gnu packages xdisorg)
   #:use-module (gnu packages xorg)
@@ -948,6 +949,30 @@ developers using C++ or QML, a CSS & JavaScript like 
language.")
      `(("qtbase" ,qtbase)
        ("qtdeclarative" ,qtdeclarative)))))
 
+(define-public qtgamepad
+  (package (inherit qtsvg)
+    (name "qtgamepad")
+    (version "5.7.1")
+    (source (origin
+             (method url-fetch)
+             (uri (string-append "https://download.qt.io/official_releases/qt/";
+                                 (version-major+minor version) "/" version
+                                 "/submodules/" name "-opensource-src-"
+                                 version ".tar.xz"))
+             (sha256
+              (base32
+               "10lijbsg9xx5ddbbjymdgl41nxz99yn1qgiww2kkggxwwdjj2axv"))))
+    (native-inputs
+     `(("perl" ,perl)
+       ("pkg-config" ,pkg-config)))
+    (inputs
+     `(("fontconfig" ,fontconfig)
+       ("freetype" ,freetype)
+       ("libxrender" ,libxrender)
+       ("sdl2" ,sdl2)
+       ("qtbase" ,qtbase)
+       ("qtdeclarative" ,qtdeclarative)))))
+
 (define-public python-sip
   (package
     (name "python-sip")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]