Gentoo Archives: gentoo-commits

From: Matt Turner <mattst88@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/libepoxy/
Date: Fri, 30 Apr 2021 19:08:23
Message-Id: 1619809693.a58239a3436889c224f5213c4da91fb9ac181c17.mattst88@gentoo
1 commit: a58239a3436889c224f5213c4da91fb9ac181c17
2 Author: Matt Turner <mattst88 <AT> gentoo <DOT> org>
3 AuthorDate: Fri Apr 30 18:50:35 2021 +0000
4 Commit: Matt Turner <mattst88 <AT> gentoo <DOT> org>
5 CommitDate: Fri Apr 30 19:08:13 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a58239a3
7
8 media-libs/libepoxy: Version bump to 1.5.7
9
10 Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org>
11
12 media-libs/libepoxy/Manifest | 1 +
13 media-libs/libepoxy/libepoxy-1.5.7.ebuild | 54 +++++++++++++++++++++++++++++++
14 2 files changed, 55 insertions(+)
15
16 diff --git a/media-libs/libepoxy/Manifest b/media-libs/libepoxy/Manifest
17 index 4e8da22a9e1..56d559e001e 100644
18 --- a/media-libs/libepoxy/Manifest
19 +++ b/media-libs/libepoxy/Manifest
20 @@ -1,2 +1,3 @@
21 DIST libepoxy-1.5.4.tar.gz 337615 BLAKE2B 2793fde6da59079dfadc653c9f0712b0bd2ca1455a8cda7982bce61c35a3629641a30a76db059af635c1fa0076b4e6c56874b199b41d548afbbad8f6e43384e3 SHA512 c8b03f0a39df320fdd163a34c35f9ffbed51bc0174fd89a7dc4b3ab2439413087e1e1a2fe57418520074abd435051cbf03eb2a7bf8897da1712bbbc69cf27cc5
22 DIST libepoxy-1.5.5.tar.gz 332057 BLAKE2B bf9a1e089c620e710caa7d4b7d5d0ec0cef186c7881b1a61aa22f58d8e023706087c766ad970ea8950752d87d2f32d12e2ded3137502f35991afb5b4fb3648cd SHA512 9056840d887f06c6422f61e65ea02511ed37b866a234d49bf78dc5f2f46e8dd9f029405387da14dced639e6a5740b5c56ab6d88ca23ea3270fc6db6a570b0c45
23 +DIST libepoxy-1.5.7.tar.gz 331868 BLAKE2B 95bb7637f4254aaff051ca8c896e0aa80cfbeca6e12ae87515e97ebeb2f40a41c60c3a0a7a106d8a375eb3d5a77e363442afb4644725e1d8491a335e70998c51 SHA512 7f7cda8eeb2d93d56d5d8ad9f76e186285d024b6f9b211db89c18d5bdfd1e85e7ec08c421913877a153edc8c25ecbccc205303d57d19bb8f98f4c5f93ed492bb
24
25 diff --git a/media-libs/libepoxy/libepoxy-1.5.7.ebuild b/media-libs/libepoxy/libepoxy-1.5.7.ebuild
26 new file mode 100644
27 index 00000000000..ec9f392345c
28 --- /dev/null
29 +++ b/media-libs/libepoxy/libepoxy-1.5.7.ebuild
30 @@ -0,0 +1,54 @@
31 +# Copyright 1999-2021 Gentoo Authors
32 +# Distributed under the terms of the GNU General Public License v2
33 +
34 +EAPI=7
35 +
36 +PYTHON_COMPAT=( python3_{7,8,9} )
37 +PYTHON_REQ_USE='xml(+)'
38 +inherit meson multilib-minimal python-any-r1 virtualx
39 +
40 +if [[ ${PV} = 9999* ]]; then
41 + EGIT_REPO_URI="https://github.com/anholt/${PN}.git"
42 + inherit git-r3
43 +else
44 + SRC_URI="https://github.com/anholt/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
45 + KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
46 +fi
47 +
48 +DESCRIPTION="Library for handling OpenGL function pointer management"
49 +HOMEPAGE="https://github.com/anholt/libepoxy"
50 +
51 +LICENSE="MIT"
52 +SLOT="0"
53 +IUSE="+egl test +X"
54 +
55 +RESTRICT="!test? ( test )"
56 +
57 +RDEPEND="
58 + egl? ( media-libs/mesa[egl,${MULTILIB_USEDEP}] )"
59 +DEPEND="${RDEPEND}
60 + X? ( x11-libs/libX11[${MULTILIB_USEDEP}] )"
61 +BDEPEND="${PYTHON_DEPS}
62 + virtual/pkgconfig"
63 +
64 +multilib_src_configure() {
65 + local emesonargs=(
66 + -Degl=$(usex egl)
67 + -Dglx=$(usex X)
68 + $(meson_use X x11)
69 + $(meson_use test tests)
70 + )
71 + meson_src_configure
72 +}
73 +
74 +multilib_src_compile() {
75 + meson_src_compile
76 +}
77 +
78 +multilib_src_test() {
79 + virtx meson_src_test
80 +}
81 +
82 +multilib_src_install() {
83 + meson_src_install
84 +}