diff options
author | Tim Harder <radhermit@gentoo.org> | 2014-09-26 23:40:00 +0000 |
---|---|---|
committer | Tim Harder <radhermit@gentoo.org> | 2014-09-26 23:40:00 +0000 |
commit | 1b29b13fcf8e187aefa000751366b8efdcf83d0f (patch) | |
tree | 6109a6ab8459c4901936a0c516b6ce846430a168 /media-libs | |
parent | Remove -r0 with wrong USE dependency. (diff) | |
download | historical-1b29b13fcf8e187aefa000751366b8efdcf83d0f.tar.gz historical-1b29b13fcf8e187aefa000751366b8efdcf83d0f.tar.bz2 historical-1b29b13fcf8e187aefa000751366b8efdcf83d0f.zip |
Version bump and support MinGW targets (bug #523444).
Package-Manager: portage-2.2.13/cvs/Linux x86_64
Manifest-Sign-Key: 0x4F064CA3
Diffstat (limited to 'media-libs')
-rw-r--r-- | media-libs/glew/ChangeLog | 7 | ||||
-rw-r--r-- | media-libs/glew/Manifest | 24 | ||||
-rw-r--r-- | media-libs/glew/glew-1.11.0.ebuild | 79 |
3 files changed, 95 insertions, 15 deletions
diff --git a/media-libs/glew/ChangeLog b/media-libs/glew/ChangeLog index f0699e6c5a28..b64244afef9f 100644 --- a/media-libs/glew/ChangeLog +++ b/media-libs/glew/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for media-libs/glew # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-libs/glew/ChangeLog,v 1.105 2014/09/15 08:20:54 ago Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-libs/glew/ChangeLog,v 1.106 2014/09/26 23:39:58 radhermit Exp $ + +*glew-1.11.0 (26 Sep 2014) + + 26 Sep 2014; Tim Harder <radhermit@gentoo.org> +glew-1.11.0.ebuild: + Version bump and support MinGW targets (bug #523444). 15 Sep 2014; Agostino Sarubbo <ago@gentoo.org> glew-1.10.0-r2.ebuild: Stable for sparc, wrt bug #512012 diff --git a/media-libs/glew/Manifest b/media-libs/glew/Manifest index ca6a8525542e..521c3b1e6bbf 100644 --- a/media-libs/glew/Manifest +++ b/media-libs/glew/Manifest @@ -2,26 +2,22 @@ Hash: SHA256 DIST glew-1.10.0.tgz 567605 SHA256 99c41320b63f6860869b5fb9af9a1854b15582796c64ee3dfd7096dc0c89f307 SHA512 0c998fda9fe01c9296a3453966c0449c9968f4f5f989065ca65f0da3830ae8d805699d0ee0362c3b18765420222ba18842b9db20986212afceb36c971ae1bdca WHIRLPOOL 7c931d990b667fc5da79b0b0c11f76693adbd75c730252d5fd1129ff5d54690222a0f0efc0d2abe0535edcde7f72d76bad6de40d02c5a48f0bc4804a248b7d72 +DIST glew-1.11.0.tgz 601430 SHA256 69bbce306ac281c4fa806a7a7d02c0596281a2d8f9d70690e98126f23ba513d6 SHA512 ab7fa5027b069adb7ce2f0ec9dc4e7f30d852e4212c68759873f060e32cc2be04cef66748a7e8696240ed6e3efbf4f0a2aa94640723facf83123c4cc6d955308 WHIRLPOOL 0190203051e8eb5fb887b3a013928072aabf3c418faf9e5bd86ae2d60c7dd788b5694de60ab40fe5a616dcf61e6b8b24fc09a8fef8aa1fb90e42e8b87ab65ee3 DIST glew-1.9.0.tgz 544440 SHA256 9b36530e414c95d6624be9d6815a5be1531d1986300ae5903f16977ab8aeb787 SHA512 e4b566de6bfc84d73a2c3eedc5eeace30b1d8126f425fbd880dcc3f5850dd445247d6ef950194944cfc71d71155773c47bb593fe2ca9879032d1c65a8a70f5e5 WHIRLPOOL d1c49e13561834c2049f8d5027260b37f5814cf96466f30494d5c2a0251b655c97f9f82a4c9f76ec62513e1408586b1ff8a0ee21258af7e9afa5a7407cf8cdba EBUILD glew-1.10.0-r1.ebuild 1861 SHA256 d97e8007269d28ee05d79408f11ea484de547ee32f5c68305c8d95c86f2e38f7 SHA512 bd8150d8767a034cf26787b1d72c4478481ea10ba71b667a5df1100c819d4f3461f99e7efb2c061b8c54086f36771715256ca19919150599a9ab30f495d79fe6 WHIRLPOOL eb2ef1f19c22e7a37fee671671520c556d8926108ec153e455663a24a5b974ad601b1f5cd89baaa01ac512142eb2e8fcc766f62bd6864a534c1daca34e1266e4 EBUILD glew-1.10.0-r2.ebuild 2169 SHA256 8ba9e2201c99bacecc50e691e89d67ac3776295116e6fe05a1a14ad36f7cde78 SHA512 76dd322bca204dccdea0a60fb69e9eecd35d67a570cf8c2dd80e796c3e1c099e26fe82ba3409658e62d77bba366c653a1cab9f5a0e4579bef8416dbff75ea9ed WHIRLPOOL 744a54aa0c68970f003e20685f37daf909c60cef36df237abc0596eff79453a06f06231534e7ea3d69be0f70757b65e6c56d8bdf85808ac1cd00907b0fb3d4fe +EBUILD glew-1.11.0.ebuild 2280 SHA256 f33bc9f0f93aeeb7a011ab87cc60766157f8a72d6702883d27e20df08f2e2d03 SHA512 dcb1fd2cba93583755a1eb46db4dc10a2fc7ca06093eda74da03fe7aac53b400dc6abbcfa8cf58ba3c021a24aacced1b9fd02829d4373bd9110268992659ff69 WHIRLPOOL 13f4d92ed69e5bea5789fdf680b395f2387de5476f3b27de835ee00bfdc192bac0e13706e9743de22e1a21dcd97dd8b441f524e5bf2198ce7cbaa6d32bc6de3f EBUILD glew-1.9.0.ebuild 1728 SHA256 e862b35e5e47bccffd2cc7ccee1f3b987464203dd591b4958e227ad049e51e92 SHA512 7c9f110a897c1a0342cd2b7cb83766c6da521ed1adcd44125865fb47962d210fa1db74644dc6db439965d717678a711ee40815dbca7798e8bd08361584ea1dc9 WHIRLPOOL 62215d7c3c4127c68cf0d771b36b99428aa33a90ede6ae828db8b7f732040b174191a96392801fc817045ece8084774ab60d1fea61108257ba4a5de0a421fc9b -MISC ChangeLog 12395 SHA256 487975752c2d67c9ca617547f479a8ec8dae15f1af33c67d362e7ba559c5f647 SHA512 8d4946754898b10e52928750aa8903e200c290e76915b67f6920fd5d80999dff31dd304e1a4ca8900ff301bf6ba7e6c044ed92c1e08f02bccb172e1d5020b09d WHIRLPOOL f749aef5ee6db881b9bd8c7585a5aefc547f20b900fa123836f8125e35075b0abaeaa470c42c48d8502c603a68f1bd279e772fe1cffcd6f681150d8997b05220 +MISC ChangeLog 12556 SHA256 c64e126adfaf98bda636d15f08077c7c226b55d3eca676e922e8deb8b00501e8 SHA512 39d58760e33f480f7f6a851ebac42c3bc656ff5657bbf477407db333243190b23a54c7f40bcbc094f084a90ce61b7bcdd58d72883855113fcecca06f73bc513c WHIRLPOOL f74c548019c3bffae0e1559768e071db150b8421299181b048f4e6f75951a96483453051c69bbb4b2abb9f58f1f41d7a28725e714d54404be07558b0cfbb8980 MISC metadata.xml 232 SHA256 a778e40f66cb2fa35529e4f45cb8356c8b1b109163cd939396f02e8ea6aa5f1a SHA512 6952f63da1c92a4ed7ddb87b5eb4003d123f0b7af6ffdbc9118159c97ddf18917e8ac7727285a42c07c64e52a40335bc2ef9f17261557617beb8c2226a391873 WHIRLPOOL 0a4441f075f8af01588da2aac3e03732f93463b8bea5e46749d37e1468452735d15f45243b930b3346c93734f8aa235a492030445fee471a95d2c5998f08e7de -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 -iQIcBAEBCAAGBQJUFqFnAAoJELp701BxlEWfMfQQAMfDWf551zNTxJ7iZrOjGLYF -O9DDjrXxwZ4UJrDrd3k+fqjDW+yJriQFj9LYICxHgdF8nWRgoreR5whMW2Wpy4Im -3XAK2OvnikevibuN4Z0GOg2QRGX0YKzPybL8/N46K3BuD1SnfwDDi60F0h22TZuD -ec34S1G5r1t7Kv5lSrfpg42jvLvvbkumU5X7/7n8CllcnXyWM/qq5EHTzroTc4Nk -1ls8hV3WYnGRCi8XHxdGfQH0ZGqezaS69GTuZUUHKRkhXquiNqipeo2bFbPyCG5H -gcW7xPfnpHzKpD13Mbny0t3GVuqGkFdSFQnNXLcGo1epMhpOz9hwB4PDD3PFt4f1 -XkL3VTCr60BXo4j2hPun4HjvNTKqmCFCmPyMmS4zt/+lEMK7y6CNvxoKFS/G4eDh -pUax6l9bRwGlVljeNOCLtAsmb/FB0AerpH0tzXIno8xFDzrFKHINgLSFvP6gYarL -p32m8Fe5KnNCioQqY63jaG4nf5+hA5zXwGs+N7dK6+30HgwGBH7eVA+ACMoI3bYc -GnqGekw4emZFZ5N2H4f4boHUQvIzdcb+I2F6QBXDQXfW6RoDpFdxdqhle5IsAKeu -5fEI4jw/d6Mtv9KCC3qgeyAbFBKrPqKMH2e/+SZoCbeBGUZ2a9ReXT1W9KvXRD9R -yUsw9F9UgMYlrks19Csk -=Dz5A +iQEcBAEBCAAGBQJUJflgAAoJEEqz6FtPBkyjI/YIAIcFBYAtvIkzKBCUcA5pfqyY +vcdmhMXFi6lENaLA3ECdEQThnRbCTLVMyFX2ifgLRuRIdCSI8xYd6i81fkc+N2Lq +0l5cN8g+vfKO2Uj/ayeEoax3C9A66wFuSSCveKAXv0eHrZWo6VF0wJJXKW6dIPGQ +xRWY1Kn/Bc5pKTCZFkam4tUYGokiE4Tg21ww0Rc4iQKX8tCbEo9+1N1vxNLmsook +IJeAWGeqIcaFoWg9hiIH9aTN/f3SQXkQX59kejfbuTZPu5xCT3sjw/eKpPijMofM +5RlkMDHgueBB5b14F6+HEsedBiPzXG+Fu2QDD9lwUJwB5VlpZHOVmsmZVoYDQnE= +=9SCQ -----END PGP SIGNATURE----- diff --git a/media-libs/glew/glew-1.11.0.ebuild b/media-libs/glew/glew-1.11.0.ebuild new file mode 100644 index 000000000000..2a942b108dd8 --- /dev/null +++ b/media-libs/glew/glew-1.11.0.ebuild @@ -0,0 +1,79 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-libs/glew/glew-1.11.0.ebuild,v 1.1 2014/09/26 23:39:58 radhermit Exp $ + +EAPI=5 +inherit multilib multilib-minimal toolchain-funcs versionator + +DESCRIPTION="The OpenGL Extension Wrangler Library" +HOMEPAGE="http://glew.sourceforge.net/" +SRC_URI="mirror://sourceforge/${PN}/${P}.tgz" + +LICENSE="BSD MIT" +SLOT="0/$(get_version_component_range 1-2)" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~amd64-linux ~ia64-linux ~x86-linux ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris" +IUSE="doc static-libs" + +RDEPEND=">=virtual/glu-9.0-r1[${MULTILIB_USEDEP}] + >=virtual/opengl-7.0-r1[${MULTILIB_USEDEP}] + >=x11-libs/libX11-1.6.2[${MULTILIB_USEDEP}] + >=x11-libs/libXext-1.3.2[${MULTILIB_USEDEP}] + >=x11-libs/libXi-1.7.2[${MULTILIB_USEDEP}] + >=x11-libs/libXmu-1.1.1-r1[${MULTILIB_USEDEP}] + abi_x86_32? ( !app-emulation/emul-linux-x86-opengl[-abi_x86_32(-)] )" +DEPEND=${RDEPEND} + +src_prepare() { + sed -i \ + -e '/INSTALL/s:-s::' \ + -e '/$(CC) $(CFLAGS) -o/s:$(CFLAGS):$(CFLAGS) $(LDFLAGS):' \ + -e '/^.PHONY: .*\.pc$/d' \ + 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 '/INSTALL.*LIB.STATIC/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 + # and let freebsd be built as on linux too + cp config/Makefile.linux config/Makefile.freebsd || die + + multilib_copy_sources +} + +set_opts() { + myglewopts=( + AR="$(tc-getAR)" + STRIP=true + CC="$(tc-getCC)" + LD="$(tc-getCC) ${LDFLAGS}" + M_ARCH="" + LDFLAGS.EXTRA="" + POPT="${CFLAGS}" + ) + + # support MinGW targets (bug #523444) + [[ ${CHOST} == *-mingw* ]] && myglewopts+=( SYSTEM=mingw ) +} + +multilib_src_compile() { + set_opts + emake GLEW_DEST="${EPREFIX}/usr" LIBDIR="${EPREFIX}/usr/$(get_libdir)" "${myglewopts[@]}" +} + +multilib_src_install() { + set_opts + emake \ + GLEW_DEST="${ED}/usr" \ + LIBDIR="${ED}/usr/$(get_libdir)" \ + "${myglewopts[@]}" \ + install.all + + dodoc TODO.txt + use doc && dohtml doc/* +} |