summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChí-Thanh Christopher Nguyễn <chithanh@gentoo.org>2013-11-05 15:48:21 +0000
committerChí-Thanh Christopher Nguyễn <chithanh@gentoo.org>2013-11-05 15:48:21 +0000
commit00ebfaaacf7b2889ec5f69fa5a6a2738ccef1070 (patch)
treeb04a9b0ccab305109d46cba3859c589d7390c3f8 /media-libs/glfw
parentNot compatible with >=media-libs/glfw-3 (diff)
downloadgentoo-2-00ebfaaacf7b2889ec5f69fa5a6a2738ccef1070.tar.gz
gentoo-2-00ebfaaacf7b2889ec5f69fa5a6a2738ccef1070.tar.bz2
gentoo-2-00ebfaaacf7b2889ec5f69fa5a6a2738ccef1070.zip
Version bump, bug #474872.
(Portage version: 2.2.7/cvs/Linux x86_64, unsigned Manifest commit)
Diffstat (limited to 'media-libs/glfw')
-rw-r--r--media-libs/glfw/ChangeLog8
-rw-r--r--media-libs/glfw/glfw-3.0.3.ebuild28
-rw-r--r--media-libs/glfw/metadata.xml3
3 files changed, 38 insertions, 1 deletions
diff --git a/media-libs/glfw/ChangeLog b/media-libs/glfw/ChangeLog
index 77efb8f88a67..3e36440a076a 100644
--- a/media-libs/glfw/ChangeLog
+++ b/media-libs/glfw/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for media-libs/glfw
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/glfw/ChangeLog,v 1.16 2013/02/04 20:28:40 mr_bones_ Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/glfw/ChangeLog,v 1.17 2013/11/05 15:48:21 chithanh Exp $
+
+*glfw-3.0.3 (05 Nov 2013)
+
+ 05 Nov 2013; Chí-Thanh Christopher Nguyễn <chithanh@gentoo.org>
+ +glfw-3.0.3.ebuild, metadata.xml:
+ Version bump, bug #474872.
04 Feb 2013; Michael Sterrett <mr_bones_@gentoo.org> glfw-2.7.7.ebuild:
add static-libs support (bug #442752)
diff --git a/media-libs/glfw/glfw-3.0.3.ebuild b/media-libs/glfw/glfw-3.0.3.ebuild
new file mode 100644
index 000000000000..866cb42511a6
--- /dev/null
+++ b/media-libs/glfw/glfw-3.0.3.ebuild
@@ -0,0 +1,28 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-libs/glfw/glfw-3.0.3.ebuild,v 1.1 2013/11/05 15:48:21 chithanh Exp $
+
+EAPI=5
+inherit cmake-utils
+
+DESCRIPTION="The Portable OpenGL FrameWork"
+HOMEPAGE="http://glfw.sourceforge.net/"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
+
+LICENSE="ZLIB"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="egl examples"
+
+DEPEND="x11-libs/libXrandr
+ virtual/glu
+ virtual/opengl"
+
+src_configure() {
+ local mycmakeargs="
+ $(cmake-utils_use egl GLFW_USE_EGL)
+ $(cmake-utils_use examples GLFW_BUILD_EXAMPLES)
+ -DBUILD_SHARED_LIBS=1
+ "
+ cmake-utils_src_configure
+}
diff --git a/media-libs/glfw/metadata.xml b/media-libs/glfw/metadata.xml
index d3c2cc926f0b..0a840be0d81f 100644
--- a/media-libs/glfw/metadata.xml
+++ b/media-libs/glfw/metadata.xml
@@ -2,4 +2,7 @@
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<herd>games</herd>
+<use>
+<flag name='egl'>Use EGL instead of GLX for GL context creation</flag>
+</use>
</pkgmetadata>