[gentoo-commits] repo/gentoo:master commit in: media-libs/glew/

2023-12-29 Thread Sam James
commit: e505d747ad8f70a5c29be99f1ad9e887ecfb9567
Author: Sam James  gentoo  org>
AuthorDate: Sat Dec 30 03:03:17 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Dec 30 03:03:17 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e505d747

media-libs/glew: Stabilize 2.2.0-r1 ppc64, #921006

Signed-off-by: Sam James  gentoo.org>

 media-libs/glew/glew-2.2.0-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/glew/glew-2.2.0-r1.ebuild 
b/media-libs/glew/glew-2.2.0-r1.ebuild
index 2364c0ea9bd2..bd7a785fe036 100644
--- a/media-libs/glew/glew-2.2.0-r1.ebuild
+++ b/media-libs/glew/glew-2.2.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 ~loong ~mips ~ppc ~ppc64 ~riscv 
sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos ~x64-solaris"
+KEYWORDS="~alpha ~amd64 arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ppc64 ~riscv 
sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos ~x64-solaris"
 IUSE="doc egl-only static-libs"
 
 DEPEND="



[gentoo-commits] repo/gentoo:master commit in: media-libs/glew/

2023-12-29 Thread Sam James
commit: 98c98451875fd9fb948da25433ffe751ef8a01ee
Author: Sam James  gentoo  org>
AuthorDate: Sat Dec 30 03:03:19 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Dec 30 03:03:19 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=98c98451

media-libs/glew: Stabilize 2.2.0-r1 amd64, #921006

Signed-off-by: Sam James  gentoo.org>

 media-libs/glew/glew-2.2.0-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/glew/glew-2.2.0-r1.ebuild 
b/media-libs/glew/glew-2.2.0-r1.ebuild
index 55c49f33f89f..513f4464666d 100644
--- a/media-libs/glew/glew-2.2.0-r1.ebuild
+++ b/media-libs/glew/glew-2.2.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 ~loong ~mips ~ppc ppc64 ~riscv 
sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos ~x64-solaris"
+KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ~ppc ppc64 ~riscv 
sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos ~x64-solaris"
 IUSE="doc egl-only static-libs"
 
 DEPEND="



[gentoo-commits] repo/gentoo:master commit in: media-libs/glew/

2023-12-29 Thread Sam James
commit: ac11e150609f8329d661fddffaf269cf6ee7f76a
Author: Sam James  gentoo  org>
AuthorDate: Sat Dec 30 03:03:18 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Dec 30 03:03:18 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ac11e150

media-libs/glew: Stabilize 2.2.0-r1 arm64, #921006

Signed-off-by: Sam James  gentoo.org>

 media-libs/glew/glew-2.2.0-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/glew/glew-2.2.0-r1.ebuild 
b/media-libs/glew/glew-2.2.0-r1.ebuild
index bd7a785fe036..55c49f33f89f 100644
--- a/media-libs/glew/glew-2.2.0-r1.ebuild
+++ b/media-libs/glew/glew-2.2.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 ~loong ~mips ~ppc ppc64 ~riscv 
sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos ~x64-solaris"
+KEYWORDS="~alpha ~amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ~ppc ppc64 ~riscv 
sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos ~x64-solaris"
 IUSE="doc egl-only static-libs"
 
 DEPEND="



[gentoo-commits] repo/gentoo:master commit in: media-libs/glew/

2023-12-29 Thread Sam James
commit: 8bf2bdc78dc280d37c0d9313d7eae3d33ac65855
Author: Sam James  gentoo  org>
AuthorDate: Sat Dec 30 03:03:15 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Dec 30 03:03:15 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8bf2bdc7

media-libs/glew: Stabilize 2.2.0-r1 arm, #921006

Signed-off-by: Sam James  gentoo.org>

 media-libs/glew/glew-2.2.0-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/glew/glew-2.2.0-r1.ebuild 
b/media-libs/glew/glew-2.2.0-r1.ebuild
index 05123b7894e0..1129049b1300 100644
--- a/media-libs/glew/glew-2.2.0-r1.ebuild
+++ b/media-libs/glew/glew-2.2.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 ~loong ~mips ~ppc ~ppc64 
~riscv ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos ~x64-solaris"
+KEYWORDS="~alpha ~amd64 arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv 
~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos ~x64-solaris"
 IUSE="doc egl-only static-libs"
 
 DEPEND="



[gentoo-commits] repo/gentoo:master commit in: media-libs/glew/

2023-12-29 Thread Sam James
commit: f827f1ad2b61ebe5106dd86c9452f8a94c457bab
Author: Sam James  gentoo  org>
AuthorDate: Sat Dec 30 03:03:16 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Dec 30 03:03:16 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f827f1ad

media-libs/glew: Stabilize 2.2.0-r1 sparc, #921006

Signed-off-by: Sam James  gentoo.org>

 media-libs/glew/glew-2.2.0-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/glew/glew-2.2.0-r1.ebuild 
b/media-libs/glew/glew-2.2.0-r1.ebuild
index 1129049b1300..2364c0ea9bd2 100644
--- a/media-libs/glew/glew-2.2.0-r1.ebuild
+++ b/media-libs/glew/glew-2.2.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 ~loong ~mips ~ppc ~ppc64 ~riscv 
~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos ~x64-solaris"
+KEYWORDS="~alpha ~amd64 arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv 
sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos ~x64-solaris"
 IUSE="doc egl-only static-libs"
 
 DEPEND="



[gentoo-commits] repo/gentoo:master commit in: media-libs/glew/

2023-08-28 Thread James Le Cuirot
commit: 33911b9e7d5718cac1134cdfbf861466d17035a4
Author: James Le Cuirot  gentoo  org>
AuthorDate: Sat Feb 18 22:57:18 2023 +
Commit: James Le Cuirot  gentoo  org>
CommitDate: Mon Aug 28 16:14:08 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=33911b9e

media-libs/glew: EAPI 8

Signed-off-by: James Le Cuirot  gentoo.org>

 ...-1.10.0-r100.ebuild => glew-1.10.0-r101.ebuild} |   6 +-
 ...ew-1.6.0-r100.ebuild => glew-1.6.0-r101.ebuild} |   6 +-
 media-libs/glew/glew-2.2.0-r1.ebuild   | 100 +
 3 files changed, 106 insertions(+), 6 deletions(-)

diff --git a/media-libs/glew/glew-1.10.0-r100.ebuild 
b/media-libs/glew/glew-1.10.0-r101.ebuild
similarity index 94%
rename from media-libs/glew/glew-1.10.0-r100.ebuild
rename to media-libs/glew/glew-1.10.0-r101.ebuild
index 449a8130f3d2..d577b1e7ea0c 100644
--- a/media-libs/glew/glew-1.10.0-r100.ebuild
+++ b/media-libs/glew/glew-1.10.0-r101.ebuild
@@ -1,15 +1,15 @@
 # Copyright 1999-2023 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=6
-inherit multilib-minimal toolchain-funcs versionator
+EAPI=8
+inherit multilib-minimal toolchain-funcs
 
 DESCRIPTION="The OpenGL Extension Wrangler Library"
 HOMEPAGE="https://glew.sourceforge.net/;
 SRC_URI="mirror://sourceforge/${PN}/${P}.tgz"
 
 LICENSE="BSD MIT"
-SLOT="$(get_version_component_range 1-2)"
+SLOT="$(ver_cut 1-2)"
 KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 
~amd64-linux ~x86-linux ~x64-macos ~x64-solaris"
 
 RDEPEND=">=virtual/opengl-7.0-r1[${MULTILIB_USEDEP}]

diff --git a/media-libs/glew/glew-1.6.0-r100.ebuild 
b/media-libs/glew/glew-1.6.0-r101.ebuild
similarity index 94%
rename from media-libs/glew/glew-1.6.0-r100.ebuild
rename to media-libs/glew/glew-1.6.0-r101.ebuild
index 8d79d12f3cc0..9bb6892b4030 100644
--- a/media-libs/glew/glew-1.6.0-r100.ebuild
+++ b/media-libs/glew/glew-1.6.0-r101.ebuild
@@ -1,15 +1,15 @@
 # Copyright 1999-2023 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=6
-inherit multilib-minimal toolchain-funcs versionator
+EAPI=8
+inherit multilib-minimal toolchain-funcs
 
 DESCRIPTION="The OpenGL Extension Wrangler Library"
 HOMEPAGE="https://glew.sourceforge.net/;
 SRC_URI="mirror://sourceforge/${PN}/${P}.tgz"
 
 LICENSE="BSD MIT"
-SLOT="$(get_version_component_range 1-2)"
+SLOT="$(ver_cut 1-2)"
 KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 
~amd64-linux ~x86-linux ~x64-macos ~x64-solaris"
 
 RDEPEND=">=virtual/opengl-7.0-r1[${MULTILIB_USEDEP}]"

diff --git a/media-libs/glew/glew-2.2.0-r1.ebuild 
b/media-libs/glew/glew-2.2.0-r1.ebuild
new file mode 100644
index ..249e40d44cd4
--- /dev/null
+++ b/media-libs/glew/glew-2.2.0-r1.ebuild
@@ -0,0 +1,100 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit multilib-minimal toolchain-funcs
+
+DESCRIPTION="The OpenGL Extension Wrangler Library"
+HOMEPAGE="https://glew.sourceforge.net/;
+SRC_URI="mirror://sourceforge/${PN}/${P}.tgz"
+
+LICENSE="BSD MIT"
+SLOT="0/$(ver_cut 1-2)"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 
~riscv ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos ~x64-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
+
+   default
+   multilib_copy_sources
+}
+
+glew_system() {
+   # Set the SYSTEM variable instead of probing. #523444 #595280
+   case ${CHOST} in
+   *linux*)  echo "linux" ;;
+   *-darwin*)echo "darwin" ;;
+   *-solaris*)   echo "solaris" ;;
+   mingw*|*-mingw*)  echo "mingw" ;;
+   *) die "Unknown system ${CHOST}" ;;
+   esac
+}
+
+set_opts() {
+   myglewopts=(
+   AR="$(tc-getAR)"
+   STRIP=true
+   

[gentoo-commits] repo/gentoo:master commit in: media-libs/glew/

2023-08-28 Thread James Le Cuirot
commit: a08d84420d181e57e15488de94d1f0be5643feef
Author: Chloe Nizhelskya  gmail  com>
AuthorDate: Sat Feb 11 09:49:48 2023 +
Commit: James Le Cuirot  gentoo  org>
CommitDate: Mon Aug 28 16:14:12 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a08d8442

media-libs/glew: new useflag wayland-only

Signed-off-by: Chloe Nizhelskya  gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/29544
Signed-off-by: James Le Cuirot  gentoo.org>

 media-libs/glew/glew-2.2.0-r1.ebuild | 30 ++
 1 file changed, 18 insertions(+), 12 deletions(-)

diff --git a/media-libs/glew/glew-2.2.0-r1.ebuild 
b/media-libs/glew/glew-2.2.0-r1.ebuild
index 249e40d44cd4..5335393e4ec5 100644
--- a/media-libs/glew/glew-2.2.0-r1.ebuild
+++ b/media-libs/glew/glew-2.2.0-r1.ebuild
@@ -12,15 +12,17 @@ SRC_URI="mirror://sourceforge/${PN}/${P}.tgz"
 LICENSE="BSD MIT"
 SLOT="0/$(ver_cut 1-2)"
 KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 
~riscv ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos ~x64-solaris"
-IUSE="doc static-libs"
+IUSE="doc static-libs wayland-only"
 
 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}]
+   !wayland-only? (
+   >=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}"
 
