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