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/libglvnd/
Date: Sun, 03 Mar 2019 21:07:52
Message-Id: 1551647256.fc7f727ef0f165f41eff5a3b0b31f503f835eccb.mattst88@gentoo
1 commit: fc7f727ef0f165f41eff5a3b0b31f503f835eccb
2 Author: Matt Turner <mattst88 <AT> gentoo <DOT> org>
3 AuthorDate: Sun Mar 3 19:51:43 2019 +0000
4 Commit: Matt Turner <mattst88 <AT> gentoo <DOT> org>
5 CommitDate: Sun Mar 3 21:07:36 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fc7f727e
7
8 media-libs/libglvnd: Version bump to 1.1.0.20190213
9
10 Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org>
11
12 media-libs/libglvnd/Manifest | 1 +
13 media-libs/libglvnd/libglvnd-1.1.0.20190213.ebuild | 58 ++++++++++++++++++++++
14 2 files changed, 59 insertions(+)
15
16 diff --git a/media-libs/libglvnd/Manifest b/media-libs/libglvnd/Manifest
17 index c47bf92a2f1..7feca18efd4 100644
18 --- a/media-libs/libglvnd/Manifest
19 +++ b/media-libs/libglvnd/Manifest
20 @@ -1 +1,2 @@
21 DIST libglvnd-1.0.0.20180524.tar.gz 796997 BLAKE2B 75c50d2eb864b84e97af5b5f0c9bfde2651436acbad323312ca8b88df8cfa4dd170a743748e8c2269f39d9cb492d6ffaabd66a76ffca3062be2462adca4c79cd SHA512 3e49e4647b50f04dd534282b2f7ae76d84ea3dcd071771492a6560ae327d6167fcd071d32c447af097e68d84e6560d6b2c2b00d1409664e8b6a628b49ccdbdad
22 +DIST libglvnd-1.1.0.20190213.tar.gz 829094 BLAKE2B cf977846693a5de3485e23fe8b4c8e2bc0472d994dc85530ecd85c685d71abd7aa69e815292141f60fd69a299cf39ac16dda5822128295747bfd42db3408df66 SHA512 772445cbb5574c1900109b3e0d8aab442b8c8d9790c4d91e1400fccdff4a53b653b59120e4fb631a45fc47af02949288924e62a22c3d877d4f741d5596736e37
23
24 diff --git a/media-libs/libglvnd/libglvnd-1.1.0.20190213.ebuild b/media-libs/libglvnd/libglvnd-1.1.0.20190213.ebuild
25 new file mode 100644
26 index 00000000000..c1e812ba70b
27 --- /dev/null
28 +++ b/media-libs/libglvnd/libglvnd-1.1.0.20190213.ebuild
29 @@ -0,0 +1,58 @@
30 +# Copyright 2018-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/NVIDIA/${PN}.git"
36 +
37 +if [[ ${PV} = 9999* ]]; then
38 + GIT_ECLASS="git-r3"
39 +fi
40 +
41 +PYTHON_COMPAT=( python2_7 )
42 +inherit autotools ${GIT_ECLASS} multilib-minimal python-any-r1
43 +
44 +DESCRIPTION="The GL Vendor-Neutral Dispatch library"
45 +HOMEPAGE="https://github.com/NVIDIA/libglvnd"
46 +if [[ ${PV} = 9999* ]]; then
47 + SRC_URI=""
48 +else
49 + KEYWORDS="~amd64"
50 + COMMIT="f92208be88dd06a70b6f79a1cb95571e2762a9ec"
51 + SRC_URI="https://github.com/NVIDIA/${PN}/archive/${COMMIT}.tar.gz -> ${P}.tar.gz"
52 + S=${WORKDIR}/${PN}-${COMMIT}
53 +fi
54 +
55 +LICENSE="MIT"
56 +SLOT="0"
57 +IUSE=""
58 +
59 +RDEPEND="
60 + !media-libs/mesa[-libglvnd(-)]
61 + x11-libs/libX11[${MULTILIB_USEDEP}]
62 + "
63 +DEPEND="${PYTHON_DEPS}
64 + ${RDEPEND}"
65 +
66 +src_unpack() {
67 + default
68 + [[ $PV = 9999* ]] && git-r3_src_unpack
69 +}
70 +
71 +src_prepare() {
72 + default
73 + eautoreconf
74 +}
75 +
76 +multilib_src_configure() {
77 + ECONF_SOURCE=${S} econf
78 +}
79 +
80 +multilib_src_install() {
81 + default
82 + find "${D}" -name '*.la' -delete || die
83 +}
84 +
85 +multilib_src_test() {
86 + emake check
87 +}