Diff glew-2.2.0 with a glew-2.2.0-r1
/usr/portage/media-libs/glew/glew-2.2.0-r1.ebuild 2023-10-09 14:52:31.668368405 +0300 | ||
---|---|---|
1 | 1 |
# Copyright 1999-2023 Gentoo Authors |
2 | 2 |
# Distributed under the terms of the GNU General Public License v2 |
3 | 3 | |
4 |
EAPI=7 |
|
4 |
EAPI=8 |
|
5 | 5 | |
6 | 6 |
inherit multilib-minimal toolchain-funcs |
7 | 7 | |
... | ... | |
11 | 11 | |
12 | 12 |
LICENSE="BSD MIT" |
13 | 13 |
SLOT="0/$(ver_cut 1-2)" |
14 |
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv sparc x86 ~amd64-linux ~x86-linux ~x64-macos ~x64-solaris" |
|
15 |
IUSE="doc static-libs" |
|
14 |
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos ~x64-solaris" |
|
15 |
IUSE="doc egl-only static-libs" |
|
16 | 16 | |
17 | 17 |
DEPEND=" |
18 | 18 |
>=virtual/glu-9.0-r1[${MULTILIB_USEDEP}] |
19 | 19 |
>=virtual/opengl-7.0-r1[${MULTILIB_USEDEP}] |
20 |
>=x11-libs/libX11-1.6.2[${MULTILIB_USEDEP}] |
|
21 |
>=x11-libs/libXext-1.3.2[${MULTILIB_USEDEP}] |
|
22 |
>=x11-libs/libXi-1.7.2[${MULTILIB_USEDEP}] |
|
23 |
>=x11-libs/libXmu-1.1.1-r1[${MULTILIB_USEDEP}] |
|
20 |
!egl-only? ( |
|
21 |
>=x11-libs/libX11-1.6.2[${MULTILIB_USEDEP}] |
|
22 |
>=x11-libs/libXext-1.3.2[${MULTILIB_USEDEP}] |
|
23 |
>=x11-libs/libXi-1.7.2[${MULTILIB_USEDEP}] |
|
24 |
>=x11-libs/libXmu-1.1.1-r1[${MULTILIB_USEDEP}] |
|
25 |
) |
|
24 | 26 |
" |
25 | 27 |
RDEPEND="${DEPEND}" |
26 | 28 | |
... | ... | |
52 | 54 | |
53 | 55 |
glew_system() { |
54 | 56 |
# Set the SYSTEM variable instead of probing. #523444 #595280 |
55 |
case ${CHOST} in |
|
56 |
*linux*) echo "linux" ;; |
|
57 |
*-darwin*) echo "darwin" ;; |
|
58 |
*-solaris*) echo "solaris" ;; |
|
59 |
mingw*|*-mingw*) echo "mingw" ;; |
|
60 |
*) die "Unknown system ${CHOST}" ;; |
|
61 |
esac |
|
57 |
if use egl-only; then |
|
58 |
echo "linux-egl" |
|
59 |
else |
|
60 |
case ${CHOST} in |
|
61 |
*linux*) echo "linux" ;; |
|
62 |
*-darwin*) echo "darwin" ;; |
|
63 |
*-solaris*) echo "solaris" ;; |
|
64 |
mingw*|*-mingw*) echo "mingw" ;; |
|
65 |
*) die "Unknown system ${CHOST}" ;; |
|
66 |
esac |
|
67 |
fi |
|
62 | 68 |
} |
63 | 69 | |
64 | 70 |
set_opts() { |