summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Harder <radhermit@gentoo.org>2011-10-01 07:11:27 +0000
committerTim Harder <radhermit@gentoo.org>2011-10-01 07:11:27 +0000
commit98caa854db186d5bb92f795c1780a4558c611816 (patch)
tree0c8b4f7ba521d25a8c9df9cb3b251054dcc40620
parentRemove old. (diff)
downloadhistorical-98caa854db186d5bb92f795c1780a4558c611816.tar.gz
historical-98caa854db186d5bb92f795c1780a4558c611816.tar.bz2
historical-98caa854db186d5bb92f795c1780a4558c611816.zip
Version bump.
Package-Manager: portage-2.2.0_alpha60/cvs/Linux x86_64
-rw-r--r--media-libs/glew/ChangeLog7
-rw-r--r--media-libs/glew/Manifest18
-rw-r--r--media-libs/glew/glew-1.7.0.ebuild67
3 files changed, 83 insertions, 9 deletions
diff --git a/media-libs/glew/ChangeLog b/media-libs/glew/ChangeLog
index e844f8c7b174..cdfee73d07fc 100644
--- a/media-libs/glew/ChangeLog
+++ b/media-libs/glew/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for media-libs/glew
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/glew/ChangeLog,v 1.72 2011/10/01 07:04:39 radhermit Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/glew/ChangeLog,v 1.73 2011/10/01 07:11:27 radhermit Exp $
+
+*glew-1.7.0 (01 Oct 2011)
+
+ 01 Oct 2011; Tim Harder <radhermit@gentoo.org> +glew-1.7.0.ebuild:
+ Version bump.
01 Oct 2011; Tim Harder <radhermit@gentoo.org> -glew-1.5.7-r1.ebuild,
-glew-1.5.8.ebuild, -glew-1.6.0.ebuild:
diff --git a/media-libs/glew/Manifest b/media-libs/glew/Manifest
index 52d233a76546..c140d36a1ec0 100644
--- a/media-libs/glew/Manifest
+++ b/media-libs/glew/Manifest
@@ -3,18 +3,20 @@ Hash: SHA512
DIST glew-1.5.6.tgz 484319 RMD160 63047d7c227045ea379f52a7b0ec1790343ccb22 SHA1 053355a41c5eacf9492d157d7eda4d14656f8c96 SHA256 23f08cef286be2f260b8f297c9f71fdf906a9b451ad2a7d11ad1f46ab3cb186c
DIST glew-1.6.0.tgz 494713 RMD160 5b896cb9bf3b2058cc6a5e167d64bae04b46eb6c SHA1 ed555d15d0f01239b262c4cf803e97d60d8a18b6 SHA256 bea2a7e9bb97a7a5054d4a65d16aaeedeaa091719359ad3fcd9bfdb0fe8eb7fa
+DIST glew-1.7.0.tgz 512582 RMD160 cb3869893afcbbc0348d768d115996c41dcfcaa0 SHA1 9266f2360c1687a96f2ea06419671d370b2928d1 SHA256 1653a63fb1e1a518c4b5ccbaf1a617f1a0b4c1c29d39ae4e2583844d98365c09
EBUILD glew-1.5.6.ebuild 1404 RMD160 9589ee63bf5a4764f02b5d0417884e60dcab8ac3 SHA1 3ea8604e9cbcfe288af8e44f708479b0c633b99d SHA256 577154922813adfd840904b8fa217e15d97b5af6ea56bd56d0284212ce1fa6e8
EBUILD glew-1.6.0-r1.ebuild 1640 RMD160 5a9281823021d99d535c46fd11e8cc2119409851 SHA1 95454e01675597939d3c874f6329e6a5dc62ac4d SHA256 728185bf195a0d2badd02730c6fa21721bc6b1c726d3ce9e8596938a1d928b74
-MISC ChangeLog 8649 RMD160 00c6b802105a22eb55b95d6711c257b070e52e9b SHA1 51a6efb090aed9de1452107aa81a46d23c97810d SHA256 29aede43b95dd0e9f38a581ecc1603d7a2b9de696333d7eec7e2b54cb4f34ef7
+EBUILD glew-1.7.0.ebuild 1632 RMD160 a88bd6342678948e156c1d3b7d5fcefde1335740 SHA1 e6d35c3324ee293973f2c5397ac5dbc9ec2335c1 SHA256 46a276eb94d320909b2a92d9cd93f39afef3f8346de6b33df216913a5acbaa01
+MISC ChangeLog 8762 RMD160 c5d7b289edd70cc3ab43c7f5efb5f10e0b830487 SHA1 37d8e7b9a5303507fd7e4c0a5d8cc4cf9e17187e SHA256 2c3a3f7a707e202f6921dfae487e6fbe2b5f3d34e8161688121de985ce1610c2
MISC metadata.xml 232 RMD160 9725fc18735b1d8d4079f25759ee0823a0c6795d SHA1 ec75efe30e67f74a4f315324afc75ed2a8d30bb4 SHA256 a778e40f66cb2fa35529e4f45cb8356c8b1b109163cd939396f02e8ea6aa5f1a
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.18 (GNU/Linux)
-iQEcBAEBCgAGBQJOhruNAAoJEEqz6FtPBkyjArkH/1thHANxABzRG2afPgAQfXt+
-UDlRkjFt7u+hzWiKfGCO2bSHYINEaZncuE2wo3Vre0cXsQs2Lmt4u/PI7FmFWVQG
-eH6o2DQmtqJF+tqsUo7ri51zyFXDQ/FvO0wkg7LFjmEmqVXz0xdrlw8UcboZPgnV
-5MBo5JosbnakH2/ZMk1R3g+Kxkm3ZMdRHZf/rfH0LDaRKLMfUdP1CekvPO27LNq9
-J0vbHMH3fjmfSZ9GliMLVH4QTfpDHiYCz0tKdz5ZKua4EW+v4v3vj8fLV4B4uyTM
-mBS1NT1HOORKEzPj7sfrfE27g89J8eoLH3izVv91b6c4ngRV+0Hh0K19L7oJKjg=
-=Jk8a
+iQEcBAEBCgAGBQJOhr0lAAoJEEqz6FtPBkyjru8H/31zjXPFFFjbvB1mwCArk3Ai
+vl7+pJosCr8/qDcbmF6pVyXl5m6Sx+H1Gsqac6kRYlPpUuzjxYm/qCQYabN4ebmc
+l1lAYIerDfHETUPhHIFmSfyNSizatdIQvqSvGld1h4rzXOtF5j4OrwQS0aS2b8Cj
+cRoUM0Vghv1C1ezpTKEboJXQx0qXPFKvisTKwZKdp9vLFmNQTCCXp1z3cxKID9Og
+meNLe8TzrkxM9zCuYhT4+FHlg9YsKpxMU5jh0Nkh/W4K8o0TXH6OhZufwRk6ehFA
+DsRSbDK51nbAeUIyvqpawHTTbl6xNM2a/RN8n/roP9pRPRH0QbFSnq5wsxthsoo=
+=3YJ3
-----END PGP SIGNATURE-----
diff --git a/media-libs/glew/glew-1.7.0.ebuild b/media-libs/glew/glew-1.7.0.ebuild
new file mode 100644
index 000000000000..3276f1bfeb41
--- /dev/null
+++ b/media-libs/glew/glew-1.7.0.ebuild
@@ -0,0 +1,67 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-libs/glew/glew-1.7.0.ebuild,v 1.1 2011/10/01 07:11:27 radhermit Exp $
+
+EAPI=4
+inherit multilib toolchain-funcs
+
+DESCRIPTION="The OpenGL Extension Wrangler Library"
+HOMEPAGE="http://glew.sourceforge.net/"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tgz"
+
+LICENSE="BSD MIT"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~ia64-linux ~x86-linux ~sparc-solaris ~x64-solaris ~x86-solaris"
+IUSE="doc static-libs"
+
+RDEPEND="x11-libs/libXmu
+ x11-libs/libXi
+ virtual/glu
+ virtual/opengl
+ x11-libs/libXext
+ x11-libs/libX11"
+DEPEND="${RDEPEND}"
+
+pkg_setup() {
+ myglewopts=(
+ AR="$(tc-getAR)"
+ STRIP=true
+ CC="$(tc-getCC)"
+ LD="$(tc-getCC) ${LDFLAGS}"
+ M_ARCH=""
+ LDFLAGS.EXTRA=""
+ POPT="${CFLAGS}"
+ )
+}
+
+src_prepare() {
+ sed -i \
+ -e '/INSTALL/s:-s::' \
+ -e '/$(CC) $(CFLAGS) -o/s:$(CFLAGS):$(CFLAGS) $(LDFLAGS):' \
+ Makefile || die
+
+ if ! use static-libs ; then
+ sed -i -e '/glew.lib:/s|lib/$(LIB.STATIC) ||' \
+ -e '/glew.lib.mx:/s|lib/$(LIB.STATIC.MX) ||' \
+ -e '/STRIP.* lib\/$(LIB.STATIC)/{N;d}' \
+ -e '/STRIP.* lib\/$(LIB.STATIC.MX)/{N;d}' \
+ Makefile || die
+ fi
+
+ # don't do stupid Solaris specific stuff that won't work in Prefix
+ cp config/Makefile.linux config/Makefile.solaris || die
+}
+
+src_compile(){
+ emake "${myglewopts[@]}"
+}
+
+src_install() {
+ emake \
+ GLEW_DEST="${ED}/usr" \
+ LIBDIR="${ED}/usr/$(get_libdir)" \
+ "${myglewopts[@]}" install.all
+
+ dodoc TODO.txt
+ use doc && dohtml doc/*
+}