diff options
author | Matt Turner <mattst88@gentoo.org> | 2022-11-23 12:40:16 -0500 |
---|---|---|
committer | Matt Turner <mattst88@gentoo.org> | 2022-11-23 12:43:58 -0500 |
commit | cb61782169737b29441b917918d7cff196669550 (patch) | |
tree | 56e36ca6b3e1778a6d34982b3b7b3e57c00512e3 /media-libs/libglvnd | |
parent | dev-python/bracex: Keyword 2.3_p1 hppa, #882593 (diff) | |
download | gentoo-cb61782169737b29441b917918d7cff196669550.tar.gz gentoo-cb61782169737b29441b917918d7cff196669550.tar.bz2 gentoo-cb61782169737b29441b917918d7cff196669550.zip |
media-libs/libglvnd: Version bump to 1.6.0
Signed-off-by: Matt Turner <mattst88@gentoo.org>
Diffstat (limited to 'media-libs/libglvnd')
-rw-r--r-- | media-libs/libglvnd/Manifest | 1 | ||||
-rw-r--r-- | media-libs/libglvnd/libglvnd-1.6.0.ebuild | 65 |
2 files changed, 66 insertions, 0 deletions
diff --git a/media-libs/libglvnd/Manifest b/media-libs/libglvnd/Manifest index d1fdcecb5e34..0b02406df8f8 100644 --- a/media-libs/libglvnd/Manifest +++ b/media-libs/libglvnd/Manifest @@ -1,2 +1,3 @@ DIST libglvnd-1.4.0.tar.bz2 563441 BLAKE2B 079b37571da7f1eb3cf8f87ea727aeec04a27158f015889552787ff269cc779f33c10a426a7113d4e45b13008b6540c2a2eec2ac69cb1cb5c551ac82e11475e5 SHA512 a887044b6b3b8bb2dae74f28a9b92ffa0ab7b65adc74d788e28c292b99ed618f93deb1ddc041b9a9460cf46eba5f63a4ba1c20f120dea868659a022428689287 DIST libglvnd-1.5.0.tar.bz2 565918 BLAKE2B b81bbd231ec66e045690aac877681f1a09ee3596519d86cf8952e1c91e4b79979e8fd76867ccb713e133ae127aec37010d1f09c1c15e77a9e173878adc75b2b9 SHA512 8bb6b53a92160bcee9ab37a3bce9e51a855f1e5e94d22ef42b9ae0a04fec2c19bd29070084a021ce34938856790f505462cfc653c2f517117d166284688c4dfd +DIST libglvnd-1.6.0.tar.bz2 565006 BLAKE2B c18909aecc9f0f59819146c2194b20dc34abe3f4fc4bae68131aef18e9eb5713aadec3785e359850d91946fcb816a0b3a0390653fd46c5058e0d5fde6209ce13 SHA512 44752ebd30b46f64c668239716eda34f54286d3dde419ca0526e057f3be34a198986ce11b4df555b62395dbadf1485412d5ba5b9c52f1c6aa8224d7ebd34efbe diff --git a/media-libs/libglvnd/libglvnd-1.6.0.ebuild b/media-libs/libglvnd/libglvnd-1.6.0.ebuild new file mode 100644 index 000000000000..8fc4e707e6ae --- /dev/null +++ b/media-libs/libglvnd/libglvnd-1.6.0.ebuild @@ -0,0 +1,65 @@ +# Copyright 2018-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +EGIT_REPO_URI="https://gitlab.freedesktop.org/glvnd/libglvnd.git" + +if [[ ${PV} = 9999* ]]; then + GIT_ECLASS="git-r3" +fi + +PYTHON_COMPAT=( python3_{8..11} ) +VIRTUALX_REQUIRED=manual + +inherit ${GIT_ECLASS} meson-multilib 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="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~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="test X" +RESTRICT="!test? ( test )" + +BDEPEND="${PYTHON_DEPS} + test? ( X? ( ${VIRTUALX_DEPEND} ) )" +RDEPEND=" + !media-libs/mesa[-libglvnd(+)] + X? ( + x11-libs/libX11[${MULTILIB_USEDEP}] + x11-libs/libXext[${MULTILIB_USEDEP}] + )" +DEPEND="${RDEPEND} + X? ( x11-base/xorg-proto )" + +src_prepare() { + default + sed -i -e "/^PLATFORM_SYMBOLS/a '__gentoo_check_ldflags__'," \ + bin/symbols-check.py || die +} + +multilib_src_configure() { + local emesonargs=( + $(meson_feature X x11) + $(meson_feature X glx) + ) + use elibc_musl && emesonargs+=( -Dtls=false ) + + meson_src_configure +} + +multilib_src_test() { + if use X; then + virtx meson_src_test + else + meson_src_test + fi +} |