diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-09-12 16:41:52 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-09-12 16:41:52 +0100 |
commit | d4de2b287be5b8553180509934fd44ef3d7fce3c (patch) | |
tree | a12a5c99efcbae7b7d052e2f8ad1adf8caf638e1 /media-libs/libglvnd | |
parent | fc1125ea4b3373e327ba0e157daa1d7e8aee15f9 (diff) |
gentoo auto-resync : 12:09:2023 - 16:41:52
Diffstat (limited to 'media-libs/libglvnd')
-rw-r--r-- | media-libs/libglvnd/Manifest | 4 | ||||
-rw-r--r-- | media-libs/libglvnd/libglvnd-1.7.0.ebuild | 65 | ||||
-rw-r--r-- | media-libs/libglvnd/libglvnd-9999.ebuild | 2 |
3 files changed, 69 insertions, 2 deletions
diff --git a/media-libs/libglvnd/Manifest b/media-libs/libglvnd/Manifest index 6e683877ad7e..408b605facae 100644 --- a/media-libs/libglvnd/Manifest +++ b/media-libs/libglvnd/Manifest @@ -1,4 +1,6 @@ DIST libglvnd-1.6.0.tar.bz2 565006 BLAKE2B c18909aecc9f0f59819146c2194b20dc34abe3f4fc4bae68131aef18e9eb5713aadec3785e359850d91946fcb816a0b3a0390653fd46c5058e0d5fde6209ce13 SHA512 44752ebd30b46f64c668239716eda34f54286d3dde419ca0526e057f3be34a198986ce11b4df555b62395dbadf1485412d5ba5b9c52f1c6aa8224d7ebd34efbe +DIST libglvnd-1.7.0.tar.bz2 572931 BLAKE2B 6b55dab6ac4202bdb007e34d73bf81a58eedb87b9375cca36b2f4c7565d89c393978e4511fa0a8865eaebd78d15f8bb0751eb80d4d7f73c8080a22665dbd3dad SHA512 7caef0a129527bb968bf1ced64082a56cdde881f013f5ba54c51c09989e7d559dba3071c8fdc04e535e62609d68e7622197445152f655e0afbe06890c0b7a69b EBUILD libglvnd-1.6.0.ebuild 1437 BLAKE2B f77615a509d60e9265d7a5d477516ea5c2079062c262f3201581ae666c65d82222486cea85459f23d72971ff4834bfc80b4bac483139e2088793186431f85b28 SHA512 5b259589274433d61e070f0052c3265174f17013bd0e4ad9552335f7271a6d055e6c4d17ac67c8d7741a7104f7cfa5433f32870a260e107cd5ff23fce76098b7 -EBUILD libglvnd-9999.ebuild 1445 BLAKE2B 5fc709ecdb7b0a62581684e0a88b6f8cfb72e14e2d31329aec2b5b260f0011cac652c313fe4afb974082d970de155e70a050dd9c5ce851ec351c3d03f1b5041a SHA512 d2012a61b20e0faed60969199e16849c3e788cad6d49cc9c7a3e089e472ed6ee782040163ba66f2cc7d0dfdbb9d3af39b01120b5bbc0c420fd583a5957c803cb +EBUILD libglvnd-1.7.0.ebuild 1446 BLAKE2B f6ffbf04b79abf0acbfadb3b516a651e61ad87b7df5ed4bb761c553535376716a55e48ef71572080ec88dbce3378a84273f712a6c45db9d16cd235e9f70f0cc3 SHA512 0569b3f41a69ff5b110f287b6def7e451c8fd17d0a11f9d0e9c798a92827ec96ac795be526f4063babb619c6d428a7c2bacd6fad069da75259458d1ff99059b5 +EBUILD libglvnd-9999.ebuild 1446 BLAKE2B f6ffbf04b79abf0acbfadb3b516a651e61ad87b7df5ed4bb761c553535376716a55e48ef71572080ec88dbce3378a84273f712a6c45db9d16cd235e9f70f0cc3 SHA512 0569b3f41a69ff5b110f287b6def7e451c8fd17d0a11f9d0e9c798a92827ec96ac795be526f4063babb619c6d428a7c2bacd6fad069da75259458d1ff99059b5 MISC metadata.xml 336 BLAKE2B 4bf6bd6267610a40d3966ded2563015cc2cdf4100bb5b56f14311d8f2ab4796c6bdb08f7fd9922a83bd9738e47f2c603ccf35117c0ef4fabfb6858048f34f4fe SHA512 52454eacfef943242844a5c244372c902fff7d801dd73372a4105c998b209fd333057ec47acbb7036613e6cc656b9bda52023e2d1a202d993d8a42c8055378c5 diff --git a/media-libs/libglvnd/libglvnd-1.7.0.ebuild b/media-libs/libglvnd/libglvnd-1.7.0.ebuild new file mode 100644 index 000000000000..e41e5f0e7466 --- /dev/null +++ b/media-libs/libglvnd/libglvnd-1.7.0.ebuild @@ -0,0 +1,65 @@ +# Copyright 2018-2023 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_{10..12} ) +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 +} diff --git a/media-libs/libglvnd/libglvnd-9999.ebuild b/media-libs/libglvnd/libglvnd-9999.ebuild index 606ed957f924..e41e5f0e7466 100644 --- a/media-libs/libglvnd/libglvnd-9999.ebuild +++ b/media-libs/libglvnd/libglvnd-9999.ebuild @@ -9,7 +9,7 @@ if [[ ${PV} = 9999* ]]; then GIT_ECLASS="git-r3" fi -PYTHON_COMPAT=( python3_{9..11} ) +PYTHON_COMPAT=( python3_{10..12} ) VIRTUALX_REQUIRED=manual inherit ${GIT_ECLASS} meson-multilib python-any-r1 virtualx |