From: "Matt Turner" <mattst88@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/libglvnd/
Date: Thu, 5 Dec 2019 22:30:39 +0000 (UTC) [thread overview]
Message-ID: <1575584973.f01a8731c52d34ca5c777992682f34768d9f0dd2.mattst88@gentoo> (raw)
commit: f01a8731c52d34ca5c777992682f34768d9f0dd2
Author: Matt Turner <mattst88 <AT> gentoo <DOT> org>
AuthorDate: Thu Dec 5 21:37:54 2019 +0000
Commit: Matt Turner <mattst88 <AT> gentoo <DOT> org>
CommitDate: Thu Dec 5 22:29:33 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f01a8731
media-libs/libglvnd: Convert to Meson
Also add ~ppc ~ppc64 ~x86 keywords, for platforms where I've run the
test suite.
Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org>
media-libs/libglvnd/libglvnd-9999.ebuild | 48 +++++++++++++++++---------------
1 file changed, 26 insertions(+), 22 deletions(-)
diff --git a/media-libs/libglvnd/libglvnd-9999.ebuild b/media-libs/libglvnd/libglvnd-9999.ebuild
index 877b89fb309..1905bb39e78 100644
--- a/media-libs/libglvnd/libglvnd-9999.ebuild
+++ b/media-libs/libglvnd/libglvnd-9999.ebuild
@@ -9,24 +9,27 @@ if [[ ${PV} = 9999* ]]; then
GIT_ECLASS="git-r3"
fi
-PYTHON_COMPAT=( python{2_7,3_5,3_6,3_7} )
-inherit autotools ${GIT_ECLASS} multilib-minimal python-any-r1
+PYTHON_COMPAT=( python3_{5,6,7,8} )
+VIRTUALX_REQUIRED=manual
+
+inherit ${GIT_ECLASS} meson multilib-minimal python-any-r1 virtualx
DESCRIPTION="The GL Vendor-Neutral Dispatch library"
HOMEPAGE="https://gitlab.freedesktop.org/glvnd/libglvnd"
if [[ ${PV} = 9999* ]]; then
SRC_URI=""
else
- KEYWORDS="~amd64"
- COMMIT=""
- SRC_URI="https://github.com/NVIDIA/${PN}/archive/${COMMIT}.tar.gz -> ${P}.tar.gz"
- S=${WORKDIR}/${PN}-${COMMIT}
+ KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
+ SRC_URI="https://gitlab.freedesktop.org/glvnd/${PN}/-/archive/v${PV}/${PN}-v${PV}.tar.bz2 -> ${P}.tar.bz2"
+ S=${WORKDIR}/${PN}-v${PV}
fi
LICENSE="MIT"
SLOT="0"
-IUSE="X"
+IUSE="test X"
+BDEPEND="${PYTHON_DEPS}
+ test? ( X? ( ${VIRTUALX_DEPEND} ) )"
RDEPEND="
!media-libs/mesa[-libglvnd(-)]
!<media-libs/mesa-19.2.2
@@ -34,28 +37,29 @@ RDEPEND="
x11-libs/libX11[${MULTILIB_USEDEP}]
x11-libs/libXext[${MULTILIB_USEDEP}]
)"
-DEPEND="${PYTHON_DEPS}
- ${RDEPEND}
+DEPEND="${RDEPEND}
X? ( x11-base/xorg-proto )"
-src_prepare() {
- default
- [[ $PV = 9999* ]] && eautoreconf
-}
-
multilib_src_configure() {
- myconf=(
- $(use_enable X x11)
- $(use_enable X glx)
+ local emesonargs=(
+ $(meson_feature X x11)
+ $(meson_feature X glx)
)
- ECONF_SOURCE=${S} econf "${myconf[@]}"
+ meson_src_configure
}
-multilib_src_install() {
- default
- find "${D}" -name '*.la' -delete || die
+multilib_src_compile() {
+ meson_src_compile
}
multilib_src_test() {
- emake check
+ if use X; then
+ virtx meson_src_test
+ else
+ meson_src_test
+ fi
+}
+
+multilib_src_install() {
+ meson_src_install
}
next reply other threads:[~2019-12-05 22:30 UTC|newest]
Thread overview: 96+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-12-05 22:30 Matt Turner [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-07-06 17:39 [gentoo-commits] repo/gentoo:master commit in: media-libs/libglvnd/ Michał Górny
2024-07-06 11:19 Michał Górny
2024-05-03 11:03 Sam James
2024-01-24 17:00 Matt Turner
2023-12-06 17:57 Ionen Wolkens
2023-11-28 5:27 Arthur Zamarin
2023-11-25 16:16 Michał Górny
2023-11-25 6:12 Sam James
2023-10-13 14:14 Arthur Zamarin
2023-10-13 3:10 Sam James
2023-10-13 3:10 Sam James
2023-10-13 2:44 Sam James
2023-09-12 16:20 Matt Turner
2023-09-12 14:19 Matt Turner
2022-11-23 17:44 Matt Turner
2022-11-19 7:01 Arthur Zamarin
2022-08-24 2:27 Matt Turner
2022-08-24 2:27 Matt Turner
2022-05-08 3:10 WANG Xuerui
2022-05-08 3:10 WANG Xuerui
2022-04-26 5:41 Sam James
2022-02-07 19:03 Matt Turner
2022-02-06 12:47 Sam James
2022-02-01 21:13 Arthur Zamarin
2022-02-01 20:59 Arthur Zamarin
2022-01-21 12:25 Sam James
2022-01-18 23:02 Jakov Smolić
2022-01-18 22:16 Jakov Smolić
2022-01-18 22:16 Jakov Smolić
2022-01-18 12:26 Sam James
2022-01-06 20:47 James Le Cuirot
2021-12-22 16:33 Matt Turner
2021-12-17 21:30 Piotr Karbowski
2021-11-18 7:48 Matt Turner
2021-11-17 22:55 Georgy Yakovlev
2021-11-17 16:51 Arthur Zamarin
2021-11-17 7:49 Sam James
2021-11-15 8:38 Jakov Smolić
2021-11-15 1:12 Sam James
2021-11-12 20:51 Sam James
2021-11-07 22:10 Jakov Smolić
2021-09-23 20:13 Sam James
2021-08-24 20:01 Matt Turner
2021-06-04 1:14 Matt Turner
2021-05-29 18:16 Matt Turner
2021-05-27 19:23 Sam James
2021-05-27 19:18 Sam James
2021-05-27 19:14 Sam James
2021-05-27 19:11 Sam James
2021-05-18 20:36 Matt Turner
2021-04-30 19:52 Matt Turner
2020-10-16 2:32 Matt Turner
2020-10-07 18:53 Matt Turner
2020-09-30 19:13 Matt Turner
2020-09-28 21:26 Matt Turner
2020-09-28 21:26 Matt Turner
2020-08-09 17:52 Matt Turner
2020-08-09 12:32 Sergei Trofimovich
2020-07-21 9:33 Agostino Sarubbo
2020-07-21 8:48 Agostino Sarubbo
2020-07-19 1:47 Sam James
2020-07-17 20:47 Sam James
2020-07-17 15:15 Agostino Sarubbo
2020-07-17 15:09 Agostino Sarubbo
2020-07-17 15:07 Agostino Sarubbo
2020-06-25 22:27 Matt Turner
2020-06-25 21:25 Matt Turner
2020-04-01 18:36 Matt Turner
2020-03-08 10:49 Mart Raudsepp
2020-03-07 18:19 Jory Pratt
2020-03-05 15:10 Agostino Sarubbo
2020-03-05 15:09 Agostino Sarubbo
2020-03-05 13:23 Agostino Sarubbo
2020-03-05 12:54 Agostino Sarubbo
2020-03-05 11:51 Agostino Sarubbo
2020-03-05 11:40 Agostino Sarubbo
2020-03-05 11:37 Agostino Sarubbo
2020-02-21 21:33 Matt Turner
2020-01-17 22:48 Matt Turner
2020-01-02 20:48 Matt Turner
2019-12-28 3:42 Aaron Bauman
2019-12-13 1:46 Göktürk Yüksek
2019-12-05 23:05 Matt Turner
2019-12-05 22:30 Matt Turner
2019-12-05 22:30 Matt Turner
2019-09-25 16:55 Matt Turner
2019-09-18 20:24 Matt Turner
2019-09-18 20:24 Matt Turner
2019-09-18 20:24 Matt Turner
2019-09-18 20:24 Matt Turner
2019-08-20 20:49 Matt Turner
2019-08-20 20:49 Matt Turner
2019-03-03 21:07 Matt Turner
2019-03-03 21:07 Matt Turner
2019-03-03 21:07 Matt Turner
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1575584973.f01a8731c52d34ca5c777992682f34768d9f0dd2.mattst88@gentoo \
--to=mattst88@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox