summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wendler <polynomial-c@gentoo.org>2016-10-31 23:32:17 +0100
committerLars Wendler <polynomial-c@gentoo.org>2016-10-31 23:38:58 +0100
commit548a13172188c9b86b92213afcd9daadaf6c1c8a (patch)
treee91305dde6dd8305caa2e19d6484d2fbe19da258 /media-libs/glfw
parentdev-python/sqlalchemy: Bump to version 1.1.3 (diff)
downloadgentoo-548a13172188c9b86b92213afcd9daadaf6c1c8a.tar.gz
gentoo-548a13172188c9b86b92213afcd9daadaf6c1c8a.tar.bz2
gentoo-548a13172188c9b86b92213afcd9daadaf6c1c8a.zip
media-libs/glfw: Bump to version 3.2.1
Package-Manager: portage-2.3.2 Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
Diffstat (limited to 'media-libs/glfw')
-rw-r--r--media-libs/glfw/Manifest1
-rw-r--r--media-libs/glfw/glfw-3.2.1.ebuild46
2 files changed, 47 insertions, 0 deletions
diff --git a/media-libs/glfw/Manifest b/media-libs/glfw/Manifest
index 5af3f45350d7..98cf3b9a542d 100644
--- a/media-libs/glfw/Manifest
+++ b/media-libs/glfw/Manifest
@@ -1 +1,2 @@
DIST glfw-3.1.2.tar.bz2 588640 SHA256 31a1e6b6d7c64bbf44dce623785c87c0f29d965b19c452828e48acd64fa643e7 SHA512 00dc822403848f3e60535b9f70ea43147717252373c704c52b5480020cea7f416a00c036ab5ffbc0bc76863c4ddb7d271310e64face639e68f7a62e9db882e94 WHIRLPOOL 1e54efff306fc7f17620f6a874c66e5315d9dd2b2c45f6f4c95562b1c2ac50c5e4410173c23351c31aeaee187b5fe39999d1788fd9a42053d420b5a252331a2c
+DIST glfw-3.2.1.tar.bz2 654840 SHA256 9a9681bc720fa00a4fd104108f2667e0fe4f0f20b7e0034c64b21e1d1e73634a SHA512 4371285ae72a428c77440baaf5e92fd83e51eafc2c7f024e8ae9f5a4068623c86d73ae70799b3c7775d1f5984de8be408386f3960303522aa9144dd6b2c21bef WHIRLPOOL 252c9547367ec1ce30f8d9fccac0d4358343edb5b700f56a41ad93c06260fa4317153c06dd6c9231a0fd11a385c54604a66847c05f84b3cb192001e2df68e6e5
diff --git a/media-libs/glfw/glfw-3.2.1.ebuild b/media-libs/glfw/glfw-3.2.1.ebuild
new file mode 100644
index 000000000000..0cc818ea35dc
--- /dev/null
+++ b/media-libs/glfw/glfw-3.2.1.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+inherit cmake-utils
+
+DESCRIPTION="The Portable OpenGL FrameWork"
+HOMEPAGE="http://www.glfw.org/"
+SRC_URI="mirror://sourceforge/glfw/${P}.tar.bz2"
+
+LICENSE="ZLIB"
+SLOT="0"
+KEYWORDS="~amd64 ~hppa ~x86"
+IUSE="examples wayland"
+
+RDEPEND="
+ x11-libs/libxkbcommon
+ !wayland? (
+ virtual/opengl
+ x11-libs/libX11
+ x11-libs/libXcursor
+ x11-libs/libXinerama
+ x11-libs/libXrandr
+ x11-libs/libXxf86vm
+ )
+ wayland? (
+ dev-libs/wayland
+ media-libs/mesa[egl,wayland]
+ )
+"
+DEPEND="
+ ${RDEPEND}
+ wayland? (
+ dev-libs/wayland-protocols
+ )
+"
+
+src_configure() {
+ local mycmakeargs=(
+ -DGLFW_BUILD_EXAMPLES="$(usex examples)"
+ -DGLFW_USE_WAYLAND="$(usex wayland)"
+ -DBUILD_SHARED_LIBS=1
+ )
+ cmake-utils_src_configure
+}