diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-04-22 12:05:36 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-04-22 12:05:36 +0100 |
commit | 02eb6576978c38afed5787f6f2dbab8353379d66 (patch) | |
tree | 0b82220aae58c1307bef3aff0f342f4cdf858161 /media-libs/libepoxy | |
parent | 490ef2c2dc8b4e808f37add1adee21a754efd9a9 (diff) |
gentoo auto-resync : 22:04:2024 - 12:05:36
Diffstat (limited to 'media-libs/libepoxy')
-rw-r--r-- | media-libs/libepoxy/Manifest | 3 | ||||
-rw-r--r-- | media-libs/libepoxy/libepoxy-1.5.10-r3.ebuild | 54 | ||||
-rw-r--r-- | media-libs/libepoxy/libepoxy-9999.ebuild | 20 |
3 files changed, 69 insertions, 8 deletions
diff --git a/media-libs/libepoxy/Manifest b/media-libs/libepoxy/Manifest index 89771c9518be..fcf6d878ed39 100644 --- a/media-libs/libepoxy/Manifest +++ b/media-libs/libepoxy/Manifest @@ -2,5 +2,6 @@ AUX libepoxy-1.5.10-libopengl-fallback.patch 1270 BLAKE2B bd3c68b2cb3392c5ebb552 AUX libepoxy-1.5.10-use-opengl.pc-without-x.patch 590 BLAKE2B cef810cccd2133045a60bb5d6e812f048402f1ad65b3befaca34b14950df60b5b7fa732de09eec1a998782ecf846d6863432713b62a29ee6b6ed25b1c2e1cd77 SHA512 567e3f838e62fb607e3cb4f15a5694ffe2407f575acfc1198b15f042fdaef333a05cd3dda28204fad8224967da13c62d87d2ea073c38f1f239d9e0ac7d520dd7 DIST libepoxy-1.5.10.tar.gz 332078 BLAKE2B d56b45a8fc38901fdb23c50b569a667fce8ca289103a8d7ca19f96a76c75d3c2ff9d6959ed2ed47bd64806add95dafe42dc85dfc5bc60af14b5500b70070e008 SHA512 6786f31c6e2865e68a90eb912900a86bf56fd3df4d78a477356886ac3b6ef52ac887b9c7a77aa027525f868ae9e88b12e5927ba56069c2e115acd631fca3abee EBUILD libepoxy-1.5.10-r2.ebuild 1132 BLAKE2B f8f258356758c5683338da2c6deef0d14d688cae8b42780fa9eaf2c3374cf7e7e716128f0a634fe39eaee9486a75e3fb20b7709d21c6ed4000e364f99db3a192 SHA512 5adf8faa81a6335b6d57fd4aaa70bb69b394474039faa939e0bed1e70b1e9d97081ff44e8fa03e4bf198633c6c74498e7a9e4244644ef5352f1324b0512e37d6 -EBUILD libepoxy-9999.ebuild 1144 BLAKE2B 785308b6f4d4f5287e4002e5f4799b7038f3afbbe26c6cb7d0a02e97ee6adeb9c13f325b40b716a407aac3508cb9f54d27b182d44a22a53ee3d6861384629888 SHA512 01112bdfd285f7a4f22df1414455bfb5d278f678ca1da9dc31488a99d3fa6dcdf9a050dd0f8f1c2bc221b826c6d1ecdd4bb9b6b1d8f6d3ff4340730ce201d5f9 +EBUILD libepoxy-1.5.10-r3.ebuild 1146 BLAKE2B 46b20a5493df2207d374fdc7cbfa9b63bd91019149aefedce9fc213950d7f7e26eb9fbfa195bb4ce08f9ede9dd52a745431f095428e4b9b9dbaec8b26f2ad650 SHA512 ee832fa8d3870d8b8e423e2eb74368a508123b553e4ca2f55ef702fef1ad89bf8de9c8f05db2fdb5080d1f416e15793b03912aee839cfa73b583e743047af7d3 +EBUILD libepoxy-9999.ebuild 1151 BLAKE2B 6e995e68b8943d3b72920aa586b7ef27e87db25dff3dbd40615ad320a0d17d8b67781143e3b416fc127df0013ac05c3e27fc8e35dfff17614a9d0c5c98177932 SHA512 99cfbcf8e128ca433092a537464ecfc907c6cc1d0171e7931d852328aa09ca69fcdc9a411a214b35250290dba054abc01522c262390edadd9f1c1762f482a19e MISC metadata.xml 315 BLAKE2B b5522d4c4122abee9842af3c21d8d8be42c0b451d27f7c7e9f2e1de21d23c936a177fd150329f9d4e1e35b6cd5bfd58178bc01298fbb3bb6ac94d475c9eade9e SHA512 7c2c9fc4ef59a4041aba0363cfd2a0c46123818294d5dfa69438fe9049458d4091035a6247465b9cc7c4660cc3085cc5899e351e74ed8208859446203228e52b diff --git a/media-libs/libepoxy/libepoxy-1.5.10-r3.ebuild b/media-libs/libepoxy/libepoxy-1.5.10-r3.ebuild new file mode 100644 index 000000000000..2abe9d8c340e --- /dev/null +++ b/media-libs/libepoxy/libepoxy-1.5.10-r3.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{10..12} ) +PYTHON_REQ_USE='xml(+)' +inherit meson-multilib python-any-r1 virtualx + +if [[ ${PV} = 9999* ]]; then + EGIT_REPO_URI="https://github.com/anholt/${PN}.git" + inherit git-r3 +else + SRC_URI="https://github.com/anholt/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +fi + +DESCRIPTION="Library for handling OpenGL function pointer management" +HOMEPAGE="https://github.com/anholt/libepoxy" + +LICENSE="MIT" +SLOT="0" +IUSE="test +X" + +RESTRICT="!test? ( test )" + +RDEPEND=" + media-libs/libglvnd[X?,${MULTILIB_USEDEP}] +" +DEPEND="${RDEPEND} + X? ( + x11-base/xorg-proto + x11-libs/libX11[${MULTILIB_USEDEP}] + ) +" +BDEPEND="${PYTHON_DEPS} + virtual/pkgconfig +" + +PATCHES=( "${FILESDIR}"/libepoxy-1.5.10-libopengl-fallback.patch ) + +multilib_src_configure() { + local emesonargs=( + -Degl=yes + -Dglx=$(usex X) + $(meson_use X x11) + $(meson_use test tests) + ) + meson_src_configure +} + +multilib_src_test() { + virtx meson_src_test +} diff --git a/media-libs/libepoxy/libepoxy-9999.ebuild b/media-libs/libepoxy/libepoxy-9999.ebuild index 0016899e1df5..bd74879a1c01 100644 --- a/media-libs/libepoxy/libepoxy-9999.ebuild +++ b/media-libs/libepoxy/libepoxy-9999.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 -PYTHON_COMPAT=( python3_{9..11} ) +PYTHON_COMPAT=( python3_{10..12} ) PYTHON_REQ_USE='xml(+)' inherit meson-multilib python-any-r1 virtualx @@ -20,22 +20,28 @@ HOMEPAGE="https://github.com/anholt/libepoxy" LICENSE="MIT" SLOT="0" -IUSE="+egl test +X" +IUSE="test +X" RESTRICT="!test? ( test )" RDEPEND=" - egl? ( media-libs/mesa[egl(+),${MULTILIB_USEDEP}] )" + media-libs/libglvnd[X?,${MULTILIB_USEDEP}] +" DEPEND="${RDEPEND} - X? ( x11-libs/libX11[${MULTILIB_USEDEP}] )" + X? ( + x11-base/xorg-proto + x11-libs/libX11[${MULTILIB_USEDEP}] + ) +" BDEPEND="${PYTHON_DEPS} - virtual/pkgconfig" + virtual/pkgconfig +" PATCHES=( "${FILESDIR}"/libepoxy-1.5.10-use-opengl.pc-without-x.patch ) multilib_src_configure() { local emesonargs=( - -Degl=$(usex egl) + -Degl=yes -Dglx=$(usex X) $(meson_use X x11) $(meson_use test tests) |