diff options
author | Matt Turner <mattst88@gentoo.org> | 2022-03-25 18:15:37 -0700 |
---|---|---|
committer | Matt Turner <mattst88@gentoo.org> | 2022-03-25 18:18:13 -0700 |
commit | ef94e311cba0fcefa5a03896bc794b75fcef5321 (patch) | |
tree | 3a0a56ca26c56e87b37721e9a3e62b7e59c603fe /media-libs/libepoxy | |
parent | app-misc/kryoflux-dtc: fix MissingInherits (wrapper.eclass) (diff) | |
download | gentoo-ef94e311cba0fcefa5a03896bc794b75fcef5321.tar.gz gentoo-ef94e311cba0fcefa5a03896bc794b75fcef5321.tar.bz2 gentoo-ef94e311cba0fcefa5a03896bc794b75fcef5321.zip |
media-libs/libepoxy: Version bump to 1.5.10
Signed-off-by: Matt Turner <mattst88@gentoo.org>
Diffstat (limited to 'media-libs/libepoxy')
-rw-r--r-- | media-libs/libepoxy/Manifest | 1 | ||||
-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, 49 insertions, 2 deletions
diff --git a/media-libs/libepoxy/Manifest b/media-libs/libepoxy/Manifest index 7f9272737a8e..9374c3fadf8f 100644 --- a/media-libs/libepoxy/Manifest +++ b/media-libs/libepoxy/Manifest @@ -1 +1,2 @@ +DIST libepoxy-1.5.10.tar.gz 332078 BLAKE2B d56b45a8fc38901fdb23c50b569a667fce8ca289103a8d7ca19f96a76c75d3c2ff9d6959ed2ed47bd64806add95dafe42dc85dfc5bc60af14b5500b70070e008 SHA512 6786f31c6e2865e68a90eb912900a86bf56fd3df4d78a477356886ac3b6ef52ac887b9c7a77aa027525f868ae9e88b12e5927ba56069c2e115acd631fca3abee DIST libepoxy-1.5.9.tar.gz 331982 BLAKE2B 2bac6dae7fa2fcc70c1a5cacb1e6b6d21aaf65a65792d3c60eb0745acc4967092136aad1fbba6009a8c8e9bb1091a5d0a38fca05e63be2b9141d9c7e3042b426 SHA512 2b7c269063dc1c156c1a2a525e27a0a323baaa7fa4ac091536e4cc5fc4c247efe9770d7979dbddb54deb14853008bb6f4d67fddd26d87cbd264eb1e6e65bc5a8 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 |