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.5.ebuild | 54 | ||||
-rw-r--r-- | media-libs/libepoxy/libepoxy-9999.ebuild | 4 |
3 files changed, 59 insertions, 3 deletions
diff --git a/media-libs/libepoxy/Manifest b/media-libs/libepoxy/Manifest index 73ba50f858ed..a514fc15dc68 100644 --- a/media-libs/libepoxy/Manifest +++ b/media-libs/libepoxy/Manifest @@ -1,4 +1,6 @@ DIST libepoxy-1.5.4.tar.gz 337615 BLAKE2B 2793fde6da59079dfadc653c9f0712b0bd2ca1455a8cda7982bce61c35a3629641a30a76db059af635c1fa0076b4e6c56874b199b41d548afbbad8f6e43384e3 SHA512 c8b03f0a39df320fdd163a34c35f9ffbed51bc0174fd89a7dc4b3ab2439413087e1e1a2fe57418520074abd435051cbf03eb2a7bf8897da1712bbbc69cf27cc5 +DIST libepoxy-1.5.5.tar.gz 332057 BLAKE2B bf9a1e089c620e710caa7d4b7d5d0ec0cef186c7881b1a61aa22f58d8e023706087c766ad970ea8950752d87d2f32d12e2ded3137502f35991afb5b4fb3648cd SHA512 9056840d887f06c6422f61e65ea02511ed37b866a234d49bf78dc5f2f46e8dd9f029405387da14dced639e6a5740b5c56ab6d88ca23ea3270fc6db6a570b0c45 EBUILD libepoxy-1.5.4.ebuild 1142 BLAKE2B 5cfd33bbb2c87733e6bff7f9e25f16d482aaf201d0fd179dd5e6bdd496abe2b5e7c7ba277353012ad089f722d42d8c58c76e65b4515085f83965fc58766db438 SHA512 e78b8eccbf1aaeb930803bca1927ed12d9870fda9b67f44651c93f60cb019523239474b7631edf5c526da9ea7a4cdbd596737f79dd783efbd9ed9e0cc7f99c0c -EBUILD libepoxy-9999.ebuild 1143 BLAKE2B dd8059028b7dc955f0ea6c1b4cc49b191f35b6805023d8db3b4af5104654781065021b5898bd9b1b64433103638b66591b8a64319d91f782936f6c6d7bafffc4 SHA512 314e349c2a6c6d4aeac04764bfe50708fc482c94e3818827196dc2b8d0d0bfb2d60387c3d346164fe860b75121614f484bde039f08eaf659acbea88506debb9b +EBUILD libepoxy-1.5.5.ebuild 1158 BLAKE2B 68b5ac5939cbaab14250785f47614e01e695182b43130fa60cf24cc6b4cd065fa90293d55a879e670031f5c003bc8fe1ad82c20afd46202c1bab035ebcc0bcc4 SHA512 6e9b681b237afb62ec589302281a0e1e7a31a3eada3a6174cb6f13ea6342969b3eb5f07e2c6ffc0e3676e13826356f23ead3462b410d9e415285089f4c8af2a6 +EBUILD libepoxy-9999.ebuild 1158 BLAKE2B 68b5ac5939cbaab14250785f47614e01e695182b43130fa60cf24cc6b4cd065fa90293d55a879e670031f5c003bc8fe1ad82c20afd46202c1bab035ebcc0bcc4 SHA512 6e9b681b237afb62ec589302281a0e1e7a31a3eada3a6174cb6f13ea6342969b3eb5f07e2c6ffc0e3676e13826356f23ead3462b410d9e415285089f4c8af2a6 MISC metadata.xml 375 BLAKE2B 09993b726e54558d32b0dfb2a221bdd8928b85f55bdaaeb2faf30a0711ed58b05022a9fb669ec43806aff223860e47db53226a0f8f34d7b35edf0a842ab45923 SHA512 fec0ce8c99534083afc197c156a7fbaf2e83b2e22887ef134984ea7a4e6226f2714db399a118cd96f22b20012e7b7572156fc13aa72516e2557880c716140ad6 diff --git a/media-libs/libepoxy/libepoxy-1.5.5.ebuild b/media-libs/libepoxy/libepoxy-1.5.5.ebuild new file mode 100644 index 000000000000..ecd6c30c4964 --- /dev/null +++ b/media-libs/libepoxy/libepoxy-1.5.5.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_{6,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 ~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 +} diff --git a/media-libs/libepoxy/libepoxy-9999.ebuild b/media-libs/libepoxy/libepoxy-9999.ebuild index 329b128e948e..ecd6c30c4964 100644 --- a/media-libs/libepoxy/libepoxy-9999.ebuild +++ b/media-libs/libepoxy/libepoxy-9999.ebuild @@ -5,7 +5,7 @@ EAPI=7 PYTHON_COMPAT=( python3_{6,7,8,9} ) PYTHON_REQ_USE='xml(+)' -inherit meson multilib-minimal python-any-r1 +inherit meson multilib-minimal python-any-r1 virtualx if [[ ${PV} = 9999* ]]; then EGIT_REPO_URI="https://github.com/anholt/${PN}.git" @@ -46,7 +46,7 @@ multilib_src_compile() { } multilib_src_test() { - meson_src_test + virtx meson_src_test } multilib_src_install() { |