From de91415e4712df24902ff80b550d85fbb6c59381 Mon Sep 17 00:00:00 2001 From: Dennis E. Mungai Date: Tue, 23 Feb 2016 17:06:06 +0300 Subject: Added GFWL as a build dependency *BOOM*--- gn/packages/arrayfire.scm | 63 ++++++++++++++++++++++++++++++++++++++++++++--- 1 file changed, 60 insertions(+), 3 deletions(-) diff --git a/gn/packages/arrayfire.scm b/gn/packages/arrayfire.scm index 62eceb7..9896baf 100644 --- a/gn/packages/arrayfire.scm +++ b/gn/packages/arrayfire.scm @@ -45,8 +45,7 @@ ("which" ,which) ("yasm" ,yasm))) (inputs - `(("alsa-lib" ,alsa-lib) - ("boost" ,boost) + `(("boost" ,boost) ("bzip2" ,bzip2) ("curl" ,curl) ("dbus" ,dbus) @@ -59,7 +58,6 @@ ("gnutls" ,gnutls) ("gperf" ,gperf) ("libcap" ,libcap) - ("libcdio" ,libcdio) ("libgcrypt" ,libgcrypt) ("libjpeg" ,libjpeg) ("libltdl" ,libltdl) @@ -86,3 +84,62 @@ (description "ArrayFire is a high performance software library for parallel computing with an easy-to-use API. Its array based function set makes parallel programming simple.") (home-page "http://arrayfire.com/") (license gpl3+))) + +(define-public glfw + (package + (name "glfw") + (version "3.0.4") + (source (origin + (method url-fetch) + (uri (string-append "https://github.com/glfw/glfw/archive/" + version ".zip")) + (file-name (string-append name "-" version ".zip")) + (sha256 + (base32 + "0njplyalwwqh7xr7xc7klc6x06mq0ak8w2pxh85w8n4hxkmqqnf5")))) + (arguments `(#:configure-flags '("-DBUILD_SHARED_LIBS=ON"))) + (native-inputs + `(("autoconf" ,autoconf) + ("automake" ,automake) + ("cmake" ,cmake) + ("libtool" ,libtool) + ("pkg-config" ,pkg-config))) + (inputs + `(("bzip2" ,bzip2) + ("curl" ,curl) + ("dbus" ,dbus) + ("enca" ,enca) + ("eudev" ,eudev) + ("fontconfig" ,fontconfig) + ("freetype" ,freetype) + ("fribidi" ,fribidi) + ("glew" ,glew) + ("gnutls" ,gnutls) + ("gperf" ,gperf) + ("libcap" ,libcap) + ("libgcrypt" ,libgcrypt) + ("libjpeg" ,libjpeg) + ("libltdl" ,libltdl) + ("libssh" ,libssh) + ("libtiff" ,libtiff) + ("libxml2" ,libxml2) + ("libxmu" ,libxmu) + ("libxrandr" ,libxrandr) + ("libxrender" ,libxrender) + ("libxslt" ,libxslt) + ("libxt" ,libxt) + ("lzo" ,lzo) + ("mesa-utils" ,mesa-utils) + ("mysql" ,mysql) + ("openssl" ,openssl) + ("python" ,python-2) + ("tinyxml" ,tinyxml) + ("unzip" ,unzip) + ("zip" ,zip) + ("zlib" ,zlib))) + (home-page "http://www.glfw.org/") + (synopsis "glfw is an Open Source, multi-platform library for creating windows with OpenGL contexts and receiving input and events.") + (description "glfw is an Open Source, multi-platform library for creating windows with OpenGL contexts and receiving input and events. It is easy to integrate into existing applications and does not lay claim to the main loop. +GLFW is written in C and has native support for Windows, OS X and many Unix-like systems using the X Window System, such as Linux and FreeBSD. +GLFW is licensed under the zlib/libpng license.") + (license license:gpl2+))) -- cgit v1.2.3