diff options
Diffstat (limited to 'media-libs/libepoxy')
-rw-r--r-- | media-libs/libepoxy/Manifest | 4 | ||||
-rw-r--r-- | media-libs/libepoxy/libepoxy-1.5.10.ebuild | 46 | ||||
-rw-r--r-- | media-libs/libepoxy/libepoxy-9999.ebuild | 4 |
3 files changed, 51 insertions, 3 deletions
diff --git a/media-libs/libepoxy/Manifest b/media-libs/libepoxy/Manifest index 16af3bb54ff0..27d95b42f1b7 100644 --- a/media-libs/libepoxy/Manifest +++ b/media-libs/libepoxy/Manifest @@ -1,4 +1,6 @@ +DIST libepoxy-1.5.10.tar.gz 332078 BLAKE2B d56b45a8fc38901fdb23c50b569a667fce8ca289103a8d7ca19f96a76c75d3c2ff9d6959ed2ed47bd64806add95dafe42dc85dfc5bc60af14b5500b70070e008 SHA512 6786f31c6e2865e68a90eb912900a86bf56fd3df4d78a477356886ac3b6ef52ac887b9c7a77aa027525f868ae9e88b12e5927ba56069c2e115acd631fca3abee DIST libepoxy-1.5.9.tar.gz 331982 BLAKE2B 2bac6dae7fa2fcc70c1a5cacb1e6b6d21aaf65a65792d3c60eb0745acc4967092136aad1fbba6009a8c8e9bb1091a5d0a38fca05e63be2b9141d9c7e3042b426 SHA512 2b7c269063dc1c156c1a2a525e27a0a323baaa7fa4ac091536e4cc5fc4c247efe9770d7979dbddb54deb14853008bb6f4d67fddd26d87cbd264eb1e6e65bc5a8 +EBUILD libepoxy-1.5.10.ebuild 1064 BLAKE2B c701d43e518995aa880d1ea01d6a9d2a2f7523d89ed3b2a8c30337e34313acc3dbc534e39abd2cd41635e8d53a3a70a1345bbd02190e59a54985d84165a3ed27 SHA512 64a984a035a3798da1af0d055d131286e6d93be12048d3ea3aa0ee9cb649e49015a9c6ec88781022f65e2db0020ced2bc74e8956255fa895169277912cb0f697 EBUILD libepoxy-1.5.9-r1.ebuild 1056 BLAKE2B 30d5433e96f453c74dcd1d12da3047c9194eea9658b6914a64f1fee52a73aba5fce5fd2ef67fca87a692849b4122ac2fd83966e578c38951a48a7c4a054a3bd2 SHA512 3b8052007d1670460d3b0abb5f4b9b6ca4bd7aa3440f3a667a33af076213a80a50af2c4573a35acda842fdaf6784a5f72e3f36a162c18b6c865a8012c46d1230 -EBUILD libepoxy-9999.ebuild 1064 BLAKE2B 7dd53d9dcab52dc889fa6d60207bcf4f144fbe2c430a43a14641b69bb4e50436bd7ae87fba382c65f0d61047d89011ae92812eb05548bf996bc230887d52757e SHA512 cb89bd72d25043ab72078c4927b9f64f4e79c6bacd62dd16fca2118286eaac3ad9790e7f062d38ac40e000c4a590a5da1698f7d895bdbe6dcc22f57c6511e2fd +EBUILD libepoxy-9999.ebuild 1064 BLAKE2B c701d43e518995aa880d1ea01d6a9d2a2f7523d89ed3b2a8c30337e34313acc3dbc534e39abd2cd41635e8d53a3a70a1345bbd02190e59a54985d84165a3ed27 SHA512 64a984a035a3798da1af0d055d131286e6d93be12048d3ea3aa0ee9cb649e49015a9c6ec88781022f65e2db0020ced2bc74e8956255fa895169277912cb0f697 MISC metadata.xml 376 BLAKE2B 980a035e0ac8a5a3126ee27c032e8f14353ca5e7f2920769b74a23aa827a1110ff8f55a49a1f3072889ea1fed9f76f39bb3c2fddc6f6e2e736773c961ea4be3b SHA512 d1b9e9349929118e39201157b34e7955b32301ceaea877025fdf929d1039af536618eec5a9b0c638622c390201cd4d3106d981f884cf0c1c6469534fa65797af diff --git a/media-libs/libepoxy/libepoxy-1.5.10.ebuild b/media-libs/libepoxy/libepoxy-1.5.10.ebuild new file mode 100644 index 000000000000..e6be2aed6eca --- /dev/null +++ b/media-libs/libepoxy/libepoxy-1.5.10.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{8..10} ) +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 ~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="+egl test +X" + +RESTRICT="!test? ( test )" + +RDEPEND=" + egl? ( media-libs/mesa[egl(+),${MULTILIB_USEDEP}] )" +DEPEND="${RDEPEND} + X? ( x11-libs/libX11[${MULTILIB_USEDEP}] )" +BDEPEND="${PYTHON_DEPS} + virtual/pkgconfig" + +multilib_src_configure() { + local emesonargs=( + -Degl=$(usex egl) + -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 8a0359a68ecb..e6be2aed6eca 100644 --- a/media-libs/libepoxy/libepoxy-9999.ebuild +++ b/media-libs/libepoxy/libepoxy-9999.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 -PYTHON_COMPAT=( python3_{7..10} ) +PYTHON_COMPAT=( python3_{8..10} ) PYTHON_REQ_USE='xml(+)' inherit meson-multilib python-any-r1 virtualx |