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: Tue, 26 Nov 2019 03:59:36
Message-Id: 1574740752.3152205908d6d568687064b3b8a4c3f3833a28b0.mattst88@gentoo
1 commit: 3152205908d6d568687064b3b8a4c3f3833a28b0
2 Author: Matt Turner <mattst88 <AT> gentoo <DOT> org>
3 AuthorDate: Tue Nov 26 03:44:22 2019 +0000
4 Commit: Matt Turner <mattst88 <AT> gentoo <DOT> org>
5 CommitDate: Tue Nov 26 03:59:12 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=31522059
7
8 media-libs/libepoxy: Version bump to 1.5.4
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.4.ebuild | 60 +++++++++++++++++++++++++++++++
14 2 files changed, 61 insertions(+)
15
16 diff --git a/media-libs/libepoxy/Manifest b/media-libs/libepoxy/Manifest
17 index 6be52074314..fd512f30368 100644
18 --- a/media-libs/libepoxy/Manifest
19 +++ b/media-libs/libepoxy/Manifest
20 @@ -1 +1,2 @@
21 DIST libepoxy-1.5.3.tar.gz 326768 BLAKE2B 053665429a249adca4c9b3d57797949e3a0ffd0ed3f1c66cb8becfb884431e44a4cccb6b2fd3788a86ee01268ebad3cc36e67e391d2aa5cdea28837a162be9ad SHA512 e831f4f918f08fd5f799501efc0e23b8d404478651634f5e7b35f8ebcc29d91abc447ab20da062dde5be75e18cb39ffea708688e6534f7ab257b949f9c53ddc8
22 +DIST libepoxy-1.5.4.tar.gz 337615 BLAKE2B 2793fde6da59079dfadc653c9f0712b0bd2ca1455a8cda7982bce61c35a3629641a30a76db059af635c1fa0076b4e6c56874b199b41d548afbbad8f6e43384e3 SHA512 c8b03f0a39df320fdd163a34c35f9ffbed51bc0174fd89a7dc4b3ab2439413087e1e1a2fe57418520074abd435051cbf03eb2a7bf8897da1712bbbc69cf27cc5
23
24 diff --git a/media-libs/libepoxy/libepoxy-1.5.4.ebuild b/media-libs/libepoxy/libepoxy-1.5.4.ebuild
25 new file mode 100644
26 index 00000000000..2516bc11192
27 --- /dev/null
28 +++ b/media-libs/libepoxy/libepoxy-1.5.4.ebuild
29 @@ -0,0 +1,60 @@
30 +# Copyright 1999-2019 Gentoo Authors
31 +# Distributed under the terms of the GNU General Public License v2
32 +
33 +EAPI=7
34 +
35 +EGIT_REPO_URI="https://github.com/anholt/${PN}.git"
36 +
37 +if [[ ${PV} = 9999* ]]; then
38 + GIT_ECLASS="git-r3"
39 +fi
40 +
41 +PYTHON_COMPAT=( python{2_7,3_5,3_6,3_7} )
42 +PYTHON_REQ_USE='xml(+)'
43 +inherit ${GIT_ECLASS} meson multilib-minimal python-any-r1
44 +
45 +DESCRIPTION="Epoxy is a library for handling OpenGL function pointer management for you"
46 +HOMEPAGE="https://github.com/anholt/libepoxy"
47 +if [[ ${PV} = 9999* ]]; then
48 + SRC_URI=""
49 +else
50 + KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86"
51 + SRC_URI="https://github.com/anholt/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
52 +fi
53 +
54 +LICENSE="MIT"
55 +SLOT="0"
56 +IUSE="+egl test +X"
57 +
58 +RDEPEND="egl? ( media-libs/mesa[egl,${MULTILIB_USEDEP}] )"
59 +DEPEND="X? ( x11-libs/libX11[${MULTILIB_USEDEP}] )
60 + ${RDEPEND}"
61 +BDEPEND="${PYTHON_DEPS}
62 + virtual/pkgconfig"
63 +
64 +src_unpack() {
65 + default
66 + [[ $PV = 9999* ]] && git-r3_src_unpack
67 +}
68 +
69 +multilib_src_configure() {
70 + local emesonargs=(
71 + -Degl=$(usex egl)
72 + -Dglx=$(usex X)
73 + $(meson_use X x11)
74 + $(meson_use test tests)
75 + )
76 + meson_src_configure
77 +}
78 +
79 +multilib_src_compile() {
80 + meson_src_compile
81 +}
82 +
83 +multilib_src_test() {
84 + meson_src_test
85 +}
86 +
87 +multilib_src_install() {
88 + meson_src_install
89 +}