@@ -52,13 +54,17 @@ src_prepare() {
 
 glew_system() {
# Set the SYSTEM variable instead of probing. #523444 #595280
-   case ${CHOST} in
-   *linux*)  echo "linux" ;;
-   *-darwin*)echo "darwin" ;;
-   *-solaris*)   echo "solaris" ;;
-   mingw*|*-mingw*)  echo "mingw" ;;
-   *) die "Unknown system ${CHOST}" ;;
-   esac
+   if use wayland-only; then
+   echo "linux-egl"
+   else
+   case ${CHOST} in
+   *linux*)  echo "linux" ;;
+   *-darwin*)echo "darwin" ;;
+   *-solaris*)   echo "solaris" ;;
+   mingw*|*-mingw*)  echo "mingw" ;;
+   *) die "Unknown system ${CHOST}" ;;
+   esac
+   fi
 }
 
 set_opts() {



[gentoo-commits] repo/gentoo:master commit in: media-libs/glew/

2023-08-28 Thread James Le Cuirot
commit: 2380a875b7fe3af974889ade92fbd745bd3e388b
Author: James Le Cuirot  gentoo  org>
AuthorDate: Mon Aug 28 16:13:33 2023 +
Commit: James Le Cuirot  gentoo  org>
CommitDate: Mon Aug 28 16:14:15 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2380a875

media-libs/glew: Rename new wayland-only flag to egl-only

EGL is not Wayland-specific. It can be used with KMS, for example. Even X11
supports EGL, although GLEW doesn't seem to support that case. See
https://github.com/nigels-com/glew/issues/328 for more details.

Signed-off-by: James Le Cuirot  gentoo.org>

 media-libs/glew/glew-2.2.0-r1.ebuild | 6 +++---
 media-libs/glew/metadata.xml | 3 +++
 2 files changed, 6 insertions(+), 3 deletions(-)

diff --git a/media-libs/glew/glew-2.2.0-r1.ebuild 
b/media-libs/glew/glew-2.2.0-r1.ebuild
index 5335393e4ec5..05123b7894e0 100644
--- a/media-libs/glew/glew-2.2.0-r1.ebuild
+++ b/media-libs/glew/glew-2.2.0-r1.ebuild
@@ -12,12 +12,12 @@ SRC_URI="mirror://sourceforge/${PN}/${P}.tgz"
 LICENSE="BSD MIT"
 SLOT="0/$(ver_cut 1-2)"
 KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 
~riscv ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos ~x64-solaris"
-IUSE="doc static-libs wayland-only"
+IUSE="doc egl-only static-libs"
 
 DEPEND="
>=virtual/glu-9.0-r1[${MULTILIB_USEDEP}]
>=virtual/opengl-7.0-r1[${MULTILIB_USEDEP}]
-   !wayland-only? (
+   !egl-only? (
>=x11-libs/libX11-1.6.2[${MULTILIB_USEDEP}]
>=x11-libs/libXext-1.3.2[${MULTILIB_USEDEP}]
>=x11-libs/libXi-1.7.2[${MULTILIB_USEDEP}]
@@ -54,7 +54,7 @@ src_prepare() {
 
 glew_system() {
# Set the SYSTEM variable instead of probing. #523444 #595280
-   if use wayland-only; then
+   if use egl-only; then
echo "linux-egl"
else
case ${CHOST} in

diff --git a/media-libs/glew/metadata.xml b/media-libs/glew/metadata.xml
index 9dfc437a211d..f7add5ca6bd1 100644
--- a/media-libs/glew/metadata.xml
+++ b/media-libs/glew/metadata.xml
@@ -9,4 +9,7 @@
nigels-com/glew
glew

+   
+   Enable EGL support and disable X11 
support
+   
 



[gentoo-commits] repo/gentoo:master commit in: media-libs/glew/

2023-07-02 Thread James Le Cuirot
commit: 03c5907e783f3aba14b7875a0c960d0948cf1693
Author: Michael Mair-Keimberger  levelnine  at>
AuthorDate: Sun Jul  2 13:25:19 2023 +
Commit: James Le Cuirot  gentoo  org>
CommitDate: Sun Jul  2 20:27:35 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=03c5907e

media-libs/glew: use HTTPS

Signed-off-by: Michael Mair-Keimberger  levelnine.at>
Signed-off-by: James Le Cuirot  gentoo.org>

 media-libs/glew/glew-1.10.0-r100.ebuild | 2 +-
 media-libs/glew/glew-1.6.0-r100.ebuild  | 2 +-
 media-libs/glew/glew-2.2.0.ebuild   | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/media-libs/glew/glew-1.10.0-r100.ebuild 
b/media-libs/glew/glew-1.10.0-r100.ebuild
index 7130f07dcfe9..449a8130f3d2 100644
--- a/media-libs/glew/glew-1.10.0-r100.ebuild
+++ b/media-libs/glew/glew-1.10.0-r100.ebuild
@@ -5,7 +5,7 @@ EAPI=6
 inherit multilib-minimal toolchain-funcs versionator
 
 DESCRIPTION="The OpenGL Extension Wrangler Library"
-HOMEPAGE="http://glew.sourceforge.net/;
+HOMEPAGE="https://glew.sourceforge.net/;
 SRC_URI="mirror://sourceforge/${PN}/${P}.tgz"
 
 LICENSE="BSD MIT"

diff --git a/media-libs/glew/glew-1.6.0-r100.ebuild 
b/media-libs/glew/glew-1.6.0-r100.ebuild
index 527cc234db07..8d79d12f3cc0 100644
--- a/media-libs/glew/glew-1.6.0-r100.ebuild
+++ b/media-libs/glew/glew-1.6.0-r100.ebuild
@@ -5,7 +5,7 @@ EAPI=6
 inherit multilib-minimal toolchain-funcs versionator
 
 DESCRIPTION="The OpenGL Extension Wrangler Library"
-HOMEPAGE="http://glew.sourceforge.net/;
+HOMEPAGE="https://glew.sourceforge.net/;
 SRC_URI="mirror://sourceforge/${PN}/${P}.tgz"
 
 LICENSE="BSD MIT"

diff --git a/media-libs/glew/glew-2.2.0.ebuild 
b/media-libs/glew/glew-2.2.0.ebuild
index 99873e2744b9..c791acbd96d1 100644
--- a/media-libs/glew/glew-2.2.0.ebuild
+++ b/media-libs/glew/glew-2.2.0.ebuild
@@ -6,7 +6,7 @@ EAPI=7
 inherit multilib-minimal toolchain-funcs
 
 DESCRIPTION="The OpenGL Extension Wrangler Library"
-HOMEPAGE="http://glew.sourceforge.net/;
+HOMEPAGE="https://glew.sourceforge.net/;
 SRC_URI="mirror://sourceforge/${PN}/${P}.tgz"
 
 LICENSE="BSD MIT"



[gentoo-commits] repo/gentoo:master commit in: media-libs/glew/

2023-06-10 Thread Sam James
commit: d146ea0066044e0ed181e52a24d827125b5580e4
Author: Sam James  gentoo  org>
AuthorDate: Sat Jun  3 02:13:29 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Jun 10 10:23:59 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d146ea00

media-libs/glew: drop dead prefix targets

Signed-off-by: Sam James  gentoo.org>

 media-libs/glew/glew-1.10.0-r100.ebuild | 5 +
 media-libs/glew/glew-1.6.0-r100.ebuild  | 5 +
 media-libs/glew/glew-2.2.0.ebuild   | 5 +
 3 files changed, 3 insertions(+), 12 deletions(-)

diff --git a/media-libs/glew/glew-1.10.0-r100.ebuild 
b/media-libs/glew/glew-1.10.0-r100.ebuild
index 9dda504c9257..7130f07dcfe9 100644
--- a/media-libs/glew/glew-1.10.0-r100.ebuild
+++ b/media-libs/glew/glew-1.10.0-r100.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -32,8 +32,6 @@ src_prepare() {
 
# 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
 }
@@ -42,7 +40,6 @@ 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" ;;

diff --git a/media-libs/glew/glew-1.6.0-r100.ebuild 
b/media-libs/glew/glew-1.6.0-r100.ebuild
index b3a90658af0f..527cc234db07 100644
--- a/media-libs/glew/glew-1.6.0-r100.ebuild
+++ b/media-libs/glew/glew-1.6.0-r100.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -31,8 +31,6 @@ src_prepare() {
 
# 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
 }
@@ -41,7 +39,6 @@ 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" ;;

diff --git a/media-libs/glew/glew-2.2.0.ebuild 
b/media-libs/glew/glew-2.2.0.ebuild
index d803893aba5e..99873e2744b9 100644
--- a/media-libs/glew/glew-2.2.0.ebuild
+++ b/media-libs/glew/glew-2.2.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -45,8 +45,6 @@ src_prepare() {
 
# 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
@@ -56,7 +54,6 @@ 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" ;;



[gentoo-commits] repo/gentoo:master commit in: media-libs/glew/

2022-08-27 Thread WANG Xuerui
commit: ffe39c3cccb4edf0e8474bcfd996d3859e112d60
Author: WANG Xuerui  gentoo  org>
AuthorDate: Sun Aug 28 03:53:14 2022 +
Commit: WANG Xuerui  gentoo  org>
CommitDate: Sun Aug 28 05:05:55 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ffe39c3c

media-libs/glew: keyword 2.2.0 for ~loong

Signed-off-by: WANG Xuerui  gentoo.org>

 media-libs/glew/glew-2.2.0.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/media-libs/glew/glew-2.2.0.ebuild 
b/media-libs/glew/glew-2.2.0.ebuild
index d49b94eaf249..611f51d9751e 100644
--- a/media-libs/glew/glew-2.2.0.ebuild
+++ b/media-libs/glew/glew-2.2.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -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 ~riscv sparc x86 
~amd64-linux ~x86-linux ~x64-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
+KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv 
sparc x86 ~amd64-linux ~x86-linux ~x64-macos ~sparc-solaris ~x64-solaris 
~x86-solaris"
 IUSE="doc static-libs"
 
 DEPEND="



[gentoo-commits] repo/gentoo:master commit in: media-libs/glew/

2021-07-14 Thread Marek Szuba
commit: e0966aae756fb9697839d8e93625fc2731dbbce6
Author: Marek Szuba  gentoo  org>
AuthorDate: Wed Jul 14 10:38:02 2021 +
Commit: Marek Szuba  gentoo  org>
CommitDate: Wed Jul 14 16:14:43 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e0966aae

media-libs/glew: keyword 2.2.0 for ~riscv

Signed-off-by: Marek Szuba  gentoo.org>

 media-libs/glew/glew-2.2.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/glew/glew-2.2.0.ebuild 
b/media-libs/glew/glew-2.2.0.ebuild
index 940dea89413..d49b94eaf24 100644
--- a/media-libs/glew/glew-2.2.0.ebuild
+++ b/media-libs/glew/glew-2.2.0.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 sparc x86 
~amd64-linux ~x86-linux ~x64-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
+KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv sparc x86 
~amd64-linux ~x86-linux ~x64-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
 IUSE="doc static-libs"
 
 DEPEND="



[gentoo-commits] repo/gentoo:master commit in: media-libs/glew/files/

2021-03-17 Thread Sam James
commit: c7c29c9b12fd7e4da2b03dc4a82753f8a628e7e3
Author: Michael Mair-Keimberger  levelnine  at>
AuthorDate: Wed Mar 17 17:31:28 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Mar 18 00:16:34 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c7c29c9b

media-libs/glew: remove unused patch

Package-Manager: Portage-3.0.17, Repoman-3.0.2
Signed-off-by: Michael Mair-Keimberger  levelnine.at>
Closes: https://github.com/gentoo/gentoo/pull/19977
Signed-off-by: Sam James  gentoo.org>

 media-libs/glew/files/glew-2.1.0-mesa-compat.patch | 21 -
 1 file changed, 21 deletions(-)

diff --git a/media-libs/glew/files/glew-2.1.0-mesa-compat.patch 
b/media-libs/glew/files/glew-2.1.0-mesa-compat.patch
deleted file mode 100644
index 391420e8138..000
--- a/media-libs/glew/files/glew-2.1.0-mesa-compat.patch
+++ /dev/null
@@ -1,21 +0,0 @@
-diff --git a/include/GL/glew.h b/include/GL/glew.h
-index b5b6987..a9f9e4b 100644
 a/include/GL/glew.h
-+++ b/include/GL/glew.h
-@@ -93,7 +93,7 @@
- #if defined(__REGAL_H__)
- #error Regal.h included before glew.h
- #endif
--#if defined(__glext_h_) || defined(__GLEXT_H_)
-+#if defined(__glext_h_) || defined(__GLEXT_H_) || defined(__gl_glext_h_)
- #error glext.h included before glew.h
- #endif
- #if defined(__gl_ATI_h_)
-@@ -109,6 +109,7 @@
- #define __X_GL_H
- #define __glext_h_
- #define __GLEXT_H_
-+#define __gl_glext_h_
- #define __gl_ATI_h_
- 
- #if defined(_WIN32)



[gentoo-commits] repo/gentoo:master commit in: media-libs/glew/

2021-03-16 Thread Sam James
commit: 15543ff9e0ba995a9cdf6517f0b6c84827a93c7e
Author: Sam James  gentoo  org>
AuthorDate: Tue Mar 16 21:18:25 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Mar 16 21:28:26 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=15543ff9

media-libs/glew: update maintainers (add games@)

Signed-off-by: Sam James  gentoo.org>

 media-libs/glew/metadata.xml | 5 -
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/media-libs/glew/metadata.xml b/media-libs/glew/metadata.xml
index e77314e7928..a123c0ed805 100644
--- a/media-libs/glew/metadata.xml
+++ b/media-libs/glew/metadata.xml
@@ -1,7 +1,10 @@
 
 http://www.gentoo.org/dtd/metadata.dtd;>
 
-   
+   
+   ga...@gentoo.org
+   Games
+   

nigels-com/glew
glew



[gentoo-commits] repo/gentoo:master commit in: media-libs/glew/

2021-03-16 Thread Sam James
commit: 8af971bb0f00ca6334df67cdbaad8551db756548
Author: Sam James  gentoo  org>
AuthorDate: Tue Mar 16 20:20:46 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Mar 16 20:20:46 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8af971bb

media-libs/glew: Revert "drop 2.2.0"

This reverts commit 55b8eb9940f98e4cdc6594068dd4ee8de3e70f43.

Signed-off-by: Sam James  gentoo.org>

 media-libs/glew/Manifest  |   1 +
 media-libs/glew/glew-2.2.0.ebuild | 103 ++
 2 files changed, 104 insertions(+)

diff --git a/media-libs/glew/Manifest b/media-libs/glew/Manifest
index 89691cbf3ca..562165dfa7d 100644
--- a/media-libs/glew/Manifest
+++ b/media-libs/glew/Manifest
@@ -1,3 +1,4 @@
 DIST glew-1.10.0.tgz 567605 BLAKE2B 
18e2b3a4d60b69def1e68778554b43b85c69914daa20b8a64adb2e807df391a2eaff9c6cb2a3c46e5bbbf004655561ae4d2cd8a2fb883a2754f23564993a61b2
 SHA512 
0c998fda9fe01c9296a3453966c0449c9968f4f5f989065ca65f0da3830ae8d805699d0ee0362c3b18765420222ba18842b9db20986212afceb36c971ae1bdca
 DIST glew-1.6.0.tgz 494713 BLAKE2B 
17e47092e2eefcad79220232b3aeaf856541f5024bdaa65be866dd7d63ef19ad88b389dd13c2ccf9bafd175d00d18ae94185f890a3d12d61b2445f7fa9d6ba58
 SHA512 
5b8ca9e97d01d49fde591b0c55683620e0a6ddfaf5e93e03536e6217bbb548adfcd4e945a39ed3cfddac3f239b3272be1b3491f4071689d02c4bfb7e0ec44904
 DIST glew-2.1.0.tgz 764073 BLAKE2B 
081fb49ef286681657409f950fa03b97210dac3f90197b792d9128a2b9fa271181c9e64422a867b531683ab23010cfeb2f519adc32355839b67bf41934578fb3
 SHA512 
9a9b4d81482ccaac4b476c34ed537585ae754a82ebb51c3efa16d953c25cc3931be46ed2e49e79c730cd8afc6a1b78c97d52cd714044a339c3bc29734cd4d2ab
+DIST glew-2.2.0.tgz 835861 BLAKE2B 
f403f3ebd5a78d21cf5744e8e6714a0558c7cda57930751afeced966a54bc9634c070eee4d791f5948bfc60b5c03ca5f488559c6372c0953c0ffe1711a3913f3
 SHA512 
57453646635609d54f62fb32a080b82b601fd471fcfd26e109f479b3fef6dfbc24b83f4ba62916d07d62cd06d1409ad7aa19bc1cd7cf3639c103c815b8be31d1

diff --git a/media-libs/glew/glew-2.2.0.ebuild 
b/media-libs/glew/glew-2.2.0.ebuild
new file mode 100644
index 000..940dea89413
--- /dev/null
+++ b/media-libs/glew/glew-2.2.0.ebuild
@@ -0,0 +1,103 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit multilib-minimal 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/$(ver_cut 1-2)"
+KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 sparc x86 
~amd64-linux ~x86-linux ~x64-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() {
+   

[gentoo-commits] repo/gentoo:master commit in: media-libs/glew/

2021-03-16 Thread Sam James
commit: 4efdb90fd69868cdbca58416de9039eb17c47aac
Author: Sam James  gentoo  org>
AuthorDate: Tue Mar 16 20:21:15 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Mar 16 20:21:15 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4efdb90f

media-libs/glew: drop 2.1.0-r1

Signed-off-by: Sam James  gentoo.org>

 media-libs/glew/Manifest |   1 -
 media-libs/glew/glew-2.1.0-r1.ebuild | 104 ---
 2 files changed, 105 deletions(-)

diff --git a/media-libs/glew/Manifest b/media-libs/glew/Manifest
index 562165dfa7d..359a1cb6a1b 100644
--- a/media-libs/glew/Manifest
+++ b/media-libs/glew/Manifest
@@ -1,4 +1,3 @@
 DIST glew-1.10.0.tgz 567605 BLAKE2B 
18e2b3a4d60b69def1e68778554b43b85c69914daa20b8a64adb2e807df391a2eaff9c6cb2a3c46e5bbbf004655561ae4d2cd8a2fb883a2754f23564993a61b2
 SHA512 
0c998fda9fe01c9296a3453966c0449c9968f4f5f989065ca65f0da3830ae8d805699d0ee0362c3b18765420222ba18842b9db20986212afceb36c971ae1bdca
 DIST glew-1.6.0.tgz 494713 BLAKE2B 
17e47092e2eefcad79220232b3aeaf856541f5024bdaa65be866dd7d63ef19ad88b389dd13c2ccf9bafd175d00d18ae94185f890a3d12d61b2445f7fa9d6ba58
 SHA512 
5b8ca9e97d01d49fde591b0c55683620e0a6ddfaf5e93e03536e6217bbb548adfcd4e945a39ed3cfddac3f239b3272be1b3491f4071689d02c4bfb7e0ec44904
-DIST glew-2.1.0.tgz 764073 BLAKE2B 
081fb49ef286681657409f950fa03b97210dac3f90197b792d9128a2b9fa271181c9e64422a867b531683ab23010cfeb2f519adc32355839b67bf41934578fb3
 SHA512 
9a9b4d81482ccaac4b476c34ed537585ae754a82ebb51c3efa16d953c25cc3931be46ed2e49e79c730cd8afc6a1b78c97d52cd714044a339c3bc29734cd4d2ab
 DIST glew-2.2.0.tgz 835861 BLAKE2B 
f403f3ebd5a78d21cf5744e8e6714a0558c7cda57930751afeced966a54bc9634c070eee4d791f5948bfc60b5c03ca5f488559c6372c0953c0ffe1711a3913f3
 SHA512 
57453646635609d54f62fb32a080b82b601fd471fcfd26e109f479b3fef6dfbc24b83f4ba62916d07d62cd06d1409ad7aa19bc1cd7cf3639c103c815b8be31d1

diff --git a/media-libs/glew/glew-2.1.0-r1.ebuild 
b/media-libs/glew/glew-2.1.0-r1.ebuild
deleted file mode 100644
index 8688c0b15c1..000
--- a/media-libs/glew/glew-2.1.0-r1.ebuild
+++ /dev/null
@@ -1,104 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit multilib-minimal 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/$(ver_cut 1-2)"
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 sparc x86 
~amd64-linux ~x86-linux ~x64-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
-   "${FILESDIR}"/${P}-mesa-compat.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() {
-   

[gentoo-commits] repo/gentoo:master commit in: media-libs/glew/

2020-07-27 Thread Sam James
commit: 9846228a3b9a944f095800946114ecf15a33ed50
Author: Sam James  gentoo  org>
AuthorDate: Mon Jul 27 13:48:00 2020 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Jul 27 13:54:06 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9846228a

media-libs/glew: arm stable (bug #733562)

Package-Manager: Portage-3.0.0, Repoman-2.3.23
Signed-off-by: Sam James  gentoo.org>

 media-libs/glew/glew-2.2.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/glew/glew-2.2.0.ebuild 
b/media-libs/glew/glew-2.2.0.ebuild
index f168d220d5d..b7e77ecab07 100644
--- a/media-libs/glew/glew-2.2.0.ebuild
+++ b/media-libs/glew/glew-2.2.0.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 sparc ~x86 
~amd64-linux ~x86-linux ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris 
~x86-solaris"
+KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 sparc ~x86 
~amd64-linux ~x86-linux ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris 
~x86-solaris"
 IUSE="doc static-libs"
 
 DEPEND="



[gentoo-commits] repo/gentoo:master commit in: media-libs/glew/

2020-07-25 Thread Sam James
commit: 631f9fa7c529d176e7539fb9f7ca576521d0a0ca
Author: Sam James  gentoo  org>
AuthorDate: Sat Jul 25 10:50:17 2020 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Jul 25 11:16:44 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=631f9fa7

media-libs/glew: arm64 stable (bug #733562)

Package-Manager: Portage-3.0.0, Repoman-2.3.23
Signed-off-by: Sam James  gentoo.org>

 media-libs/glew/glew-2.2.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/glew/glew-2.2.0.ebuild 
b/media-libs/glew/glew-2.2.0.ebuild
index 3db9c4d4970..f168d220d5d 100644
--- a/media-libs/glew/glew-2.2.0.ebuild
+++ b/media-libs/glew/glew-2.2.0.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 sparc ~x86 
~amd64-linux ~x86-linux ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris 
~x86-solaris"
+KEYWORDS="~alpha amd64 ~arm arm64 ~hppa ~ia64 ~mips ppc ppc64 sparc ~x86 
~amd64-linux ~x86-linux ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris 
~x86-solaris"
 IUSE="doc static-libs"
 
 DEPEND="



[gentoo-commits] repo/gentoo:master commit in: media-libs/glew/

2020-07-25 Thread Sergei Trofimovich
commit: 71bd21295682ee1aa4b8cb36294b986f982ea7d6
Author: Rolf Eike Beer  sf-mail  de>
AuthorDate: Sat Jul 25 08:24:07 2020 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Sat Jul 25 08:42:05 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=71bd2129

media-libs/glew: stable 2.2.0 for sparc, bug #733562

Package-Manager: Portage-2.3.103, Repoman-2.3.23
RepoMan-Options: --include-arches="sparc"
Signed-off-by: Rolf Eike Beer  sf-mail.de>
Signed-off-by: Sergei Trofimovich  gentoo.org>

 media-libs/glew/glew-2.2.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/glew/glew-2.2.0.ebuild 
b/media-libs/glew/glew-2.2.0.ebuild
index 2488bcda2e7..3db9c4d4970 100644
--- a/media-libs/glew/glew-2.2.0.ebuild
+++ b/media-libs/glew/glew-2.2.0.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 ~sparc ~x86 
~amd64-linux ~x86-linux ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris 
~x86-solaris"
+KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ppc ppc64 sparc ~x86 
~amd64-linux ~x86-linux ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris 
~x86-solaris"
 IUSE="doc static-libs"
 
 DEPEND="



[gentoo-commits] repo/gentoo:master commit in: media-libs/glew/

2020-07-24 Thread Sam James
commit: 7c5cc375c7e34e2ddc1d2edb25498240b12155b2
Author: Sam James  gentoo  org>
AuthorDate: Fri Jul 24 12:32:01 2020 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Jul 24 14:32:38 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7c5cc375

media-libs/glew: ppc stable (bug #733562)

Package-Manager: Portage-3.0.0, Repoman-2.3.23
Signed-off-by: Sam James  gentoo.org>

 media-libs/glew/glew-2.2.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/glew/glew-2.2.0.ebuild 
b/media-libs/glew/glew-2.2.0.ebuild
index 6491ee54960..2488bcda2e7 100644
--- a/media-libs/glew/glew-2.2.0.ebuild
+++ b/media-libs/glew/glew-2.2.0.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 ~sparc ~x86 
~amd64-linux ~x86-linux ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris 
~x86-solaris"
+KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ppc ppc64 ~sparc ~x86 
~amd64-linux ~x86-linux ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris 
~x86-solaris"
 IUSE="doc static-libs"
 
 DEPEND="



[gentoo-commits] repo/gentoo:master commit in: media-libs/glew/

2020-07-24 Thread Sam James
commit: 14bd94afa4bd3bee7dc99a707c2faea3cb665ad5
Author: Sam James  gentoo  org>
AuthorDate: Fri Jul 24 11:52:33 2020 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Jul 24 11:54:18 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=14bd94af

media-libs/glew: amd64 stable (bug #733562)

Package-Manager: Portage-3.0.0, Repoman-2.3.23
Signed-off-by: Sam James  gentoo.org>

 media-libs/glew/glew-2.2.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/glew/glew-2.2.0.ebuild 
b/media-libs/glew/glew-2.2.0.ebuild
index ec97cc33857..6491ee54960 100644
--- a/media-libs/glew/glew-2.2.0.ebuild
+++ b/media-libs/glew/glew-2.2.0.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 ~sparc ~x86 
~amd64-linux ~x86-linux ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris 
~x86-solaris"
+KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ppc64 ~sparc ~x86 
~amd64-linux ~x86-linux ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris 
~x86-solaris"
 IUSE="doc static-libs"
 
 DEPEND="



[gentoo-commits] repo/gentoo:master commit in: media-libs/glew/

2020-07-24 Thread Sam James
commit: 45558c18a4d793e118989cb54aa29474c3f3b494
Author: Sam James  gentoo  org>
AuthorDate: Fri Jul 24 07:16:27 2020 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Jul 24 07:16:57 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=45558c18

media-libs/glew: ppc64 stable (bug #733562)

Package-Manager: Portage-3.0.0, Repoman-2.3.23
Signed-off-by: Sam James  gentoo.org>

 media-libs/glew/glew-2.2.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/glew/glew-2.2.0.ebuild 
b/media-libs/glew/glew-2.2.0.ebuild
index bec447dbda5..ec97cc33857 100644
--- a/media-libs/glew/glew-2.2.0.ebuild
+++ b/media-libs/glew/glew-2.2.0.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 ~sparc ~x86 
~amd64-linux ~x86-linux ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris 
~x86-solaris"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ppc64 ~sparc ~x86 
~amd64-linux ~x86-linux ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris 
~x86-solaris"
 IUSE="doc static-libs"
 
 DEPEND="



[gentoo-commits] repo/gentoo:master commit in: media-libs/glew/

2020-05-07 Thread Lars Wendler
commit: 83a7ed25d64d529cfee19489e17f09d5c968ff07
Author: Lars Wendler  gentoo  org>
AuthorDate: Thu May  7 10:36:40 2020 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Thu May  7 12:42:30 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=83a7ed25

media-libs/glew: Bump to version 2.2.0

Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Lars Wendler  gentoo.org>

 media-libs/glew/Manifest  |   1 +
 media-libs/glew/glew-2.2.0.ebuild | 103 ++
 2 files changed, 104 insertions(+)

diff --git a/media-libs/glew/Manifest b/media-libs/glew/Manifest
index 89691cbf3ca..562165dfa7d 100644
--- a/media-libs/glew/Manifest
+++ b/media-libs/glew/Manifest
@@ -1,3 +1,4 @@
 DIST glew-1.10.0.tgz 567605 BLAKE2B 
18e2b3a4d60b69def1e68778554b43b85c69914daa20b8a64adb2e807df391a2eaff9c6cb2a3c46e5bbbf004655561ae4d2cd8a2fb883a2754f23564993a61b2
 SHA512 
0c998fda9fe01c9296a3453966c0449c9968f4f5f989065ca65f0da3830ae8d805699d0ee0362c3b18765420222ba18842b9db20986212afceb36c971ae1bdca
 DIST glew-1.6.0.tgz 494713 BLAKE2B 
17e47092e2eefcad79220232b3aeaf856541f5024bdaa65be866dd7d63ef19ad88b389dd13c2ccf9bafd175d00d18ae94185f890a3d12d61b2445f7fa9d6ba58
 SHA512 
5b8ca9e97d01d49fde591b0c55683620e0a6ddfaf5e93e03536e6217bbb548adfcd4e945a39ed3cfddac3f239b3272be1b3491f4071689d02c4bfb7e0ec44904
 DIST glew-2.1.0.tgz 764073 BLAKE2B 
081fb49ef286681657409f950fa03b97210dac3f90197b792d9128a2b9fa271181c9e64422a867b531683ab23010cfeb2f519adc32355839b67bf41934578fb3
 SHA512 
9a9b4d81482ccaac4b476c34ed537585ae754a82ebb51c3efa16d953c25cc3931be46ed2e49e79c730cd8afc6a1b78c97d52cd714044a339c3bc29734cd4d2ab
+DIST glew-2.2.0.tgz 835861 BLAKE2B 
f403f3ebd5a78d21cf5744e8e6714a0558c7cda57930751afeced966a54bc9634c070eee4d791f5948bfc60b5c03ca5f488559c6372c0953c0ffe1711a3913f3
 SHA512 
57453646635609d54f62fb32a080b82b601fd471fcfd26e109f479b3fef6dfbc24b83f4ba62916d07d62cd06d1409ad7aa19bc1cd7cf3639c103c815b8be31d1

diff --git a/media-libs/glew/glew-2.2.0.ebuild 
b/media-libs/glew/glew-2.2.0.ebuild
new file mode 100644
index 000..bec447dbda5
--- /dev/null
+++ b/media-libs/glew/glew-2.2.0.ebuild
@@ -0,0 +1,103 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit multilib-minimal 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/$(ver_cut 1-2)"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 
~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() 

[gentoo-commits] repo/gentoo:master commit in: media-libs/glew/

2019-05-20 Thread Aaron Bauman
commit: c6ca55f2946a72b1ab4a71c97c308214f58b6809
Author: Aaron Bauman  gentoo  org>
AuthorDate: Mon May 20 17:08:16 2019 +
Commit: Aaron Bauman  gentoo  org>
CommitDate: Mon May 20 17:22:22 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c6ca55f2

media-libs/glew: arm64 stable

Signed-off-by: Aaron Bauman  gentoo.org>
Package-Manager: Portage-2.3.66, Repoman-2.3.12
RepoMan-Options: --include-arches="arm64"

 media-libs/glew/glew-2.1.0-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/glew/glew-2.1.0-r1.ebuild 
b/media-libs/glew/glew-2.1.0-r1.ebuild
index ea8e0230b11..b488e1f7473 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="



[gentoo-commits] repo/gentoo:master commit in: media-libs/glew/

2019-02-10 Thread Mikle Kolyada
commit: 9fef7ea3d8b99e4c8fa16a6c10ee56a5c7640f0a
Author: Mikle Kolyada  gentoo  org>
AuthorDate: Sun Feb 10 11:45:25 2019 +
Commit: Mikle Kolyada  gentoo  org>
CommitDate: Sun Feb 10 11:45:25 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9fef7ea3

media-libs/glew: arm stable wrt bug #676572

Signed-off-by: Mikle Kolyada  gentoo.org>
Package-Manager: Portage-2.3.51, Repoman-2.3.11

 media-libs/glew/glew-2.1.0-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/glew/glew-2.1.0-r1.ebuild 
b/media-libs/glew/glew-2.1.0-r1.ebuild
index 9817f963c0d..097d17d1b33 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="



[gentoo-commits] repo/gentoo:master commit in: media-libs/glew/

2019-02-10 Thread Mikle Kolyada
commit: 9081cdf00ddc7a91cf16c6a61eb34faed5f97977
Author: Mikle Kolyada  gentoo  org>
AuthorDate: Sun Feb 10 11:51:18 2019 +
Commit: Mikle Kolyada  gentoo  org>
CommitDate: Sun Feb 10 11:51:18 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9081cdf0

media-libs/glew: [QA] Do not use globs fro dodoc

Signed-off-by: Mikle Kolyada  gentoo.org>
Package-Manager: Portage-2.3.51, Repoman-2.3.11

 media-libs/glew/glew-2.1.0-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/glew/glew-2.1.0-r1.ebuild 
b/media-libs/glew/glew-2.1.0-r1.ebuild
index 097d17d1b33..ea8e0230b11 100644
--- a/media-libs/glew/glew-2.1.0-r1.ebuild
+++ b/media-libs/glew/glew-2.1.0-r1.ebuild
@@ -99,6 +99,6 @@ multilib_src_install() {
dodoc README.md
if use doc; then
docinto html
-   dodoc doc/*
+   dodoc -r doc
fi
 }



[gentoo-commits] repo/gentoo:master commit in: media-libs/glew/

2019-02-10 Thread Mikle Kolyada
commit: 3bc3f692a859322b0ccc80ac54c4be08c50130dc
Author: Mikle Kolyada  gentoo  org>
AuthorDate: Sun Feb 10 11:44:26 2019 +
Commit: Mikle Kolyada  gentoo  org>
CommitDate: Sun Feb 10 11:44:26 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3bc3f692

media-libs/glew: amd64 stable wrt bug #676572

Signed-off-by: Mikle Kolyada  gentoo.org>
Package-Manager: Portage-2.3.51, Repoman-2.3.11

 media-libs/glew/glew-2.1.0-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/glew/glew-2.1.0-r1.ebuild 
b/media-libs/glew/glew-2.1.0-r1.ebuild
index bf24a6714bc..9817f963c0d 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="



[gentoo-commits] repo/gentoo:master commit in: media-libs/glew/

2019-02-10 Thread Mikle Kolyada
commit: bfda8e85b17a80677af22d51b371c18e2494cd3e
Author: Mikle Kolyada  gentoo  org>
AuthorDate: Sun Feb 10 11:47:38 2019 +
Commit: Mikle Kolyada  gentoo  org>
CommitDate: Sun Feb 10 11:47:38 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bfda8e85

media-libs/glew: Drop old

Signed-off-by: Mikle Kolyada  gentoo.org>
Package-Manager: Portage-2.3.51, Repoman-2.3.11

 media-libs/glew/glew-2.1.0.ebuild | 101 --
 1 file changed, 101 deletions(-)

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 68426a2fd5e..000
--- 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
-}



[gentoo-commits] repo/gentoo:master commit in: media-libs/glew/

2019-02-02 Thread Sergei Trofimovich
commit: 74f19d41fb826a651043d06f408072a8de531b76
Author: Sergei Trofimovich  gentoo  org>
AuthorDate: Sat Feb  2 21:14:02 2019 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Sat Feb  2 21:14:02 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=74f19d41

media-libs/glew: stable 2.1.0-r1 for ppc64, bug #676572

Package-Manager: Portage-2.3.59, Repoman-2.3.12
RepoMan-Options: --include-arches="ppc64"
Signed-off-by: Sergei Trofimovich  gentoo.org>

 media-libs/glew/glew-2.1.0-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/glew/glew-2.1.0-r1.ebuild 
b/media-libs/glew/glew-2.1.0-r1.ebuild
index 26bec778c8f..cddeb537619 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="



[gentoo-commits] repo/gentoo:master commit in: media-libs/glew/

2019-02-02 Thread Sergei Trofimovich
commit: 74713bd589615d1841dade719305ffbcaa616ccb
Author: Sergei Trofimovich  gentoo  org>
AuthorDate: Sat Feb  2 19:12:22 2019 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Sat Feb  2 19:12:22 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=74713bd5

media-libs/glew: stable 2.1.0-r1 for ia64, bug #676572

Package-Manager: Portage-2.3.59, Repoman-2.3.12
RepoMan-Options: --include-arches="ia64"
Signed-off-by: Sergei Trofimovich  gentoo.org>

 media-libs/glew/glew-2.1.0-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/glew/glew-2.1.0-r1.ebuild 
b/media-libs/glew/glew-2.1.0-r1.ebuild
index fc0655b5ccb..0e646a93007 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="



[gentoo-commits] repo/gentoo:master commit in: media-libs/glew/

2019-02-01 Thread Tobias Klausmann
commit: 94410a1715837b82e6a04fb2af2b41f2a0e56a36
Author: Tobias Klausmann  gentoo  org>
AuthorDate: Fri Feb  1 14:54:24 2019 +
Commit: Tobias Klausmann  gentoo  org>
CommitDate: Fri Feb  1 14:54:24 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=94410a17

media-libs/glew-2.1.0-r1: alpha stable

Bug: http://bugs.gentoo.org/676572
Signed-off-by: Tobias Klausmann  gentoo.org>

 media-libs/glew/glew-2.1.0-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/glew/glew-2.1.0-r1.ebuild 
b/media-libs/glew/glew-2.1.0-r1.ebuild
index ddf1077b5fb..fc0655b5ccb 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="



[gentoo-commits] repo/gentoo:master commit in: media-libs/glew/

2019-01-28 Thread Sergei Trofimovich
commit: e6ec88547577ea523beaf7fbce0430528953bd56
Author: Rolf Eike Beer  sf-mail  de>
AuthorDate: Mon Jan 28 16:29:12 2019 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Mon Jan 28 19:37:55 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e6ec8854

media-libs/glew: stable 2.1.0-r1 for sparc, bug #676572

Signed-off-by: Rolf Eike Beer  sf-mail.de>
Package-Manager: Portage-2.3.51, Repoman-2.3.11
RepoMan-Options: --include-arches="sparc"
Signed-off-by: Sergei Trofimovich  gentoo.org>

 media-libs/glew/glew-2.1.0-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/glew/glew-2.1.0-r1.ebuild 
b/media-libs/glew/glew-2.1.0-r1.ebuild
index 4b13c557e27..ddf1077b5fb 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="



[gentoo-commits] repo/gentoo:master commit in: media-libs/glew/, media-libs/glew/files/

2019-01-15 Thread Craig Andrews
commit: 76a4ccbb500e479ff544c6a49227f654d7e72a19
Author: Bernd Waibel  gmail  com>
AuthorDate: Sun Jan 13 19:35:23 2019 +
Commit: Craig Andrews  gentoo  org>
CommitDate: Tue Jan 15 20:11:27 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=76a4ccbb

media-libs/glew: add mesa compatibility

* update to EAPI 7
* add compatibility for >=mesa-18 in glext.h

Closes: https://bugs.gentoo.org/671486
Closes: https://bugs.gentoo.org/673172
Package-Manager: Portage-2.3.54, Repoman-2.3.12
Signed-off-by: Bernd Waibel  gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/10828
Signed-off-by: Craig Andrews  gentoo.org>

 media-libs/glew/files/glew-2.1.0-mesa-compat.patch |  21 +
 media-libs/glew/glew-2.1.0-r1.ebuild   | 104 +
 2 files changed, 125 insertions(+)

diff --git a/media-libs/glew/files/glew-2.1.0-mesa-compat.patch 
b/media-libs/glew/files/glew-2.1.0-mesa-compat.patch
new file mode 100644
index 000..391420e8138
--- /dev/null
+++ b/media-libs/glew/files/glew-2.1.0-mesa-compat.patch
@@ -0,0 +1,21 @@
+diff --git a/include/GL/glew.h b/include/GL/glew.h
+index b5b6987..a9f9e4b 100644
+--- a/include/GL/glew.h
 b/include/GL/glew.h
+@@ -93,7 +93,7 @@
+ #if defined(__REGAL_H__)
+ #error Regal.h included before glew.h
+ #endif
+-#if defined(__glext_h_) || defined(__GLEXT_H_)
++#if defined(__glext_h_) || defined(__GLEXT_H_) || defined(__gl_glext_h_)
+ #error glext.h included before glew.h
+ #endif
+ #if defined(__gl_ATI_h_)
+@@ -109,6 +109,7 @@
+ #define __X_GL_H
+ #define __glext_h_
+ #define __GLEXT_H_
++#define __gl_glext_h_
+ #define __gl_ATI_h_
+ 
+ #if defined(_WIN32)

diff --git a/media-libs/glew/glew-2.1.0-r1.ebuild 
b/media-libs/glew/glew-2.1.0-r1.ebuild
new file mode 100644
index 000..4b13c557e27
--- /dev/null
+++ b/media-libs/glew/glew-2.1.0-r1.ebuild
@@ -0,0 +1,104 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit multilib-minimal 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/$(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"
+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
+   "${FILESDIR}"/${P}-mesa-compat.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" \
+   

[gentoo-commits] repo/gentoo:master commit in: media-libs/glew/

2018-10-01 Thread Andreas Sturmlechner
commit: 1f162c1eb7bf479585008fdda439b6ea0408a014
Author: Andreas Sturmlechner  gentoo  org>
AuthorDate: Sun Sep 30 17:39:33 2018 +
Commit: Andreas Sturmlechner  gentoo  org>
CommitDate: Mon Oct  1 20:54:48 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1f162c1e

media-libs/glew: Drop 1.13.0

Signed-off-by: Andreas Sturmlechner  gentoo.org>
Package-Manager: Portage-2.3.50, Repoman-2.3.11

 media-libs/glew/Manifest   |  1 -
 media-libs/glew/glew-1.13.0.ebuild | 97 --
 2 files changed, 98 deletions(-)

diff --git a/media-libs/glew/Manifest b/media-libs/glew/Manifest
index f633236efe2..89691cbf3ca 100644
--- a/media-libs/glew/Manifest
+++ b/media-libs/glew/Manifest
@@ -1,4 +1,3 @@
 DIST glew-1.10.0.tgz 567605 BLAKE2B 
18e2b3a4d60b69def1e68778554b43b85c69914daa20b8a64adb2e807df391a2eaff9c6cb2a3c46e5bbbf004655561ae4d2cd8a2fb883a2754f23564993a61b2
 SHA512 
0c998fda9fe01c9296a3453966c0449c9968f4f5f989065ca65f0da3830ae8d805699d0ee0362c3b18765420222ba18842b9db20986212afceb36c971ae1bdca
-DIST glew-1.13.0.tgz 616070 BLAKE2B 
73a1fa4f3a49a072c7c23c2976775521c85afe4aec7fad6d91d9e3b4df380b37f5410d3e9b2dd31ac903b6d805635e2e1c3db79d6d4864606bf721304cf00379
 SHA512 
8fc8d7c0d2cd9235ea51db9972f492701827bff40642fdb3cc54c10b0737dba8e6d8d0dcd8c5aa5bfaaae39c6198ba3d4292cd1662fbe1977eb9a5d187ba635f
 DIST glew-1.6.0.tgz 494713 BLAKE2B 
17e47092e2eefcad79220232b3aeaf856541f5024bdaa65be866dd7d63ef19ad88b389dd13c2ccf9bafd175d00d18ae94185f890a3d12d61b2445f7fa9d6ba58
 SHA512 
5b8ca9e97d01d49fde591b0c55683620e0a6ddfaf5e93e03536e6217bbb548adfcd4e945a39ed3cfddac3f239b3272be1b3491f4071689d02c4bfb7e0ec44904
 DIST glew-2.1.0.tgz 764073 BLAKE2B 
081fb49ef286681657409f950fa03b97210dac3f90197b792d9128a2b9fa271181c9e64422a867b531683ab23010cfeb2f519adc32355839b67bf41934578fb3
 SHA512 
9a9b4d81482ccaac4b476c34ed537585ae754a82ebb51c3efa16d953c25cc3931be46ed2e49e79c730cd8afc6a1b78c97d52cd714044a339c3bc29734cd4d2ab

diff --git a/media-libs/glew/glew-1.13.0.ebuild 
b/media-libs/glew/glew-1.13.0.ebuild
deleted file mode 100644
index ef65901cb77..000
--- a/media-libs/glew/glew-1.13.0.ebuild
+++ /dev/null
@@ -1,97 +0,0 @@
-# Copyright 1999-2017 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() {
-   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_DEST="${EPREFIX}/usr" \
-   LIBDIR="${EPREFIX}/usr/$(get_libdir)" \
-   "${myglewopts[@]}"
-}
-
-multilib_src_install() {
-   set_opts
-   emake \
-   GLEW_DEST="${ED}/usr" \
- 

[gentoo-commits] repo/gentoo:master commit in: media-libs/glew/

2018-10-01 Thread Andreas Sturmlechner
commit: 6e0a545f102297caffcab70ddd4902486c67245f
Author: Andreas Sturmlechner  gentoo  org>
AuthorDate: Sun Sep 30 17:38:29 2018 +
Commit: Andreas Sturmlechner  gentoo  org>
CommitDate: Mon Oct  1 20:54:48 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6e0a545f

media-libs/glew: Drop 2.0.0, 1.10.0-r2

Signed-off-by: Andreas Sturmlechner  gentoo.org>
Package-Manager: Portage-2.3.50, Repoman-2.3.11

 media-libs/glew/Manifest  |   1 -
 media-libs/glew/glew-1.10.0-r2.ebuild |  87 -
 media-libs/glew/glew-2.0.0.ebuild | 100 --
 3 files changed, 188 deletions(-)

diff --git a/media-libs/glew/Manifest b/media-libs/glew/Manifest
index 8838d2db0e9..f633236efe2 100644
--- a/media-libs/glew/Manifest
+++ b/media-libs/glew/Manifest
@@ -1,5 +1,4 @@
 DIST glew-1.10.0.tgz 567605 BLAKE2B 
18e2b3a4d60b69def1e68778554b43b85c69914daa20b8a64adb2e807df391a2eaff9c6cb2a3c46e5bbbf004655561ae4d2cd8a2fb883a2754f23564993a61b2
 SHA512 
0c998fda9fe01c9296a3453966c0449c9968f4f5f989065ca65f0da3830ae8d805699d0ee0362c3b18765420222ba18842b9db20986212afceb36c971ae1bdca
 DIST glew-1.13.0.tgz 616070 BLAKE2B 
73a1fa4f3a49a072c7c23c2976775521c85afe4aec7fad6d91d9e3b4df380b37f5410d3e9b2dd31ac903b6d805635e2e1c3db79d6d4864606bf721304cf00379
 SHA512 
8fc8d7c0d2cd9235ea51db9972f492701827bff40642fdb3cc54c10b0737dba8e6d8d0dcd8c5aa5bfaaae39c6198ba3d4292cd1662fbe1977eb9a5d187ba635f
 DIST glew-1.6.0.tgz 494713 BLAKE2B 
17e47092e2eefcad79220232b3aeaf856541f5024bdaa65be866dd7d63ef19ad88b389dd13c2ccf9bafd175d00d18ae94185f890a3d12d61b2445f7fa9d6ba58
 SHA512 
5b8ca9e97d01d49fde591b0c55683620e0a6ddfaf5e93e03536e6217bbb548adfcd4e945a39ed3cfddac3f239b3272be1b3491f4071689d02c4bfb7e0ec44904
-DIST glew-2.0.0.tgz 667340 BLAKE2B 
e44fc13a222d613e2cad4717dce24a86941e7ef60331a4c18ac6aeeea09dd51fd3d1f40ec3a77341158911c26ff2c45eaf2df8e002fafda145ae6e89fae6c440
 SHA512 
e9bcd5f19a4495ce6511dfd76e64b4e4d958603c513ee9063eb9fe24fc6e0413f168620661230f1baef558f2f907cef7fe7ab2bdf957a6f7bda5fe96e9319c6a
 DIST glew-2.1.0.tgz 764073 BLAKE2B 
081fb49ef286681657409f950fa03b97210dac3f90197b792d9128a2b9fa271181c9e64422a867b531683ab23010cfeb2f519adc32355839b67bf41934578fb3
 SHA512 
9a9b4d81482ccaac4b476c34ed537585ae754a82ebb51c3efa16d953c25cc3931be46ed2e49e79c730cd8afc6a1b78c97d52cd714044a339c3bc29734cd4d2ab

diff --git a/media-libs/glew/glew-1.10.0-r2.ebuild 
b/media-libs/glew/glew-1.10.0-r2.ebuild
deleted file mode 100644
index 187ff99392b..000
--- a/media-libs/glew/glew-1.10.0-r2.ebuild
+++ /dev/null
@@ -1,87 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-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 ~amd64-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}]"
-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
-}
-
-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=""
-

[gentoo-commits] repo/gentoo:master commit in: media-libs/glew/

2018-05-30 Thread Mikle Kolyada
commit: 9f2df523e1ca404e520f29036d70cbc3f661c60d
Author: Mikle Kolyada  gentoo  org>
AuthorDate: Wed May 30 16:10:08 2018 +
Commit: Mikle Kolyada  gentoo  org>
CommitDate: Wed May 30 16:10:08 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9f2df523

media-libs/glew:  ppc stable wrt bug #649078

Package-Manager: Portage-2.3.24, Repoman-2.3.6

 media-libs/glew/glew-2.1.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/glew/glew-2.1.0.ebuild 
b/media-libs/glew/glew-2.1.0.ebuild
index cf43bf32b3c..68426a2fd5e 100644
--- a/media-libs/glew/glew-2.1.0.ebuild
+++ b/media-libs/glew/glew-2.1.0.ebuild
@@ -11,7 +11,7 @@ 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"
+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="



[gentoo-commits] repo/gentoo:master commit in: media-libs/glew/

2018-04-21 Thread Mikle Kolyada
commit: c264595987a8b860d42b1f4f2358654a713008eb
Author: Mikle Kolyada  gentoo  org>
AuthorDate: Sat Apr 21 08:56:10 2018 +
Commit: Mikle Kolyada  gentoo  org>
CommitDate: Sat Apr 21 08:56:28 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c2645959

media-libs/glew: arm stable wrt bug #649078

Package-Manager: Portage-2.3.24, Repoman-2.3.6

 media-libs/glew/glew-2.1.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/glew/glew-2.1.0.ebuild 
b/media-libs/glew/glew-2.1.0.ebuild
index 41fba1f27dd..cf43bf32b3c 100644
--- a/media-libs/glew/glew-2.1.0.ebuild
+++ b/media-libs/glew/glew-2.1.0.ebuild
@@ -11,7 +11,7 @@ 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"
+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="



[gentoo-commits] repo/gentoo:master commit in: media-libs/glew/

2018-04-07 Thread Sergei Trofimovich
commit: af41ed78ddc81de628d83f6ae2a4c34e751ec3c7
Author: Sergei Trofimovich  gentoo  org>
AuthorDate: Sat Apr  7 21:29:28 2018 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Sat Apr  7 21:30:45 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=af41ed78

media-libs/glew: stable 2.1.0 for ppc64, bug #649078

Package-Manager: Portage-2.3.28, Repoman-2.3.9
RepoMan-Options: --include-arches="ppc64"

 media-libs/glew/glew-2.1.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/glew/glew-2.1.0.ebuild 
b/media-libs/glew/glew-2.1.0.ebuild
index 229a4f52130..da95b824c04 100644
--- a/media-libs/glew/glew-2.1.0.ebuild
+++ b/media-libs/glew/glew-2.1.0.ebuild
@@ -11,7 +11,7 @@ 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"
+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="



[gentoo-commits] repo/gentoo:master commit in: media-libs/glew/

2018-03-31 Thread Tobias Klausmann
commit: 123101b63bc9f537d12c06fb743ac2849d26232a
Author: Tobias Klausmann  gentoo  org>
AuthorDate: Sat Mar 31 17:52:15 2018 +
Commit: Tobias Klausmann  gentoo  org>
CommitDate: Sat Mar 31 17:52:27 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=123101b6

media-libs/glew-2.1.0-r0: alpha stable

Gentoo-Bug: http://bugs.gentoo.org/649078

 media-libs/glew/glew-2.1.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/glew/glew-2.1.0.ebuild 
b/media-libs/glew/glew-2.1.0.ebuild
index a941e95035c..229a4f52130 100644
--- a/media-libs/glew/glew-2.1.0.ebuild
+++ b/media-libs/glew/glew-2.1.0.ebuild
@@ -11,7 +11,7 @@ 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"
+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="



[gentoo-commits] repo/gentoo:master commit in: media-libs/glew/

2018-03-18 Thread Mikle Kolyada
commit: 7d1c80916c34a204320fbbb9cd7bd647bc020c87
Author: Mikle Kolyada  gentoo  org>
AuthorDate: Sun Mar 18 12:25:18 2018 +
Commit: Mikle Kolyada  gentoo  org>
CommitDate: Sun Mar 18 12:25:18 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7d1c8091

media-libs/glew: amd64 stable wrt bug #649078

Package-Manager: Portage-2.3.24, Repoman-2.3.6

 media-libs/glew/glew-2.1.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/glew/glew-2.1.0.ebuild 
b/media-libs/glew/glew-2.1.0.ebuild
index f3e6853fa51..a941e95035c 100644
--- a/media-libs/glew/glew-2.1.0.ebuild
+++ b/media-libs/glew/glew-2.1.0.ebuild
@@ -11,7 +11,7 @@ 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"
+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="



[gentoo-commits] repo/gentoo:master commit in: media-libs/glew/

2018-03-18 Thread Sergei Trofimovich
commit: 6f51141f764fc353ddf253fee8ce4ae39c7385ea
Author: Sergei Trofimovich  gentoo  org>
AuthorDate: Sun Mar 18 11:15:02 2018 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Sun Mar 18 11:15:02 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6f51141f

media-libs/glew: stable 2.1.0 for ia64, bug #649078

Package-Manager: Portage-2.3.24, Repoman-2.3.6
RepoMan-Options: --include-arches="ia64"

 media-libs/glew/glew-2.1.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/glew/glew-2.1.0.ebuild 
b/media-libs/glew/glew-2.1.0.ebuild
index e2edafd0db0..f3e6853fa51 100644
--- a/media-libs/glew/glew-2.1.0.ebuild
+++ b/media-libs/glew/glew-2.1.0.ebuild
@@ -11,7 +11,7 @@ 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"
+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="



[gentoo-commits] repo/gentoo:master commit in: media-libs/glew/

2018-03-17 Thread Sergei Trofimovich
commit: 6d36957a7726505ffdf0bf50de0242789680d61a
Author: Rolf Eike Beer  sf-mail  de>
AuthorDate: Sat Mar 17 09:27:33 2018 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Sat Mar 17 12:16:57 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6d36957a

media-libs/glew: stable 2.1.0 for sparc, bug #649078

Package-Manager: Portage-2.3.24, Repoman-2.3.6
RepoMan-Options: --include-arches="sparc"

 media-libs/glew/glew-2.1.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/glew/glew-2.1.0.ebuild 
b/media-libs/glew/glew-2.1.0.ebuild
index f003f13e40c..e2edafd0db0 100644
--- a/media-libs/glew/glew-2.1.0.ebuild
+++ b/media-libs/glew/glew-2.1.0.ebuild
@@ -11,7 +11,7 @@ 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"
+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="



[gentoo-commits] repo/gentoo:master commit in: media-libs/glew/

2018-01-17 Thread Benda XU
commit: f0fabf890886dab370d14e091e97de28db01c200
Author: Benda Xu  gentoo  org>
AuthorDate: Thu Jan 18 05:14:36 2018 +
Commit: Benda XU  gentoo  org>
CommitDate: Thu Jan 18 05:17:57 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f0fabf89

media-libs/glew: define GLEW_PREFIX to be used in glew.pc.

  This makes glew.pc Prefix-aware.

Package-Manager: Portage-2.3.19, Repoman-2.3.6

 media-libs/glew/glew-2.1.0.ebuild | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/media-libs/glew/glew-2.1.0.ebuild 
b/media-libs/glew/glew-2.1.0.ebuild
index 3ddebf5f830..f003f13e40c 100644
--- a/media-libs/glew/glew-2.1.0.ebuild
+++ b/media-libs/glew/glew-2.1.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -78,6 +78,7 @@ set_opts() {
 multilib_src_compile() {
set_opts
emake \
+   GLEW_PREFIX="${EPREFIX}/usr" \
GLEW_DEST="${EPREFIX}/usr" \
LIBDIR="${EPREFIX}/usr/$(get_libdir)" \
"${myglewopts[@]}"



[gentoo-commits] repo/gentoo:master commit in: media-libs/glew/

2017-08-03 Thread Tim Harder
commit: a7d96deaa07eb0c15a431c3e4e5bc6b944adad0b
Author: Tim Harder  gentoo  org>
AuthorDate: Fri Aug  4 00:38:13 2017 +
Commit: Tim Harder  gentoo  org>
CommitDate: Fri Aug  4 00:38:13 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a7d96dea

media-libs/glew: version bump to 2.1.0

 media-libs/glew/Manifest  |   1 +
 media-libs/glew/glew-2.1.0.ebuild | 100 ++
 2 files changed, 101 insertions(+)

diff --git a/media-libs/glew/Manifest b/media-libs/glew/Manifest
index ddd1cc922e1..991218a5626 100644
--- a/media-libs/glew/Manifest
+++ b/media-libs/glew/Manifest
@@ -2,3 +2,4 @@ DIST glew-1.10.0.tgz 567605 SHA256 
99c41320b63f6860869b5fb9af9a1854b15582796c64e
 DIST glew-1.13.0.tgz 616070 SHA256 
aa25dc48ed84b0b64b8d41cdd42c8f40f149c37fa2ffa39cd97f42c78d128bc7 SHA512 
8fc8d7c0d2cd9235ea51db9972f492701827bff40642fdb3cc54c10b0737dba8e6d8d0dcd8c5aa5bfaaae39c6198ba3d4292cd1662fbe1977eb9a5d187ba635f
 WHIRLPOOL 
be9a64348c6cbe3961429b5a4d5ef27f0f2cca3dad9d49a208eb98ff1a08b82885a5b7351860a8ef46cac50ede467e4c2343436a689234bf88ee2ddf16f796a7
 DIST glew-1.6.0.tgz 494713 SHA256 
bea2a7e9bb97a7a5054d4a65d16aaeedeaa091719359ad3fcd9bfdb0fe8eb7fa SHA512 
5b8ca9e97d01d49fde591b0c55683620e0a6ddfaf5e93e03536e6217bbb548adfcd4e945a39ed3cfddac3f239b3272be1b3491f4071689d02c4bfb7e0ec44904
 WHIRLPOOL 
45372f5ada69fda90b6c7dd8dd261bd67f77d1c0b53d2ca4186060269ab3518dc8c0232e6930fa52eedeca4486144a65519b8f194ea7384948b757d2f3e5d027
 DIST glew-2.0.0.tgz 667340 SHA256 
c572c30a4e64689c342ba1624130ac98936d7af90c3103f9ce12b8a0c5736764 SHA512 
e9bcd5f19a4495ce6511dfd76e64b4e4d958603c513ee9063eb9fe24fc6e0413f168620661230f1baef558f2f907cef7fe7ab2bdf957a6f7bda5fe96e9319c6a
 WHIRLPOOL 
710fdef2079bc4f94e75e910bad6dc54abb0a0e0598576a8222de1dc200212fe0b49a2ec196035029431f0bbac691095b0850e994a363a3e41762a927ea76b50
+DIST glew-2.1.0.tgz 764073 SHA256 
04de91e7e6763039bc11940095cd9c7f880baba82196a7765f727ac05a993c95 SHA512 
9a9b4d81482ccaac4b476c34ed537585ae754a82ebb51c3efa16d953c25cc3931be46ed2e49e79c730cd8afc6a1b78c97d52cd714044a339c3bc29734cd4d2ab
 WHIRLPOOL 
5653c741561d3cd48465675d434eb7575955054ec1aa0e0f4cbb11c12117786a19c9830aff8ddc5e4f173385cdd017e977ee689309262fefb6c0a21236f9d2fa

diff --git a/media-libs/glew/glew-2.1.0.ebuild 
b/media-libs/glew/glew-2.1.0.ebuild
new file mode 100644
index 000..3ddebf5f830
--- /dev/null
+++ b/media-libs/glew/glew-2.1.0.ebuild
@@ -0,0 +1,100 @@
+# Copyright 1999-2017 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=""
+   

[gentoo-commits] repo/gentoo:master commit in: media-libs/glew/

2017-05-05 Thread Markus Meier
commit: 88ffd412fc19e7dcce221c6bfb32fb76c6b7d11c
Author: Markus Meier  gentoo  org>
AuthorDate: Fri May  5 19:10:51 2017 +
Commit: Markus Meier  gentoo  org>
CommitDate: Fri May  5 19:10:51 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=88ffd412

media-libs/glew: arm stable, bug #615476

Package-Manager: Portage-2.3.5, Repoman-2.3.1
RepoMan-Options: --include-arches="arm"

 media-libs/glew/glew-1.13.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/glew/glew-1.13.0.ebuild 
b/media-libs/glew/glew-1.13.0.ebuild
index c7c31ba5c02..ede27dc5d9a 100644
--- a/media-libs/glew/glew-1.13.0.ebuild
+++ b/media-libs/glew/glew-1.13.0.ebuild
@@ -11,7 +11,7 @@ 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"
+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="



[gentoo-commits] repo/gentoo:master commit in: media-libs/glew/

2017-04-23 Thread Agostino Sarubbo
commit: b580d6bbb2f7b84d893f3aaa6a757a39ceb13490
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Sun Apr 23 12:39:52 2017 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Sun Apr 23 12:39:52 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b580d6bb

media-libs/glew: amd64 stable wrt bug #615474

Package-Manager: Portage-2.3.3, Repoman-2.3.1
RepoMan-Options: --include-arches="amd64"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 media-libs/glew/glew-1.13.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/glew/glew-1.13.0.ebuild 
b/media-libs/glew/glew-1.13.0.ebuild
index 1d4a2b42235..253a1533cf7 100644
--- a/media-libs/glew/glew-1.13.0.ebuild
+++ b/media-libs/glew/glew-1.13.0.ebuild
@@ -11,7 +11,7 @@ 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"
+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="



[gentoo-commits] repo/gentoo:master commit in: media-libs/glew/

2017-04-19 Thread Jeroen Roovers
commit: cfab2e5bb326382cf4b075a141f0cc83f2d61ec4
Author: Jeroen Roovers  gentoo  org>
AuthorDate: Wed Apr 19 06:50:01 2017 +
Commit: Jeroen Roovers  gentoo  org>
CommitDate: Wed Apr 19 06:50:01 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cfab2e5b

media-libs/glew: Stable for HPPA (bug #615476).

Package-Manager: Portage-2.3.5, Repoman-2.3.2
RepoMan-Options: --ignore-arches

 media-libs/glew/glew-1.13.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/glew/glew-1.13.0.ebuild 
b/media-libs/glew/glew-1.13.0.ebuild
index 1f036e13255..63ffbf44b6d 100644
--- a/media-libs/glew/glew-1.13.0.ebuild
+++ b/media-libs/glew/glew-1.13.0.ebuild
@@ -11,7 +11,7 @@ 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"
+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="



[gentoo-commits] repo/gentoo:master commit in: media-libs/glew/

2017-04-01 Thread Andreas Sturmlechner
commit: 030a8ddb917e0a1c0f1f78330533c62a8d1c0bfd
Author: Andreas Sturmlechner  gentoo  org>
AuthorDate: Sat Apr  1 22:39:09 2017 +
Commit: Andreas Sturmlechner  gentoo  org>
CommitDate: Sat Apr  1 22:42:42 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=030a8ddb

media-libs/glew: Update metadata

sourceforge -> github

Package-Manager: Portage-2.3.3, Repoman-2.3.1

 media-libs/glew/metadata.xml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/glew/metadata.xml b/media-libs/glew/metadata.xml
index 627aee7d12d..328c65134fc 100644
--- a/media-libs/glew/metadata.xml
+++ b/media-libs/glew/metadata.xml
@@ -3,6 +3,6 @@
 


-   glew
+   nigels-com/glew

 



[gentoo-commits] repo/gentoo:master commit in: media-libs/glew/

2017-04-01 Thread Andreas Sturmlechner
commit: ef8b31297da03a44f8ee548c7928f7f162abc09d
Author: Andreas Sturmlechner  gentoo  org>
AuthorDate: Sat Apr  1 22:31:12 2017 +
Commit: Andreas Sturmlechner  gentoo  org>
CommitDate: Sat Apr  1 22:42:41 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ef8b3129

media-libs/glew: Bump to EAPI 6

Package-Manager: Portage-2.3.3, Repoman-2.3.1

 media-libs/glew/glew-1.13.0.ebuild | 25 ++---
 1 file changed, 18 insertions(+), 7 deletions(-)

diff --git a/media-libs/glew/glew-1.13.0.ebuild 
b/media-libs/glew/glew-1.13.0.ebuild
index 7584497d1f8..1f036e13255 100644
--- a/media-libs/glew/glew-1.13.0.ebuild
+++ b/media-libs/glew/glew-1.13.0.ebuild
@@ -1,8 +1,9 @@
 # Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=5
-inherit multilib multilib-minimal toolchain-funcs versionator
+EAPI=6
+
+inherit multilib-minimal toolchain-funcs versionator
 
 DESCRIPTION="The OpenGL Extension Wrangler Library"
 HOMEPAGE="http://glew.sourceforge.net/;
@@ -13,14 +14,17 @@ 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"
 
-RDEPEND=">=virtual/glu-9.0-r1[${MULTILIB_USEDEP}]
+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}]
-   abi_x86_32? ( !app-emulation/emul-linux-x86-opengl[-abi_x86_32(-)] )"
-DEPEND=${RDEPEND}
+"
+RDEPEND="${DEPEND}
+   abi_x86_32? ( !app-emulation/emul-linux-x86-opengl[-abi_x86_32(-)] )
+"
 
 src_prepare() {
sed -i \
@@ -42,6 +46,7 @@ src_prepare() {
# and let freebsd be built as on linux too
cp config/Makefile.linux config/Makefile.freebsd || die
 
+   default
multilib_copy_sources
 }
 
@@ -72,7 +77,10 @@ set_opts() {
 
 multilib_src_compile() {
set_opts
-   emake GLEW_DEST="${EPREFIX}/usr" LIBDIR="${EPREFIX}/usr/$(get_libdir)" 
"${myglewopts[@]}"
+   emake \
+   GLEW_DEST="${EPREFIX}/usr" \
+   LIBDIR="${EPREFIX}/usr/$(get_libdir)" \
+   "${myglewopts[@]}"
 }
 
 multilib_src_install() {
@@ -84,5 +92,8 @@ multilib_src_install() {
install.all
 
dodoc TODO.txt
-   use doc && dohtml doc/*
+   if use doc; then
+   docinto html
+   dodoc doc/*
+   fi
 }



[gentoo-commits] repo/gentoo:master commit in: media-libs/glew/

2017-04-01 Thread Andreas Sturmlechner
commit: ab40e6daaed487ad5f2796d2251b5cdcf37d3788
Author: Andreas Sturmlechner  gentoo  org>
AuthorDate: Sat Apr  1 22:37:00 2017 +
Commit: Andreas Sturmlechner  gentoo  org>
CommitDate: Sat Apr  1 22:42:41 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ab40e6da

media-libs/glew: Drop unused eclass

Package-Manager: Portage-2.3.3, Repoman-2.3.1

 media-libs/glew/glew-2.0.0.ebuild | 12 
 1 file changed, 8 insertions(+), 4 deletions(-)

diff --git a/media-libs/glew/glew-2.0.0.ebuild 
b/media-libs/glew/glew-2.0.0.ebuild
index 85b85f450f1..173817c6fa2 100644
--- a/media-libs/glew/glew-2.0.0.ebuild
+++ b/media-libs/glew/glew-2.0.0.ebuild
@@ -2,7 +2,8 @@
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
-inherit multilib multilib-minimal toolchain-funcs versionator
+
+inherit multilib-minimal toolchain-funcs versionator
 
 DESCRIPTION="The OpenGL Extension Wrangler Library"
 HOMEPAGE="http://glew.sourceforge.net/;
@@ -13,14 +14,17 @@ 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"
 
-RDEPEND=">=virtual/glu-9.0-r1[${MULTILIB_USEDEP}]
+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}]
-   abi_x86_32? ( !app-emulation/emul-linux-x86-opengl[-abi_x86_32(-)] )"
-DEPEND="${RDEPEND}"
+"
+RDEPEND="${DEPEND}
+   abi_x86_32? ( !app-emulation/emul-linux-x86-opengl[-abi_x86_32(-)] )
+"
 
 src_prepare() {
local PATCHES=( "${FILESDIR}"/${P}-install-headers.patch )



[gentoo-commits] repo/gentoo:master commit in: media-libs/glew/

2017-01-04 Thread Zac Medico
commit: 776ea30249d8093917cd8bf3d302e13348a78b5e
Author: Zac Medico  gentoo  org>
AuthorDate: Wed Jan  4 19:39:23 2017 +
Commit: Zac Medico  gentoo  org>
CommitDate: Wed Jan  4 19:39:23 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=776ea302

media-libs/glew: add 1.10*:0 blocker to 1.10.0-r100 ebuild

Package-Manager: portage-2.3.3

 media-libs/glew/glew-1.10.0-r100.ebuild | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/media-libs/glew/glew-1.10.0-r100.ebuild 
b/media-libs/glew/glew-1.10.0-r100.ebuild
index 94c237d..53ff651 100644
--- a/media-libs/glew/glew-1.10.0-r100.ebuild
+++ b/media-libs/glew/glew-1.10.0-r100.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
@@ -13,7 +13,8 @@ LICENSE="BSD MIT"
 SLOT="$(get_version_component_range 1-2)"
 KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~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"
 
-RDEPEND=">=virtual/opengl-7.0-r1[${MULTILIB_USEDEP}]"
+RDEPEND=">=virtual/opengl-7.0-r1[${MULTILIB_USEDEP}]
+   !=media-libs/glew-1.10*:0"
 
 DEPEND="${RDEPEND}
x11-libs/libX11



[gentoo-commits] repo/gentoo:master commit in: media-libs/glew/

2016-12-09 Thread Mike Frysinger
commit: 234f6d457396c138cf76dcc8f3973ece14845410
Author: Mike Frysinger  gentoo  org>
AuthorDate: Fri Dec  9 22:44:31 2016 +
Commit: Mike Frysinger  gentoo  org>
CommitDate: Fri Dec  9 22:45:17 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=234f6d45

media-libs/glew: set SYSTEM based on CHOST #595280

This avoids running the local (and old) copy of config.guess,
and it fixes cross-compiling selection in a number of cases.

 media-libs/glew/glew-1.10.0-r100.ebuild | 16 +---
 media-libs/glew/glew-1.10.0-r2.ebuild   | 13 +
 media-libs/glew/glew-1.13.0.ebuild  | 16 +---
 media-libs/glew/glew-1.6.0-r100.ebuild  | 16 +---
 media-libs/glew/glew-2.0.0.ebuild   | 16 +---
 5 files changed, 65 insertions(+), 12 deletions(-)

diff --git a/media-libs/glew/glew-1.10.0-r100.ebuild 
b/media-libs/glew/glew-1.10.0-r100.ebuild
index 8481435..94c237d 100644
--- a/media-libs/glew/glew-1.10.0-r100.ebuild
+++ b/media-libs/glew/glew-1.10.0-r100.ebuild
@@ -38,20 +38,30 @@ src_prepare() {
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=""
LDFLAGS.GL="-lGL" # Don't need X libs!
POPT="${CFLAGS}"
)
-
-   # support MinGW targets (bug #523444)
-   [[ ${CHOST} == *-mingw* ]] && myglewopts+=( SYSTEM=mingw )
 }
 
 multilib_src_compile() {

diff --git a/media-libs/glew/glew-1.10.0-r2.ebuild 
b/media-libs/glew/glew-1.10.0-r2.ebuild
index e9519f6..a379531 100644
--- a/media-libs/glew/glew-1.10.0-r2.ebuild
+++ b/media-libs/glew/glew-1.10.0-r2.ebuild
@@ -46,12 +46,25 @@ src_prepare() {
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}"

diff --git a/media-libs/glew/glew-1.13.0.ebuild 
b/media-libs/glew/glew-1.13.0.ebuild
index 28e1345..4b55239 100644
--- a/media-libs/glew/glew-1.13.0.ebuild
+++ b/media-libs/glew/glew-1.13.0.ebuild
@@ -46,19 +46,29 @@ src_prepare() {
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}"
)
-
-   # support MinGW targets (bug #523444)
-   [[ ${CHOST} == *-mingw* ]] && myglewopts+=( SYSTEM=mingw )
 }
 
 multilib_src_compile() {

diff --git a/media-libs/glew/glew-1.6.0-r100.ebuild 
b/media-libs/glew/glew-1.6.0-r100.ebuild
index 8481435..94c237d 100644
--- a/media-libs/glew/glew-1.6.0-r100.ebuild
+++ b/media-libs/glew/glew-1.6.0-r100.ebuild
@@ -38,20 +38,30 @@ src_prepare() {
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}"
+   

[gentoo-commits] repo/gentoo:master commit in: media-libs/glew/

2016-08-10 Thread James Le Cuirot
commit: f55de37a874b69a80cbcfa9e29a6b86da77e7f23
Author: James Le Cuirot  gentoo  org>
AuthorDate: Wed Aug 10 15:19:51 2016 +
Commit: James Le Cuirot  gentoo  org>
CommitDate: Wed Aug 10 15:21:04 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f55de37a

media-libs/glew: Add lib-only 1.6 SLOT for binary games (i.e. Steam)

1.6 and 1.10 are the only SLOTs we should need for Steam for now as
these are the versions included in the official Ubuntu-based runtime.

Package-Manager: portage-2.3.0

 media-libs/glew/Manifest   |  1 +
 media-libs/glew/glew-1.6.0-r100.ebuild | 65 ++
 2 files changed, 66 insertions(+)

diff --git a/media-libs/glew/Manifest b/media-libs/glew/Manifest
index b35d902..ddd1cc9 100644
--- a/media-libs/glew/Manifest
+++ b/media-libs/glew/Manifest
@@ -1,3 +1,4 @@
 DIST glew-1.10.0.tgz 567605 SHA256 
99c41320b63f6860869b5fb9af9a1854b15582796c64ee3dfd7096dc0c89f307 SHA512 
0c998fda9fe01c9296a3453966c0449c9968f4f5f989065ca65f0da3830ae8d805699d0ee0362c3b18765420222ba18842b9db20986212afceb36c971ae1bdca
 WHIRLPOOL 
7c931d990b667fc5da79b0b0c11f76693adbd75c730252d5fd1129ff5d54690222a0f0efc0d2abe0535edcde7f72d76bad6de40d02c5a48f0bc4804a248b7d72
 DIST glew-1.13.0.tgz 616070 SHA256 
aa25dc48ed84b0b64b8d41cdd42c8f40f149c37fa2ffa39cd97f42c78d128bc7 SHA512 
8fc8d7c0d2cd9235ea51db9972f492701827bff40642fdb3cc54c10b0737dba8e6d8d0dcd8c5aa5bfaaae39c6198ba3d4292cd1662fbe1977eb9a5d187ba635f
 WHIRLPOOL 
be9a64348c6cbe3961429b5a4d5ef27f0f2cca3dad9d49a208eb98ff1a08b82885a5b7351860a8ef46cac50ede467e4c2343436a689234bf88ee2ddf16f796a7
+DIST glew-1.6.0.tgz 494713 SHA256 
bea2a7e9bb97a7a5054d4a65d16aaeedeaa091719359ad3fcd9bfdb0fe8eb7fa SHA512 
5b8ca9e97d01d49fde591b0c55683620e0a6ddfaf5e93e03536e6217bbb548adfcd4e945a39ed3cfddac3f239b3272be1b3491f4071689d02c4bfb7e0ec44904
 WHIRLPOOL 
45372f5ada69fda90b6c7dd8dd261bd67f77d1c0b53d2ca4186060269ab3518dc8c0232e6930fa52eedeca4486144a65519b8f194ea7384948b757d2f3e5d027
 DIST glew-2.0.0.tgz 667340 SHA256 
c572c30a4e64689c342ba1624130ac98936d7af90c3103f9ce12b8a0c5736764 SHA512 
e9bcd5f19a4495ce6511dfd76e64b4e4d958603c513ee9063eb9fe24fc6e0413f168620661230f1baef558f2f907cef7fe7ab2bdf957a6f7bda5fe96e9319c6a
 WHIRLPOOL 
710fdef2079bc4f94e75e910bad6dc54abb0a0e0598576a8222de1dc200212fe0b49a2ec196035029431f0bbac691095b0850e994a363a3e41762a927ea76b50

diff --git a/media-libs/glew/glew-1.6.0-r100.ebuild 
b/media-libs/glew/glew-1.6.0-r100.ebuild
new file mode 100644
index 000..8481435
--- /dev/null
+++ b/media-libs/glew/glew-1.6.0-r100.ebuild
@@ -0,0 +1,65 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+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="$(get_version_component_range 1-2)"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~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"
+
+RDEPEND=">=virtual/opengl-7.0-r1[${MULTILIB_USEDEP}]"
+
+DEPEND="${RDEPEND}
+   x11-libs/libX11
+   x11-proto/xproto"
+
+DOCS=""
+
+src_prepare() {
+   default
+
+   sed -i \
+   -e '/$(CC) $(CFLAGS) -o/s:$(CFLAGS):$(CFLAGS) $(LDFLAGS):' \
+   -e '/glew.lib:/s|lib/$(LIB.STATIC) ||' \
+   -e '/glew.lib.mx:/s|lib/$(LIB.STATIC.MX) ||' \
+   Makefile || die
+
+   # 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=""
+   LDFLAGS.GL="-lGL" # Don't need X libs!
+   POPT="${CFLAGS}"
+   )
+
+   # support MinGW targets (bug #523444)
+   [[ ${CHOST} == *-mingw* ]] && myglewopts+=( SYSTEM=mingw )
+}
+
+multilib_src_compile() {
+   set_opts
+   emake glew.lib{,.mx} "${myglewopts[@]}"
+}
+
+multilib_src_install() {
+   newlib.so lib/libGLEW.so.${SLOT}.* libGLEW.so.${SLOT}
+   newlib.so lib/libGLEWmx.so.${SLOT}.* libGLEWmx.so.${SLOT}
+}



[gentoo-commits] repo/gentoo:master commit in: media-libs/glew/, media-libs/glew/files/

2016-08-08 Thread Tim Harder
commit: b5995474bf010d59487627f9cec6bf1f02d94988
Author: Tim Harder  gentoo  org>
AuthorDate: Mon Aug  8 16:48:34 2016 +
Commit: Tim Harder  gentoo  org>
CommitDate: Mon Aug  8 16:49:52 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b5995474

media-libs/glew: version bump to 2.0.0

 media-libs/glew/Manifest   |  1 +
 .../glew/files/glew-2.0.0-install-headers.patch| 13 
 media-libs/glew/glew-2.0.0.ebuild  | 89 ++
 3 files changed, 103 insertions(+)

diff --git a/media-libs/glew/Manifest b/media-libs/glew/Manifest
index 8fd229c..b35d902 100644
--- a/media-libs/glew/Manifest
+++ b/media-libs/glew/Manifest
@@ -1,2 +1,3 @@
 DIST glew-1.10.0.tgz 567605 SHA256 
99c41320b63f6860869b5fb9af9a1854b15582796c64ee3dfd7096dc0c89f307 SHA512 
0c998fda9fe01c9296a3453966c0449c9968f4f5f989065ca65f0da3830ae8d805699d0ee0362c3b18765420222ba18842b9db20986212afceb36c971ae1bdca
 WHIRLPOOL 
7c931d990b667fc5da79b0b0c11f76693adbd75c730252d5fd1129ff5d54690222a0f0efc0d2abe0535edcde7f72d76bad6de40d02c5a48f0bc4804a248b7d72
 DIST glew-1.13.0.tgz 616070 SHA256 
aa25dc48ed84b0b64b8d41cdd42c8f40f149c37fa2ffa39cd97f42c78d128bc7 SHA512 
8fc8d7c0d2cd9235ea51db9972f492701827bff40642fdb3cc54c10b0737dba8e6d8d0dcd8c5aa5bfaaae39c6198ba3d4292cd1662fbe1977eb9a5d187ba635f
 WHIRLPOOL 
be9a64348c6cbe3961429b5a4d5ef27f0f2cca3dad9d49a208eb98ff1a08b82885a5b7351860a8ef46cac50ede467e4c2343436a689234bf88ee2ddf16f796a7
+DIST glew-2.0.0.tgz 667340 SHA256 
c572c30a4e64689c342ba1624130ac98936d7af90c3103f9ce12b8a0c5736764 SHA512 
e9bcd5f19a4495ce6511dfd76e64b4e4d958603c513ee9063eb9fe24fc6e0413f168620661230f1baef558f2f907cef7fe7ab2bdf957a6f7bda5fe96e9319c6a
 WHIRLPOOL 
710fdef2079bc4f94e75e910bad6dc54abb0a0e0598576a8222de1dc200212fe0b49a2ec196035029431f0bbac691095b0850e994a363a3e41762a927ea76b50

diff --git a/media-libs/glew/files/glew-2.0.0-install-headers.patch 
b/media-libs/glew/files/glew-2.0.0-install-headers.patch
new file mode 100644
index 000..f880dee
--- /dev/null
+++ b/media-libs/glew/files/glew-2.0.0-install-headers.patch
@@ -0,0 +1,13 @@
+--- glew-2.0.0/Makefile
 glew-2.0.0/Makefile
+@@ -226,9 +226,7 @@
+ 
+ install.include:
+   $(INSTALL) -d -m 0755 "$(DESTDIR)$(INCDIR)"
+-  $(INSTALL) -m 0644 include/GL/wglew.h "$(DESTDIR)$(INCDIR)/"
+-  $(INSTALL) -m 0644 include/GL/glew.h "$(DESTDIR)$(INCDIR)/"
+-  $(INSTALL) -m 0644 include/GL/glxew.h "$(DESTDIR)$(INCDIR)/"
++  $(INSTALL) -m 0644 include/GL/*.h "$(DESTDIR)$(INCDIR)/"
+ 
+ install.pkgconfig: glew.pc
+   $(INSTALL) -d -m 0755 "$(DESTDIR)$(PKGDIR)"

diff --git a/media-libs/glew/glew-2.0.0.ebuild 
b/media-libs/glew/glew-2.0.0.ebuild
new file mode 100644
index 000..4f9f1c0
--- /dev/null
+++ b/media-libs/glew/glew-2.0.0.ebuild
@@ -0,0 +1,89 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+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 ~arm64 ~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() {
+   local PATCHES=( "${FILESDIR}"/${P}-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
+}
+
+set_opts() {
+   myglewopts=(
+   AR="$(tc-getAR)"
+   STRIP=true
+   CC="$(tc-getCC)"
+   LD="$(tc-getCC) ${LDFLAGS}"
+   

[gentoo-commits] repo/gentoo:master commit in: media-libs/glew/

2016-07-24 Thread James Le Cuirot
commit: e0fdf2602cf0924c9b10926213975955997aed4f
Author: James Le Cuirot  gentoo  org>
AuthorDate: Sun Jul 24 20:31:26 2016 +
Commit: James Le Cuirot  gentoo  org>
CommitDate: Sun Jul 24 21:23:14 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e0fdf260

media-libs/glew: Add lib-only 1.10 SLOT for binary games (i.e. Steam)

Note to whoever touches this package next. The X dependencies are
wrong. media-libs/glu is needed but only in RDEPEND for the headers.

Package-Manager: portage-2.3.0

 media-libs/glew/glew-1.10.0-r100.ebuild | 65 +
 1 file changed, 65 insertions(+)

diff --git a/media-libs/glew/glew-1.10.0-r100.ebuild 
b/media-libs/glew/glew-1.10.0-r100.ebuild
new file mode 100644
index 000..8481435
--- /dev/null
+++ b/media-libs/glew/glew-1.10.0-r100.ebuild
@@ -0,0 +1,65 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+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="$(get_version_component_range 1-2)"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~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"
+
+RDEPEND=">=virtual/opengl-7.0-r1[${MULTILIB_USEDEP}]"
+
+DEPEND="${RDEPEND}
+   x11-libs/libX11
+   x11-proto/xproto"
+
+DOCS=""
+
+src_prepare() {
+   default
+
+   sed -i \
+   -e '/$(CC) $(CFLAGS) -o/s:$(CFLAGS):$(CFLAGS) $(LDFLAGS):' \
+   -e '/glew.lib:/s|lib/$(LIB.STATIC) ||' \
+   -e '/glew.lib.mx:/s|lib/$(LIB.STATIC.MX) ||' \
+   Makefile || die
+
+   # 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=""
+   LDFLAGS.GL="-lGL" # Don't need X libs!
+   POPT="${CFLAGS}"
+   )
+
+   # support MinGW targets (bug #523444)
+   [[ ${CHOST} == *-mingw* ]] && myglewopts+=( SYSTEM=mingw )
+}
+
+multilib_src_compile() {
+   set_opts
+   emake glew.lib{,.mx} "${myglewopts[@]}"
+}
+
+multilib_src_install() {
+   newlib.so lib/libGLEW.so.${SLOT}.* libGLEW.so.${SLOT}
+   newlib.so lib/libGLEWmx.so.${SLOT}.* libGLEWmx.so.${SLOT}
+}



[gentoo-commits] repo/gentoo:master commit in: media-libs/glew/

2016-07-24 Thread James Le Cuirot
commit: 7a4a0b4011971762c9daf4f040aeffb6cd080b77
Author: James Le Cuirot  gentoo  org>
AuthorDate: Sun Jul 24 14:05:14 2016 +
Commit: James Le Cuirot  gentoo  org>
CommitDate: Sun Jul 24 21:23:11 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7a4a0b40

media-libs/glew: Remove many old versions

This drops the only stable version on sh but all sh profiles are exp
now. See bug #498332.

Package-Manager: portage-2.3.0

 media-libs/glew/Manifest  |  3 --
 media-libs/glew/glew-1.10.0-r1.ebuild | 71 ---
 media-libs/glew/glew-1.11.0.ebuild| 79 ---
 media-libs/glew/glew-1.12.0.ebuild| 79 ---
 media-libs/glew/glew-1.9.0.ebuild | 70 ---
 5 files changed, 302 deletions(-)

diff --git a/media-libs/glew/Manifest b/media-libs/glew/Manifest
index 7f9e5ae..8fd229c 100644
--- a/media-libs/glew/Manifest
+++ b/media-libs/glew/Manifest
@@ -1,5 +1,2 @@
 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.12.0.tgz 610965 SHA256 
af58103f4824b443e7fa4ed3af593b8edac6f3a7be3b30911edbc7344f48e4bf SHA512 
9af4db32f6ada61f578c903fe1674f98fcaba2fb6fafced2cea2b1d82769427283d940b095c69237860357dcb1629b5227bb74a392b80da41f7be6288cbda0ae
 WHIRLPOOL 
b1ec49ebffb85bf44cdfce4aa3ee5a51f09d41c1fa45a39e3c865117a5e33e36aff7b64b41c4f79598b0ca21c55f424a88657479c395a22a8e34283e4950a510
 DIST glew-1.13.0.tgz 616070 SHA256 
aa25dc48ed84b0b64b8d41cdd42c8f40f149c37fa2ffa39cd97f42c78d128bc7 SHA512 
8fc8d7c0d2cd9235ea51db9972f492701827bff40642fdb3cc54c10b0737dba8e6d8d0dcd8c5aa5bfaaae39c6198ba3d4292cd1662fbe1977eb9a5d187ba635f
 WHIRLPOOL 
be9a64348c6cbe3961429b5a4d5ef27f0f2cca3dad9d49a208eb98ff1a08b82885a5b7351860a8ef46cac50ede467e4c2343436a689234bf88ee2ddf16f796a7
-DIST glew-1.9.0.tgz 50 SHA256 
9b36530e414c95d6624be9d6815a5be1531d1986300ae5903f16977ab8aeb787 SHA512 
e4b566de6bfc84d73a2c3eedc5eeace30b1d8126f425fbd880dcc3f5850dd445247d6ef950194944cfc71d71155773c47bb593fe2ca9879032d1c65a8a70f5e5
 WHIRLPOOL 
d1c49e13561834c2049f8d5027260b37f5814cf96466f30494d5c2a0251b655c97f9f82a4c9f76ec62513e1408586b1ff8a0ee21258af7e9afa5a7407cf8cdba

diff --git a/media-libs/glew/glew-1.10.0-r1.ebuild 
b/media-libs/glew/glew-1.10.0-r1.ebuild
deleted file mode 100644
index bbca11a..000
--- a/media-libs/glew/glew-1.10.0-r1.ebuild
+++ /dev/null
@@ -1,71 +0,0 @@
-# Copyright 1999-2013 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=5
-inherit multilib 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
-   virtual/opengl
-   x11-libs/libX11
-   x11-libs/libXext
-   x11-libs/libXi
-   x11-libs/libXmu"
-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):' \
-   -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

[gentoo-commits] repo/gentoo:master commit in: media-libs/glew/

2016-04-11 Thread Tim Harder
commit: 56d43284b284882be7e85b62803ffd0e62c766f3
Author: Tim Harder  gentoo  org>
AuthorDate: Tue Apr 12 05:52:03 2016 +
Commit: Tim Harder  gentoo  org>
CommitDate: Tue Apr 12 05:52:03 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=56d43284

media-libs/glew: drop myself as maintainer

 media-libs/glew/metadata.xml | 5 +
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/media-libs/glew/metadata.xml b/media-libs/glew/metadata.xml
index 1cda374..627aee7 100644
--- a/media-libs/glew/metadata.xml
+++ b/media-libs/glew/metadata.xml
@@ -1,10 +1,7 @@
 
 http://www.gentoo.org/dtd/metadata.dtd;>
 
-   
-   radher...@gentoo.org
-   Tim Harder
-   
+   

glew




[gentoo-commits] repo/gentoo:master commit in: media-libs/glew/

2015-08-24 Thread Tim Harder
commit: 46b7b4b0078263c72e155a2c49b9e6d0a9d3
Author: Tim Harder radhermit AT gentoo DOT org
AuthorDate: Tue Aug 25 04:09:55 2015 +
Commit: Tim Harder radhermit AT gentoo DOT org
CommitDate: Tue Aug 25 04:29:59 2015 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=46b7b4b0

media-libs/glew: version bump

 media-libs/glew/Manifest   |  1 +
 media-libs/glew/glew-1.13.0.ebuild | 79 ++
 2 files changed, 80 insertions(+)

diff --git a/media-libs/glew/Manifest b/media-libs/glew/Manifest
index bf26c30..7f9e5ae 100644
--- a/media-libs/glew/Manifest
+++ b/media-libs/glew/Manifest
@@ -1,4 +1,5 @@
 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.12.0.tgz 610965 SHA256 
af58103f4824b443e7fa4ed3af593b8edac6f3a7be3b30911edbc7344f48e4bf SHA512 
9af4db32f6ada61f578c903fe1674f98fcaba2fb6fafced2cea2b1d82769427283d940b095c69237860357dcb1629b5227bb74a392b80da41f7be6288cbda0ae
 WHIRLPOOL 
b1ec49ebffb85bf44cdfce4aa3ee5a51f09d41c1fa45a39e3c865117a5e33e36aff7b64b41c4f79598b0ca21c55f424a88657479c395a22a8e34283e4950a510
+DIST glew-1.13.0.tgz 616070 SHA256 
aa25dc48ed84b0b64b8d41cdd42c8f40f149c37fa2ffa39cd97f42c78d128bc7 SHA512 
8fc8d7c0d2cd9235ea51db9972f492701827bff40642fdb3cc54c10b0737dba8e6d8d0dcd8c5aa5bfaaae39c6198ba3d4292cd1662fbe1977eb9a5d187ba635f
 WHIRLPOOL 
be9a64348c6cbe3961429b5a4d5ef27f0f2cca3dad9d49a208eb98ff1a08b82885a5b7351860a8ef46cac50ede467e4c2343436a689234bf88ee2ddf16f796a7
 DIST glew-1.9.0.tgz 50 SHA256 
9b36530e414c95d6624be9d6815a5be1531d1986300ae5903f16977ab8aeb787 SHA512 
e4b566de6bfc84d73a2c3eedc5eeace30b1d8126f425fbd880dcc3f5850dd445247d6ef950194944cfc71d71155773c47bb593fe2ca9879032d1c65a8a70f5e5
 WHIRLPOOL 
d1c49e13561834c2049f8d5027260b37f5814cf96466f30494d5c2a0251b655c97f9f82a4c9f76ec62513e1408586b1ff8a0ee21258af7e9afa5a7407cf8cdba

diff --git a/media-libs/glew/glew-1.13.0.ebuild 
b/media-libs/glew/glew-1.13.0.ebuild
new file mode 100644
index 000..28e1345
--- /dev/null
+++ b/media-libs/glew/glew-1.13.0.ebuild
@@ -0,0 +1,79 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+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 ~arm64 ~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* ]]