diff options
Diffstat (limited to 'media-libs/glew')
-rw-r--r-- | media-libs/glew/Manifest | 3 | ||||
-rw-r--r-- | media-libs/glew/glew-2.1.0-r1.ebuild | 4 | ||||
-rw-r--r-- | media-libs/glew/glew-2.1.0.ebuild | 101 |
3 files changed, 3 insertions, 105 deletions
diff --git a/media-libs/glew/Manifest b/media-libs/glew/Manifest index 6e2b4e0794ce..a256b30b7921 100644 --- a/media-libs/glew/Manifest +++ b/media-libs/glew/Manifest @@ -5,6 +5,5 @@ DIST glew-1.6.0.tgz 494713 BLAKE2B 17e47092e2eefcad79220232b3aeaf856541f5024bdaa DIST glew-2.1.0.tgz 764073 BLAKE2B 081fb49ef286681657409f950fa03b97210dac3f90197b792d9128a2b9fa271181c9e64422a867b531683ab23010cfeb2f519adc32355839b67bf41934578fb3 SHA512 9a9b4d81482ccaac4b476c34ed537585ae754a82ebb51c3efa16d953c25cc3931be46ed2e49e79c730cd8afc6a1b78c97d52cd714044a339c3bc29734cd4d2ab EBUILD glew-1.10.0-r100.ebuild 1948 BLAKE2B 49358c8d4969c8ed80c551d6a8dc504a2368ddb5a96f6f8a3e41d38bc028e70f88b714913f6b55cf85d101cb4b8f5a1d8eeef0a64803291e3e553dfb3234fb5b SHA512 97b574ef48d5d88bd86299fd6a9cf3fb85440af015e50ecd5ed841b214b0e9fd278c4d9e70b57c3c6224a3105582cbbfd7da1d2fcb48a6165d51a9421d9c797c EBUILD glew-1.6.0-r100.ebuild 1921 BLAKE2B 634e76c202e3d4b08ef68b0faf4d8c8c88692b32e0b8536c9a3ab617361ad008030994517dc30146171f61d80bc75fafc1cc8e3e51a1ee76563c443ecc7033d7 SHA512 53e816516b5166ec273a9a722694c7aa0961b63144562630979b2db35d0da697f3bf4f8ff0c1cfa44d95a788d0b5304733db3470b6b245b0e2acd952df67a93f -EBUILD glew-2.1.0-r1.ebuild 2527 BLAKE2B 2ca9fa9a24a8c2bd5ab9fc562920494776e07b905064f29741a51a6e1b43d1c6e2d17cc8aa7255972b963633d3a134b43383eca16a1aa8e91d1fd89b51f1fb02 SHA512 7ca838f0309594fcb935e851380b40f8fafab3e3d175dfc0ea48783fc29df8c4fb8f279faab729f9ee852eedc9abd2560694570ce9a9de12dd302babdc1dd274 -EBUILD glew-2.1.0.ebuild 2513 BLAKE2B b8c9f8cac57435196d09f9536a6d2dd11c7236922b99d2df76584c1a04f57fcf505fb21589696e7267b1ab4e63834cad1c84f58cc99f35a9961870950eb431a1 SHA512 40be22ce95d3e618803791ff13ecd40554ceb56cbc8a8cdc1a5cb10800f02b00c22b417fd35b70323a27a718ba68f4a56daec0a0ac06d87a8778b774cbc4c0e3 +EBUILD glew-2.1.0-r1.ebuild 2521 BLAKE2B 135e70b81cbd70402c112b3de96577377223346f6865a3a1998a15244c1af846df85e8fb1e1b4e2fa188aa9b4a8aac07a71e8519e90015a3b3ca6f5fb36427b4 SHA512 47d1027e7e3a362e66e2b1923c427a799862cd55eb3870ffb270865c6e71caadb5fca8a1af18093b6e40e3aeb4dac4b62d2421654d5c235ac76392d825145d53 MISC metadata.xml 296 BLAKE2B 14e5921f53872e45c3b43dbe5d95fbb36162ce327eadfc41b34cbee17c11d1de02562152920026592f3dc508faf080e4e8b4150490a815cf7629b1ecfccda758 SHA512 60f31ba192f23a74365955e122ab54aae36c45b9158a2a5201bac68c46c07195025a9978fec01fa6e9804bc731bf1f7b495445bafb9e53d94f895c128075aa3d diff --git a/media-libs/glew/glew-2.1.0-r1.ebuild b/media-libs/glew/glew-2.1.0-r1.ebuild index ddf1077b5fb9..ea8e0230b113 100644 --- a/media-libs/glew/glew-2.1.0-r1.ebuild +++ b/media-libs/glew/glew-2.1.0-r1.ebuild @@ -11,7 +11,7 @@ SRC_URI="mirror://sourceforge/${PN}/${P}.tgz" LICENSE="BSD MIT" SLOT="0/$(ver_cut 1-2)" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris" +KEYWORDS="alpha amd64 arm ~arm64 ~hppa ia64 ~mips ppc ppc64 ~sh sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris" IUSE="doc static-libs" DEPEND=" @@ -99,6 +99,6 @@ multilib_src_install() { dodoc README.md if use doc; then docinto html - dodoc doc/* + dodoc -r doc fi } diff --git a/media-libs/glew/glew-2.1.0.ebuild b/media-libs/glew/glew-2.1.0.ebuild deleted file mode 100644 index 68426a2fd5ea..000000000000 --- a/media-libs/glew/glew-2.1.0.ebuild +++ /dev/null @@ -1,101 +0,0 @@ -# Copyright 1999-2018 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -inherit 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 ~arm64 ~hppa ia64 ~mips ppc ppc64 ~sh sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris" -IUSE="doc static-libs" - -DEPEND=" - >=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}] -" -RDEPEND="${DEPEND}" - -src_prepare() { - local PATCHES=( "${FILESDIR}"/${PN}-2.0.0-install-headers.patch ) - - 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 - - default - multilib_copy_sources -} - -glew_system() { - # Set the SYSTEM variable instead of probing. #523444 #595280 - case ${CHOST} in - *linux*) echo "linux" ;; - *-freebsd*) echo "freebsd" ;; - *-darwin*) echo "darwin" ;; - *-solaris*) echo "solaris" ;; - mingw*|*-mingw*) echo "mingw" ;; - *) die "Unknown system ${CHOST}" ;; - esac -} - -set_opts() { - myglewopts=( - AR="$(tc-getAR)" - STRIP=true - CC="$(tc-getCC)" - LD="$(tc-getCC) ${LDFLAGS}" - SYSTEM="$(glew_system)" - M_ARCH="" - LDFLAGS.EXTRA="" - POPT="${CFLAGS}" - ) -} - -multilib_src_compile() { - set_opts - emake \ - GLEW_PREFIX="${EPREFIX}/usr" \ - 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)" \ - PKGDIR="${ED}/usr/$(get_libdir)/pkgconfig" \ - "${myglewopts[@]}" \ - install.all - - dodoc README.md - if use doc; then - docinto html - dodoc doc/* - fi -} |