media-libs/libglvnd: Version bump to 1.3.1
authorMatt Turner <mattst88@gentoo.org>
Fri, 21 Feb 2020 21:31:52 +0000 (13:31 -0800)
committerMatt Turner <mattst88@gentoo.org>
Fri, 21 Feb 2020 21:32:56 +0000 (13:32 -0800)
Closes: https://bugs.gentoo.org/706224
Signed-off-by: Matt Turner <mattst88@gentoo.org>
media-libs/libglvnd/Manifest
media-libs/libglvnd/libglvnd-1.3.1.ebuild [new file with mode: 0644]
media-libs/libglvnd/libglvnd-9999.ebuild

index 2eca6f17a70309726bf030405017f559890a5037..3f8bab80cf458c5f45a9e8ccef6eb579e2c7c9b1 100644 (file)
@@ -1 +1,2 @@
 DIST libglvnd-1.3.0.tar.bz2 713781 BLAKE2B 15014038e8a0f14fc29892354b282535735af0f29e244e4826b945071deec151783fc042f3588add24c31f35a5c72c53bfb1090c109117466f8b8c805cc67356 SHA512 d573fc4a1114be9468afd6e035b3815111f9a7e7453bc2b127c93a1b8a01c7f20440ff8872fbae8fc93aab98862dac3224ceca7f28d02e93f3b9a641d1a248e3
+DIST libglvnd-1.3.1.tar.bz2 714436 BLAKE2B 31b91f678b0335a7db3e697129dabd157c37fee0ec0f81f7d0be68ffcf9d6be2989a929f7b1fb87b505168ab4a3cc07b4cecf103f1d5a2a3b866eedb5a3a494b SHA512 99bbe8447f7791c8a4b2ab4e9f3067309ea3ffb9a042b0b5e80d1eac7e6e36af8b5ec56ec3266f34343d705521827956f2fdca27be386f40e130cec300e8342c
diff --git a/media-libs/libglvnd/libglvnd-1.3.1.ebuild b/media-libs/libglvnd/libglvnd-1.3.1.ebuild
new file mode 100644 (file)
index 0000000..aa0f129
--- /dev/null
@@ -0,0 +1,66 @@
+# Copyright 2018-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+EGIT_REPO_URI="https://gitlab.freedesktop.org/glvnd/libglvnd.git"
+
+if [[ ${PV} = 9999* ]]; then
+       GIT_ECLASS="git-r3"
+fi
+
+PYTHON_COMPAT=( python3_{6,7,8} )
+VIRTUALX_REQUIRED=manual
+
+inherit ${GIT_ECLASS} meson multilib-minimal python-any-r1 virtualx
+
+DESCRIPTION="The GL Vendor-Neutral Dispatch library"
+HOMEPAGE="https://gitlab.freedesktop.org/glvnd/libglvnd"
+if [[ ${PV} = 9999* ]]; then
+       SRC_URI=""
+else
+       KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86"
+       SRC_URI="https://gitlab.freedesktop.org/glvnd/${PN}/-/archive/v${PV}/${PN}-v${PV}.tar.bz2 -> ${P}.tar.bz2"
+       S=${WORKDIR}/${PN}-v${PV}
+fi
+
+LICENSE="MIT"
+SLOT="0"
+IUSE="test X"
+RESTRICT="!test? ( test )"
+
+BDEPEND="${PYTHON_DEPS}
+       test? ( X? ( ${VIRTUALX_DEPEND} ) )"
+RDEPEND="
+       !media-libs/mesa[-libglvnd(-)]
+       !<media-libs/mesa-19.2.2
+       X? (
+               x11-libs/libX11[${MULTILIB_USEDEP}]
+               x11-libs/libXext[${MULTILIB_USEDEP}]
+       )"
+DEPEND="${RDEPEND}
+       X? ( x11-base/xorg-proto )"
+
+multilib_src_configure() {
+       local emesonargs=(
+               $(meson_feature X x11)
+               $(meson_feature X glx)
+       )
+       meson_src_configure
+}
+
+multilib_src_compile() {
+       meson_src_compile
+}
+
+multilib_src_test() {
+       if use X; then
+               virtx meson_src_test
+       else
+               meson_src_test
+       fi
+}
+
+multilib_src_install() {
+       meson_src_install
+}
index 444880b86a2994074abb437bd49715f1e7ce2dde..aa0f129196b944c25acd20d52879f86422038c66 100644 (file)
@@ -19,7 +19,7 @@ HOMEPAGE="https://gitlab.freedesktop.org/glvnd/libglvnd"
 if [[ ${PV} = 9999* ]]; then
        SRC_URI=""
 else
-       KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86"
+       KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86"
        SRC_URI="https://gitlab.freedesktop.org/glvnd/${PN}/-/archive/v${PV}/${PN}-v${PV}.tar.bz2 -> ${P}.tar.bz2"
        S=${WORKDIR}/${PN}-v${PV}
 fi