media-libs/glfw: winnt support for 3.0.4

This commit is contained in:
Danny Robson 2014-12-05 17:06:29 +11:00
parent 056dd9a5ef
commit 379ca9474c
4 changed files with 46 additions and 0 deletions

2
media-libs/glfw/Manifest Normal file → Executable file
View File

@ -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

0
media-libs/glfw/glfw-2.7.7.ebuild Normal file → Executable file
View File

View File

@ -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
}

0
media-libs/glfw/metadata.xml Normal file → Executable file
View File