diff options
author | Matt Turner <mattst88@gentoo.org> | 2021-05-25 20:52:56 -0700 |
---|---|---|
committer | Matt Turner <mattst88@gentoo.org> | 2021-05-25 20:56:17 -0700 |
commit | fbf861c3c753458ce6156e4f61e003b3a759a061 (patch) | |
tree | d764eb39cc012b049d20dd5db41304f73902a536 /media-libs/libepoxy | |
parent | Revert "sci-visualization/gle: ebuild improvement" (diff) | |
download | gentoo-fbf861c3c753458ce6156e4f61e003b3a759a061.tar.gz gentoo-fbf861c3c753458ce6156e4f61e003b3a759a061.tar.bz2 gentoo-fbf861c3c753458ce6156e4f61e003b3a759a061.zip |
media-libs/libepoxy: Version bump to 1.5.8
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.8.ebuild | 54 |
2 files changed, 55 insertions, 0 deletions
diff --git a/media-libs/libepoxy/Manifest b/media-libs/libepoxy/Manifest index 56d559e001e5..43cfc4f8ca19 100644 --- a/media-libs/libepoxy/Manifest +++ b/media-libs/libepoxy/Manifest @@ -1,3 +1,4 @@ DIST libepoxy-1.5.4.tar.gz 337615 BLAKE2B 2793fde6da59079dfadc653c9f0712b0bd2ca1455a8cda7982bce61c35a3629641a30a76db059af635c1fa0076b4e6c56874b199b41d548afbbad8f6e43384e3 SHA512 c8b03f0a39df320fdd163a34c35f9ffbed51bc0174fd89a7dc4b3ab2439413087e1e1a2fe57418520074abd435051cbf03eb2a7bf8897da1712bbbc69cf27cc5 DIST libepoxy-1.5.5.tar.gz 332057 BLAKE2B bf9a1e089c620e710caa7d4b7d5d0ec0cef186c7881b1a61aa22f58d8e023706087c766ad970ea8950752d87d2f32d12e2ded3137502f35991afb5b4fb3648cd SHA512 9056840d887f06c6422f61e65ea02511ed37b866a234d49bf78dc5f2f46e8dd9f029405387da14dced639e6a5740b5c56ab6d88ca23ea3270fc6db6a570b0c45 DIST libepoxy-1.5.7.tar.gz 331868 BLAKE2B 95bb7637f4254aaff051ca8c896e0aa80cfbeca6e12ae87515e97ebeb2f40a41c60c3a0a7a106d8a375eb3d5a77e363442afb4644725e1d8491a335e70998c51 SHA512 7f7cda8eeb2d93d56d5d8ad9f76e186285d024b6f9b211db89c18d5bdfd1e85e7ec08c421913877a153edc8c25ecbccc205303d57d19bb8f98f4c5f93ed492bb +DIST libepoxy-1.5.8.tar.gz 331848 BLAKE2B 0c4bca1a551a2c5908b4edc0176809cb9aebc22c688604c372a067d93347751dbe47354de8a8b8139cd02d8f0a444fe5a3f0b88759d75e1e85f17a6ba860a00b SHA512 352ad43014841d0b03a6da968b08d98aeb0332b9c6d1357650d83ef143db1194ae0fa68d274e4f160c76bae2fb4d2230599e9d9f6cae58f36f4b7f065e9277f0 diff --git a/media-libs/libepoxy/libepoxy-1.5.8.ebuild b/media-libs/libepoxy/libepoxy-1.5.8.ebuild new file mode 100644 index 000000000000..9b903d1590db --- /dev/null +++ b/media-libs/libepoxy/libepoxy-1.5.8.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{7,8,9} ) +PYTHON_REQ_USE='xml(+)' +inherit meson multilib-minimal 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_compile() { + meson_src_compile +} + +multilib_src_test() { + virtx meson_src_test +} + +multilib_src_install() { + meson_src_install +} |