From: Dennis Mungai <dmngaie@gmail.com>
To: guix-devel@gnu.org
Subject: Add glfw 3.1.2 to GNU Guix
Date: Thu, 26 May 2016 23:02:45 +0300 [thread overview]
Message-ID: <CAKKYfmGOaEdtetLWr1h=3Y03dp1XrsRni=KzfwRMPMhza8HvoA@mail.gmail.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 85 bytes --]
Hello,
This patch adds glfw 3.1.2 to GNU Guix.
Thanks and regards,
Dennis Mungai.
[-- Attachment #2: add-glfw-3.1.2-to-guix.patch --]
[-- Type: text/x-patch, Size: 2236 bytes --]
From 6d93bf068efe283940952cb31da1f0c1ba82a0cd Mon Sep 17 00:00:00 2001
From: brainiarc7 <dmngaie@gmail.com>
Date: Thu, 26 May 2016 22:49:25 +0300
Subject: [PATCH] Add glfw to GNU Guix
---
gnu/packages/gl.scm | 43 +++++++++++++++++++++++++++++++++++++++++++
1 file changed, 43 insertions(+)
diff --git a/gnu/packages/gl.scm b/gnu/packages/gl.scm
index 907e3bf..8b7a39d 100644
--- a/gnu/packages/gl.scm
+++ b/gnu/packages/gl.scm
@@ -545,3 +545,46 @@ OpenGL graphics API.")
"SOIL is a tiny C library used primarily for uploading textures into
OpenGL.")
(license l:public-domain)))
+
+(define-public glfw
+ (package
+ (name "glfw")
+ (version "3.1.2")
+ (source (origin
+ (method url-fetch)
+ (uri (string-append "https://github.com/glfw/glfw/archive/"
+ version ".tar.gz"))
+ (sha256
+ (base32
+ "08pixv8hd5xsccf7l8cqcijjqaq4k4da8qbp77wggal2fq445ika"))))
+ (build-system cmake-build-system)
+ (arguments `(#:configure-flags '("-DBUILD_SHARED_LIBS=ON")
+ #:tests? #f))
+ (native-inputs `(("autoconf" ,autoconf)
+ ("automake" ,automake)
+ ("cmake" ,cmake)
+ ("git" ,git)
+ ("libtool" ,libtool)
+ ("libpthread-stubs" ,libpthread-stubs)
+ ("pkg-config" ,pkg-config)))
+ (inputs `(("curl" ,curl)
+ ("dbus" ,dbus)
+ ("enca" ,enca)
+ ("eudev" ,eudev)
+ ("glew" ,glew)
+ ("libcap" ,libcap)
+ ("libjpeg" ,libjpeg)
+ ("libltdl" ,libltdl)
+ ("libtiff" ,libtiff)
+ ("mesa-utils" ,mesa-utils)
+ ("randrproto" ,randrproto)
+ ("libxrandr" ,libxrandr)
+ ("xineramaproto" ,xineramaproto)
+ ("libxinerama" ,libxinerama)
+ ("libxcursor" ,libxcursor)
+ ("python" ,python-2)))
+ (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.")
+ (license (list l:gpl2
+ l:zlib))))
--
2.7.4
next reply other threads:[~2016-05-26 20:02 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-05-26 20:02 Dennis Mungai [this message]
2016-05-27 8:26 ` Add glfw 3.1.2 to GNU Guix Ricardo Wurmus
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
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CAKKYfmGOaEdtetLWr1h=3Y03dp1XrsRni=KzfwRMPMhza8HvoA@mail.gmail.com' \
--to=dmngaie@gmail.com \
--cc=guix-devel@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 public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).