Gentoo Archives: gentoo-commits

From: Andreas Sturmlechner <asturm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/glew/
Date: Sat, 01 Apr 2017 22:42:59
Message-Id: 1491086561.ef8b31297da03a44f8ee548c7928f7f162abc09d.asturm@gentoo
1 commit: ef8b31297da03a44f8ee548c7928f7f162abc09d
2 Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
3 AuthorDate: Sat Apr 1 22:31:12 2017 +0000
4 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
5 CommitDate: Sat Apr 1 22:42:41 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ef8b3129
7
8 media-libs/glew: Bump to EAPI 6
9
10 Package-Manager: Portage-2.3.3, Repoman-2.3.1
11
12 media-libs/glew/glew-1.13.0.ebuild | 25 ++++++++++++++++++-------
13 1 file changed, 18 insertions(+), 7 deletions(-)
14
15 diff --git a/media-libs/glew/glew-1.13.0.ebuild b/media-libs/glew/glew-1.13.0.ebuild
16 index 7584497d1f8..1f036e13255 100644
17 --- a/media-libs/glew/glew-1.13.0.ebuild
18 +++ b/media-libs/glew/glew-1.13.0.ebuild
19 @@ -1,8 +1,9 @@
20 # Copyright 1999-2017 Gentoo Foundation
21 # Distributed under the terms of the GNU General Public License v2
22
23 -EAPI=5
24 -inherit multilib multilib-minimal toolchain-funcs versionator
25 +EAPI=6
26 +
27 +inherit multilib-minimal toolchain-funcs versionator
28
29 DESCRIPTION="The OpenGL Extension Wrangler Library"
30 HOMEPAGE="http://glew.sourceforge.net/"
31 @@ -13,14 +14,17 @@ SLOT="0/$(get_version_component_range 1-2)"
32 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"
33 IUSE="doc static-libs"
34
35 -RDEPEND=">=virtual/glu-9.0-r1[${MULTILIB_USEDEP}]
36 +DEPEND="
37 + >=virtual/glu-9.0-r1[${MULTILIB_USEDEP}]
38 >=virtual/opengl-7.0-r1[${MULTILIB_USEDEP}]
39 >=x11-libs/libX11-1.6.2[${MULTILIB_USEDEP}]
40 >=x11-libs/libXext-1.3.2[${MULTILIB_USEDEP}]
41 >=x11-libs/libXi-1.7.2[${MULTILIB_USEDEP}]
42 >=x11-libs/libXmu-1.1.1-r1[${MULTILIB_USEDEP}]
43 - abi_x86_32? ( !app-emulation/emul-linux-x86-opengl[-abi_x86_32(-)] )"
44 -DEPEND=${RDEPEND}
45 +"
46 +RDEPEND="${DEPEND}
47 + abi_x86_32? ( !app-emulation/emul-linux-x86-opengl[-abi_x86_32(-)] )
48 +"
49
50 src_prepare() {
51 sed -i \
52 @@ -42,6 +46,7 @@ src_prepare() {
53 # and let freebsd be built as on linux too
54 cp config/Makefile.linux config/Makefile.freebsd || die
55
56 + default
57 multilib_copy_sources
58 }
59
60 @@ -72,7 +77,10 @@ set_opts() {
61
62 multilib_src_compile() {
63 set_opts
64 - emake GLEW_DEST="${EPREFIX}/usr" LIBDIR="${EPREFIX}/usr/$(get_libdir)" "${myglewopts[@]}"
65 + emake \
66 + GLEW_DEST="${EPREFIX}/usr" \
67 + LIBDIR="${EPREFIX}/usr/$(get_libdir)" \
68 + "${myglewopts[@]}"
69 }
70
71 multilib_src_install() {
72 @@ -84,5 +92,8 @@ multilib_src_install() {
73 install.all
74
75 dodoc TODO.txt
76 - use doc && dohtml doc/*
77 + if use doc; then
78 + docinto html
79 + dodoc doc/*
80 + fi
81 }