commit: 3152205908d6d568687064b3b8a4c3f3833a28b0 Author: Matt Turner <mattst88 <AT> gentoo <DOT> org> AuthorDate: Tue Nov 26 03:44:22 2019 +0000 Commit: Matt Turner <mattst88 <AT> gentoo <DOT> org> CommitDate: Tue Nov 26 03:59:12 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=31522059
media-libs/libepoxy: Version bump to 1.5.4 Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org> media-libs/libepoxy/Manifest | 1 + media-libs/libepoxy/libepoxy-1.5.4.ebuild | 60 +++++++++++++++++++++++++++++++ 2 files changed, 61 insertions(+) diff --git a/media-libs/libepoxy/Manifest b/media-libs/libepoxy/Manifest index 6be52074314..fd512f30368 100644 --- a/media-libs/libepoxy/Manifest +++ b/media-libs/libepoxy/Manifest @@ -1 +1,2 @@ DIST libepoxy-1.5.3.tar.gz 326768 BLAKE2B 053665429a249adca4c9b3d57797949e3a0ffd0ed3f1c66cb8becfb884431e44a4cccb6b2fd3788a86ee01268ebad3cc36e67e391d2aa5cdea28837a162be9ad SHA512 e831f4f918f08fd5f799501efc0e23b8d404478651634f5e7b35f8ebcc29d91abc447ab20da062dde5be75e18cb39ffea708688e6534f7ab257b949f9c53ddc8 +DIST libepoxy-1.5.4.tar.gz 337615 BLAKE2B 2793fde6da59079dfadc653c9f0712b0bd2ca1455a8cda7982bce61c35a3629641a30a76db059af635c1fa0076b4e6c56874b199b41d548afbbad8f6e43384e3 SHA512 c8b03f0a39df320fdd163a34c35f9ffbed51bc0174fd89a7dc4b3ab2439413087e1e1a2fe57418520074abd435051cbf03eb2a7bf8897da1712bbbc69cf27cc5 diff --git a/media-libs/libepoxy/libepoxy-1.5.4.ebuild b/media-libs/libepoxy/libepoxy-1.5.4.ebuild new file mode 100644 index 00000000000..2516bc11192 --- /dev/null +++ b/media-libs/libepoxy/libepoxy-1.5.4.ebuild @@ -0,0 +1,60 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +EGIT_REPO_URI="https://github.com/anholt/${PN}.git" + +if [[ ${PV} = 9999* ]]; then + GIT_ECLASS="git-r3" +fi + +PYTHON_COMPAT=( python{2_7,3_5,3_6,3_7} ) +PYTHON_REQ_USE='xml(+)' +inherit ${GIT_ECLASS} meson multilib-minimal python-any-r1 + +DESCRIPTION="Epoxy is a library for handling OpenGL function pointer management for you" +HOMEPAGE="https://github.com/anholt/libepoxy" +if [[ ${PV} = 9999* ]]; then + SRC_URI="" +else + KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86" + SRC_URI="https://github.com/anholt/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" +fi + +LICENSE="MIT" +SLOT="0" +IUSE="+egl test +X" + +RDEPEND="egl? ( media-libs/mesa[egl,${MULTILIB_USEDEP}] )" +DEPEND="X? ( x11-libs/libX11[${MULTILIB_USEDEP}] ) + ${RDEPEND}" +BDEPEND="${PYTHON_DEPS} + virtual/pkgconfig" + +src_unpack() { + default + [[ $PV = 9999* ]] && git-r3_src_unpack +} + +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() { + meson_src_test +} + +multilib_src_install() { + meson_src_install +}