From deba8115d2c2af26df42966b91ef04ff4dd79cde Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Thu, 14 May 2020 11:09:11 +0100 Subject: gentoo resync : 14.05.2020 --- x11-apps/igt-gpu-tools/Manifest | 4 +- x11-apps/igt-gpu-tools/igt-gpu-tools-1.25.ebuild | 103 +++++++++++++++++++++++ x11-apps/igt-gpu-tools/igt-gpu-tools-9999.ebuild | 22 ++--- 3 files changed, 117 insertions(+), 12 deletions(-) create mode 100644 x11-apps/igt-gpu-tools/igt-gpu-tools-1.25.ebuild (limited to 'x11-apps/igt-gpu-tools') diff --git a/x11-apps/igt-gpu-tools/Manifest b/x11-apps/igt-gpu-tools/Manifest index 428ef1734469..0664ec52e1b3 100644 --- a/x11-apps/igt-gpu-tools/Manifest +++ b/x11-apps/igt-gpu-tools/Manifest @@ -1,4 +1,6 @@ DIST igt-gpu-tools-1.24.tar.xz 1207436 BLAKE2B 0b04033be0195a4fee5611aeae2f47334ce1de5df65c652ebc0b36d1185286268bb426f472e3c1311ff576e8184e7a4efb95ef3181006ed8c448ea76452940d7 SHA512 22c25e27ead64f561fe8f46b132d6c7562a90d7bff09dc2618a532b16d7b8fdf54ed94d986a45655657b54219d350ce1b1e6c89da2b6073024e9bbe0973fa190 +DIST igt-gpu-tools-1.25.tar.xz 1425652 BLAKE2B 1dd17e8542c126d356478acd07344d8732013a24fd180064d6f2277be76170924e7031fd2529b2aa054b40d5093d9cd95271e156bc6b97a75158c84de142f1ba SHA512 a24ee46092241da26fc2dac2b9b54c9f16f7a408c8740c9c7209e876929e2908a36261ba258ca4a4a4e4a21c1e9c919457bf98d514f81d8b7dbfcf5f89a74daf EBUILD igt-gpu-tools-1.24.ebuild 2509 BLAKE2B e5d7344a2cc59a3fe6f6e72abe3433fdb88344faa20b00ab11e7499b5911e734a983ea6cf64637f3e3e56df57c8a9fd766eb0832854ad2f30fc34ccf873e46e0 SHA512 2d50a2db3f8dd94138b0c7479b7a6dc5839efe4ac4c5e1cf5956db79cbb721f789d660f4f6620c8c201687e25cc6309b112d9ff2b28bde69c7fe1b964ad161ff -EBUILD igt-gpu-tools-9999.ebuild 2509 BLAKE2B e5d7344a2cc59a3fe6f6e72abe3433fdb88344faa20b00ab11e7499b5911e734a983ea6cf64637f3e3e56df57c8a9fd766eb0832854ad2f30fc34ccf873e46e0 SHA512 2d50a2db3f8dd94138b0c7479b7a6dc5839efe4ac4c5e1cf5956db79cbb721f789d660f4f6620c8c201687e25cc6309b112d9ff2b28bde69c7fe1b964ad161ff +EBUILD igt-gpu-tools-1.25.ebuild 2428 BLAKE2B 4892f54073a77fbe6e1fcb3cf803f7b681b9b4d3cf862e327dcd490b00513c8d815e1a872ba88bd5dc81cc3d85a1a37bee76da9e38349f600412d9c4f80308c5 SHA512 77ec10d17a40ffd70901914d4e67c286004432b7f71a5e368b46cd9d771d19ed82d1626aff8244b676a67550766c16f117d7be8f0c339d40c530271ac1c81100 +EBUILD igt-gpu-tools-9999.ebuild 2428 BLAKE2B 4892f54073a77fbe6e1fcb3cf803f7b681b9b4d3cf862e327dcd490b00513c8d815e1a872ba88bd5dc81cc3d85a1a37bee76da9e38349f600412d9c4f80308c5 SHA512 77ec10d17a40ffd70901914d4e67c286004432b7f71a5e368b46cd9d771d19ed82d1626aff8244b676a67550766c16f117d7be8f0c339d40c530271ac1c81100 MISC metadata.xml 673 BLAKE2B 02cde7d4028a16cef77b898e88892e8d459f058c4894b8b738cd4e394562cb9ba529ad20d2d25e79f2f6ac8720ebba5d41ec1439abb7399dec9b743cb6460041 SHA512 881ce13108dbc798afd31e68fdbcd9d4cf7631f0be5776bc9eeb6c9948f9080fb098d05b96d193e26044e9435e8312c711e08fc9e0348e4a525a083c7527e036 diff --git a/x11-apps/igt-gpu-tools/igt-gpu-tools-1.25.ebuild b/x11-apps/igt-gpu-tools/igt-gpu-tools-1.25.ebuild new file mode 100644 index 000000000000..e87a5ccf4a7a --- /dev/null +++ b/x11-apps/igt-gpu-tools/igt-gpu-tools-1.25.ebuild @@ -0,0 +1,103 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +EGIT_REPO_URI="https://gitlab.freedesktop.org/drm/${PN}.git" +if [[ ${PV} = *9999* ]]; then + GIT_ECLASS="git-r3" +fi + +inherit ${GIT_ECLASS} meson + +DESCRIPTION="Intel GPU userland tools" + +HOMEPAGE="https://01.org/linuxgraphics https://gitlab.freedesktop.org/drm/igt-gpu-tools" +if [[ ${PV} = *9999* ]]; then + SRC_URI="" +else + KEYWORDS="~amd64 ~x86" + SRC_URI="https://www.x.org/releases/individual/app/${P}.tar.xz" +fi +LICENSE="MIT" +SLOT="0" +IUSE="chamelium doc man overlay runner unwind valgrind video_cards_amdgpu video_cards_intel video_cards_nouveau X xv" +REQUIRED_USE=" + || ( video_cards_amdgpu video_cards_intel video_cards_nouveau ) + overlay? ( + video_cards_intel + || ( X xv ) + ) +" +RESTRICT="test" + +RDEPEND=" + dev-libs/elfutils + dev-libs/glib:2 + sys-apps/kmod:= + sys-libs/libunwind:= + sys-libs/zlib:= + sys-process/procps:= + virtual/libudev:= + >=x11-libs/cairo-1.12.0[X?] + >=x11-libs/libdrm-2.4.82[video_cards_amdgpu?,video_cards_intel?,video_cards_nouveau?] + >=x11-libs/libpciaccess-0.10 + x11-libs/pixman + chamelium? ( + dev-libs/xmlrpc-c[curl] + sci-libs/gsl + media-libs/alsa-lib:= + ) + overlay? ( + >=x11-libs/libXrandr-1.3 + xv? ( + x11-libs/libX11 + x11-libs/libXext + x11-libs/libXv + ) + ) + runner? ( dev-libs/json-c:= ) + unwind? ( sys-libs/libunwind ) + valgrind? ( dev-util/valgrind ) + " +DEPEND="${RDEPEND} + doc? ( >=dev-util/gtk-doc-1.25-r1 ) + man? ( dev-python/docutils ) + overlay? ( + >=dev-util/peg-0.1.18 + x11-base/xorg-proto + ) + video_cards_intel? ( + sys-devel/bison + sys-devel/flex + ) +" + +src_prepare() { + sed -e "s/find_program('rst2man-3'/find_program('rst2man.py', 'rst2man-3'/" -i man/meson.build + default_src_prepare +} + +src_configure() { + local gpus="" + use video_cards_amdgpu && gpus+="amdgpu," + use video_cards_intel && gpus+="intel," + use video_cards_nouveau && gpus+="nouveau," + + local overlay_backends="" + use overlay && use xv && overlay_backends+="xv," + use overlay && use X && overlay_backends+="x," + + local emesonargs=( + $(meson_feature chamelium) + $(meson_feature doc docs) + $(meson_feature man) + $(meson_feature overlay) + $(meson_feature runner) + $(meson_feature doc tests) # Test build is required for docs + $(meson_feature valgrind) + $(meson_feature unwind libunwind) + -Doverlay_backends=${overlay_backends%?} + -Dlibdrm_drivers=${gpus%?} + ) + meson_src_configure +} diff --git a/x11-apps/igt-gpu-tools/igt-gpu-tools-9999.ebuild b/x11-apps/igt-gpu-tools/igt-gpu-tools-9999.ebuild index 8662c0102ba5..e87a5ccf4a7a 100644 --- a/x11-apps/igt-gpu-tools/igt-gpu-tools-9999.ebuild +++ b/x11-apps/igt-gpu-tools/igt-gpu-tools-9999.ebuild @@ -1,7 +1,7 @@ -# Copyright 1999-2019 Gentoo Authors +# Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=6 +EAPI=7 EGIT_REPO_URI="https://gitlab.freedesktop.org/drm/${PN}.git" if [[ ${PV} = *9999* ]]; then GIT_ECLASS="git-r3" @@ -88,16 +88,16 @@ src_configure() { use overlay && use X && overlay_backends+="x," local emesonargs=( - $(meson_feature chamelium build_chamelium) - $(meson_feature doc build_docs) - $(meson_feature man build_man) - $(meson_feature overlay build_overlay) - $(meson_feature runner build_runner) - $(meson_feature doc build_tests) # Test build is required for docs - $(meson_feature valgrind with_valgrind) - $(meson_feature unwind with_libunwind) + $(meson_feature chamelium) + $(meson_feature doc docs) + $(meson_feature man) + $(meson_feature overlay) + $(meson_feature runner) + $(meson_feature doc tests) # Test build is required for docs + $(meson_feature valgrind) + $(meson_feature unwind libunwind) -Doverlay_backends=${overlay_backends%?} - -Dwith_libdrm=${gpus%?} + -Dlibdrm_drivers=${gpus%?} ) meson_src_configure } -- cgit v1.2.3