Subject: [PATCH 3/4] gnu: Add [email-masked].

From: Björn Höfling <[email-masked]>
Date: Fri, 16 Feb 2018 22:20:04 +0100

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

diff --git a/gnu/packages/wxwidgets.scm b/gnu/packages/wxwidgets.scm
index 84446d8ef..e59e2f2d4 100644
--- a/gnu/packages/wxwidgets.scm
+++ b/gnu/packages/wxwidgets.scm
@@ -7,6 +7,7 @@
 ;;; Copyright © 2017 Efraim Flashner <[email-masked]>
 ;;; Copyright © 2017 Thomas Danckaert <[email-masked]>
 ;;; Copyright © 2018 Tobias Geerinckx-Rice <[email-masked]>
+;;; Copyright © 2018 Björn Höfling <[email-masked]>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -126,6 +127,30 @@ and many other languages.")
               ((#:configure-flags flags)
                `(cons "--enable-mediactrl" ,flags))))))
 
+(define-public wxwidgets-2.8
+  (package (inherit wxwidgets)
+           (version "2.8.12")
+           (source
+            (origin
+              (method url-fetch)
+              (uri (string-append "https://github.com/wxWidgets/wxWidgets/archive/v"
+                                  version ".tar.gz"))
+              (file-name (string-append "wxwidgets-" version ".tar.gz"))
+              (sha256
+               (base32 "1xa8hxfpfnjw5b3227h4wk59bgk215bzpgh2rfc1l2svp2bkc5kr"))))
+           (inputs
+            `(("glu" ,glu)
+              ;; XXX gstreamer-0.10 builds fail
+              ;; ("gstreamer" ,gstreamer-0.10)
+              ("gtk" ,gtk+-2)
+              ("libjpeg" ,libjpeg)
+              ("libmspack" ,libmspack)
+              ("libsm" ,libsm)
+              ("libtiff" ,libtiff)
+              ("mesa" ,mesa)
+              ("webkitgtk" ,webkitgtk)
+              ("sdl" ,sdl)))))
+
 (define-public python2-wxpython
   (package
     (name "python2-wxpython")
-- 
2.16.1