From 379ca9474c126d483765dcd8c7783a56f237deef Mon Sep 17 00:00:00 2001 From: Danny Robson Date: Fri, 5 Dec 2014 17:06:29 +1100 Subject: [PATCH] media-libs/glfw: winnt support for 3.0.4 --- media-libs/glfw/Manifest | 2 ++ media-libs/glfw/glfw-2.7.7.ebuild | 0 media-libs/glfw/glfw-3.0.4.ebuild | 44 +++++++++++++++++++++++++++++++ media-libs/glfw/metadata.xml | 0 4 files changed, 46 insertions(+) mode change 100644 => 100755 media-libs/glfw/Manifest mode change 100644 => 100755 media-libs/glfw/glfw-2.7.7.ebuild create mode 100755 media-libs/glfw/glfw-3.0.4.ebuild mode change 100644 => 100755 media-libs/glfw/metadata.xml diff --git a/media-libs/glfw/Manifest b/media-libs/glfw/Manifest old mode 100644 new mode 100755 index 9d1601b..42df4e0 --- a/media-libs/glfw/Manifest +++ b/media-libs/glfw/Manifest @@ -3,5 +3,7 @@ AUX glfw-2.6-ldflags.patch 467 SHA256 b484dc94e838d696056d0008fb5e3d40a531a41408 AUX glfw-2.7.7-dyn.patch 1021 SHA256 dc5d666357c996ace5a649fba817f943e9ec2764d7a5b0c78445060da330c868 SHA512 388ea7941dc60fa94e6527e0e6f2d4b027bfe260893b329d5cc5854336a126a4ebb7392b862f0158c08ebc88ef4737b68e2091cbd1706075c04a55e51c28bbfb WHIRLPOOL 91e71a9461b418990b0a8c0478b206157ecba15f2dd89ee715f910eece462f1711648a907d7b9803c3c1311da4343f32ae4ca597464359b659c45beed424d6ec AUX glfw-2.7.7-pkgconfig.patch 1144 SHA256 e080c095839dc365d1a54974ea38164d7dacb7371277674619ab102086f67422 SHA512 3083e333e45ffd1cb427be63f37cf896ec629b24904400ba63333f1ab3f9e7664b1c63f60a7b547867bb9f4924e17754851089bffd2de4af00d9eaecbe27883f WHIRLPOOL 171927efed27b78b5293020af843b22484b4fc19b392017dc2bee67a9004336f6eb6ab4408bfaf53ec071057e86b70ae77d3a28d8dda0bb570d57d5b56c85746 DIST glfw-2.7.7.tar.bz2 927805 SHA256 422e755979524a1da28e4addcae723b7132998ca15e89be41bf34964d9360aa2 SHA512 1b51b9d88c8eed9da8084421949b561a4779410a6369ffdf482c2d8a166bab8c58bbb087ef6f32180d3fe9430988549be5c183b338dd0e1191b2c4b4a7b55379 WHIRLPOOL 646d38fd3ea88e8aa19dcbfa8f8b933adc530ea946cd51c3e03971ed6cdb294dadf5020a876ba298c378896179a4a7ba0129b858fc7f1273a574fe1c2c388a77 +DIST glfw-3.0.4.tar.bz2 424887 SHA256 4f09d70b9e341c8613873cadb51d9e40a67982b5bb919e024783cec7ac09efc0 SHA512 2f80354d4c73d2cfb0014589629d4b204ce731c3528c365c83799f2ff195dda0cb5e200d520c0555f078307d97229551f0f056b8adf1b22643e20dec7a03ec36 WHIRLPOOL 9868f111d447230dc2593c4a662b2afd1d8372491ddc84b2817ade7d47d7aa86d42627a5954424e6db3dc7869eec645df36b140a51b21b581740d19329513a1a EBUILD glfw-2.7.7.ebuild 2914 SHA256 0af71ee58e1384aa73af49156c91d0f65c077df5d060e50d13c89952094f11c9 SHA512 a02eeddd8d611b3cf09d001f9c1e0bba83cca01f1ff140b9fe67705622e247fa03fc66dbf562b410cff228304fc5ef162eae899bb6002567c0d255f19ec15551 WHIRLPOOL e0a29e7aeb0fa52c1d6e4988b8ead553c8d5d3dc8d36808fe7d568d418c9937792a2d6ad964382518ddccec1ebdfd8b47c85e3ec3d02e9372b3b8e569b55c667 +EBUILD glfw-3.0.4.ebuild 933 SHA256 673cf67312de294b44226e92561be742dfae834cda7c013f1e2a39f7a7298fda SHA512 94dedafe9a5fe2aecda9e2fdcab729dd144ed28ffc00ad0be0cf5e762ea047dbf2c7affb756c07278eb55d80e58e08c73a60abd4cf5d14149e296d2f2305e9bd WHIRLPOOL f9190d70e8dcabeb3f2765aeb5ff7f05e737c7f8f192e41878226c0b15d2a2b184b6443976aa6f824381d4e71073b2fe8efc940e97708e8e62ad7c245e3e7e14 MISC metadata.xml 158 SHA256 1423a4fdd4a79b1728a2056d9e300f7e1074253095d82726218d9e9b953888a3 SHA512 d954564236b67b6ab97846b73f74e715e8f1bec2dba6595e9a5046c2e8c3b93f4879c293f9d1d02d99a533bee56156dae3f31a485697128c51af14cdbfdada8a WHIRLPOOL d03e7293d09d794d61c095a423f945b3644355a247f270a73ca8d30b4dfe9c98244297536bfd1a4bd6c14794aa1152eca20fd83bfdf3e1e74d4f676152d35ada diff --git a/media-libs/glfw/glfw-2.7.7.ebuild b/media-libs/glfw/glfw-2.7.7.ebuild old mode 100644 new mode 100755 diff --git a/media-libs/glfw/glfw-3.0.4.ebuild b/media-libs/glfw/glfw-3.0.4.ebuild new file mode 100755 index 0000000..ad30560 --- /dev/null +++ b/media-libs/glfw/glfw-3.0.4.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-libs/glfw/glfw-3.0.4.ebuild,v 1.1 2014/08/29 19:52:26 mr_bones_ Exp $ + +EAPI=5 +inherit cmake-utils + +DESCRIPTION="The Portable OpenGL FrameWork" +HOMEPAGE="http://www.glfw.org/" +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2" + +LICENSE="ZLIB" +SLOT="0" +KEYWORDS="~amd64 ~x86 amd64-winnt" +IUSE="egl examples" + +RDEPEND="!amd64-winnt? ( + x11-libs/libXrandr + x11-libs/libX11 + x11-libs/libXi + x11-libs/libXxf86vm + ) + virtual/opengl" +DEPEND="${RDEPEND} + virtual/glu" + +src_configure() { + local mycmakeargs=" + $(cmake-utils_use egl GLFW_USE_EGL) + $(cmake-utils_use examples GLFW_BUILD_EXAMPLES) + -DBUILD_SHARED_LIBS=1 + " + + case $CHOST in + "x86_64-w64-mingw32") + mycmakeargs = "${mycmakeargs} -DCMAKE_TOOLCHAIN_FILE=CMake/${CHOST}.cmake" + ;; + + *) + ;; + esac + + cmake-utils_src_configure +} diff --git a/media-libs/glfw/metadata.xml b/media-libs/glfw/metadata.xml old mode 100644 new mode 100755