From: Hartmut Goebel <h.goebel@crazy-compilers.com>
To: 31668@debbugs.gnu.org
Subject: [bug#31668] [PATCH 2/2] gnu: Add qtwebglplugin.
Date: Thu, 31 May 2018 15:54:46 +0200 [thread overview]
Message-ID: <20180531135446.24961-1-h.goebel@crazy-compilers.com> (raw)
In-Reply-To: <20180531135322.24885-1-h.goebel@crazy-compilers.com>
* gnu/packages/qt.scm (qtwebglplugin): New variable.
---
gnu/packages/qt.scm | 26 ++++++++++++++++++++++++++
1 file changed, 26 insertions(+)
diff --git a/gnu/packages/qt.scm b/gnu/packages/qt.scm
index 894269515..a65e08e05 100644
--- a/gnu/packages/qt.scm
+++ b/gnu/packages/qt.scm
@@ -1058,6 +1058,32 @@ between the host (QML/C++ application) and the client (HTML/JavaScript
application). The transport mechanism is supported out of the box by the two
popular web engines, Qt WebKit 2 and Qt WebEngine.")))
+(define-public qtwebglplugin
+ (package (inherit qtsvg)
+ (name "qtwebglplugin")
+ (version "5.11.0")
+ (source (origin
+ (method url-fetch)
+ (uri (string-append "https://download.qt.io/official_releases/qt/"
+ (version-major+minor version) "/" version
+ "/submodules/" name "-everywhere-src-"
+ version ".tar.xz"))
+ (sha256
+ (base32
+ "1al7dv7i9rg4z4p8vnipbjbbgc6113lbfjggxxap3sn6hqs986fm"))))
+ (native-inputs
+ `(("perl" ,perl)
+ ;; The package is implemented badly, thus these need to be native-inputs
+ ("mesa" ,mesa)
+ ("qtwebsockets" ,qtwebsockets)))
+ (synopsis "QPA plugin for running an application via a browser using
+streamed WebGL commands")
+ (description "Qt back end that uses WebGL for rendering. It allows Qt
+applications (with some limitations) to run in a web browser that supports
+WebGL. WebGL is a JavaScript API for rendering 2D and 3D graphics within any
+compatible web browser without the use of plug-ins. The API is similar to
+OpenGL ES 2.0 and can be used in HTML5 canvas elements")))
+
(define-public qtwebview
(package (inherit qtsvg)
(name "qtwebview")
--
2.13.6
next prev parent reply other threads:[~2018-05-31 13:55 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-05-31 13:53 [bug#31668] [PATCH 1/2] gnu: Add qtwebview Hartmut Goebel
2018-05-31 13:54 ` Hartmut Goebel [this message]
2018-06-10 2:55 ` [bug#31668] [PATCH 2/2] gnu: Add qtwebglplugin 宋文武
2018-06-10 18:03 ` Hartmut Goebel
2018-06-11 12:19 ` 宋文武
2018-06-12 20:49 ` bug#31668: " Hartmut Goebel
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=20180531135446.24961-1-h.goebel@crazy-compilers.com \
--to=h.goebel@crazy-compilers.com \
--cc=31668@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.