From patchwork Sat Nov 7 10:33:36 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bernd Kuhls X-Patchwork-Id: 541242 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from silver.osuosl.org (smtp3.osuosl.org [140.211.166.136]) by ozlabs.org (Postfix) with ESMTP id 892C61409A0 for ; Sat, 7 Nov 2015 21:33:52 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id 6A0202C8C3; Sat, 7 Nov 2015 10:33:51 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from silver.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id iCQwwQ6s9q3g; Sat, 7 Nov 2015 10:33:50 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by silver.osuosl.org (Postfix) with ESMTP id CBFB8275A0; Sat, 7 Nov 2015 10:33:49 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id BE5831C2112 for ; Sat, 7 Nov 2015 10:33:48 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id BA1DA8777A for ; Sat, 7 Nov 2015 10:33:48 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id BkdOpwIr+hjw for ; Sat, 7 Nov 2015 10:33:46 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mailout03.t-online.de (mailout03.t-online.de [194.25.134.81]) by whitealder.osuosl.org (Postfix) with ESMTPS id BBBCD87779 for ; Sat, 7 Nov 2015 10:33:46 +0000 (UTC) Received: from fwd02.aul.t-online.de (fwd02.aul.t-online.de [172.20.26.148]) by mailout03.t-online.de (Postfix) with SMTP id 190861FE346 for ; Sat, 7 Nov 2015 11:33:44 +0100 (CET) Received: from fli4l.lan.fli4l (rIUab6ZSohNlIGUa8JltbTQtjHFoAeFRYZPiRTXE8Z+8V61mzqJbm4yGCz1qupAZkO@[79.247.142.165]) by fwd02.t-online.de with (TLSv1:ECDHE-RSA-AES256-SHA encrypted) esmtp id 1Zv0oX-2cgcyG0; Sat, 7 Nov 2015 11:33:41 +0100 Received: from mahler.lan.fli4l ([192.168.1.1]:35546 helo=kuhls.lan.fli4l) by fli4l.lan.fli4l with esmtpsa (TLSv1.2:ECDHE-RSA-AES128-SHA256:128) (Exim 4.86) (envelope-from ) id 1Zv0oW-0006gI-Nx; Sat, 07 Nov 2015 11:33:41 +0100 From: Bernd Kuhls To: buildroot@buildroot.org Date: Sat, 7 Nov 2015 11:33:36 +0100 Message-Id: <1446892418-6932-2-git-send-email-bernd.kuhls@t-online.de> X-Mailer: git-send-email 2.6.2 In-Reply-To: <1446892418-6932-1-git-send-email-bernd.kuhls@t-online.de> References: <1446892418-6932-1-git-send-email-bernd.kuhls@t-online.de> X-ID: rIUab6ZSohNlIGUa8JltbTQtjHFoAeFRYZPiRTXE8Z+8V61mzqJbm4yGCz1qupAZkO X-TOI-MSGID: 54fcb9c3-9cfb-4c29-b9da-aad71382c001 Cc: Bernd Kuhls Subject: [Buildroot] [PATCH 1/3] package/libglfw: new package X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" Signed-off-by: Bernd Kuhls --- package/Config.in | 1 + package/libglfw/Config.in | 16 ++++++++++++++++ package/libglfw/libglfw.hash | 2 ++ package/libglfw/libglfw.mk | 15 +++++++++++++++ 4 files changed, 34 insertions(+) create mode 100644 package/libglfw/Config.in create mode 100644 package/libglfw/libglfw.hash create mode 100644 package/libglfw/libglfw.mk diff --git a/package/Config.in b/package/Config.in index a6d1f38..d278e64 100644 --- a/package/Config.in +++ b/package/Config.in @@ -827,6 +827,7 @@ menu "Graphics" source "package/libgeotiff/Config.in" source "package/libglade/Config.in" source "package/libglew/Config.in" + source "package/libglfw/Config.in" source "package/libglu/Config.in" source "package/libgtk2/Config.in" source "package/libgtk3/Config.in" diff --git a/package/libglfw/Config.in b/package/libglfw/Config.in new file mode 100644 index 0000000..045bd26 --- /dev/null +++ b/package/libglfw/Config.in @@ -0,0 +1,16 @@ +config BR2_PACKAGE_LIBGLFW + bool "libglfw" + depends on BR2_PACKAGE_XORG7 + depends on BR2_PACKAGE_HAS_LIBGL + select BR2_PACKAGE_XLIB_LIBXCURSOR + select BR2_PACKAGE_XLIB_LIBXEXT + select BR2_PACKAGE_XLIB_LIBXINERAMA + select BR2_PACKAGE_XLIB_LIBXRANDR + help + GLFW is an Open Source, multi-platform library for creating + windows with OpenGL contexts and receiving input and events. + + http://www.glfw.org + +comment "libglfw depends on X.org and needs an OpenGL backend" + depends on !BR2_PACKAGE_XORG7 || !BR2_PACKAGE_HAS_LIBGL diff --git a/package/libglfw/libglfw.hash b/package/libglfw/libglfw.hash new file mode 100644 index 0000000..3226aad --- /dev/null +++ b/package/libglfw/libglfw.hash @@ -0,0 +1,2 @@ +# Locally computed +sha256 6ac642087682aaf7f8397761a41a99042b2c656498217a1c63ba9706d1eef122 libglfw-3.1.2.tar.gz diff --git a/package/libglfw/libglfw.mk b/package/libglfw/libglfw.mk new file mode 100644 index 0000000..2a0d494 --- /dev/null +++ b/package/libglfw/libglfw.mk @@ -0,0 +1,15 @@ +################################################################################ +# +# libglfw +# +################################################################################ + +LIBGLFW_VERSION = 3.1.2 +LIBGLFW_SITE = $(call github,glfw,glfw,$(LIBGLFW_VERSION)) +LIBGLFW_INSTALL_STAGING = YES +LIBGLFW_DEPENDENCIES = libgl xlib_libXcursor xlib_libXext \ + xlib_libXinerama xlib_libXrandr +LIBGLEW_LICENSE = zlib +LIBGLEW_LICENSE_FILES = COPYING.txt + +$(eval $(cmake-package))