diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-02-29 23:41:07 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-02-29 23:41:07 +0000 |
commit | ed676a605df68f67de57c1c8d70c2fef518c0701 (patch) | |
tree | c28635c16528ae9f95a99aa29ee9ad15fd92d1db /x11-apps/igt-gpu-tools | |
parent | 0c1bebc4027c639909ad0a840068b649b6be4b95 (diff) |
gentoo auto-resync : 29:02:2024 - 23:41:07
Diffstat (limited to 'x11-apps/igt-gpu-tools')
-rw-r--r-- | x11-apps/igt-gpu-tools/Manifest | 4 | ||||
-rw-r--r-- | x11-apps/igt-gpu-tools/igt-gpu-tools-1.28.ebuild | 107 | ||||
-rw-r--r-- | x11-apps/igt-gpu-tools/igt-gpu-tools-9999.ebuild | 25 |
3 files changed, 123 insertions, 13 deletions
diff --git a/x11-apps/igt-gpu-tools/Manifest b/x11-apps/igt-gpu-tools/Manifest index 0e1f0a6e30e0..003cf5e42d0b 100644 --- a/x11-apps/igt-gpu-tools/Manifest +++ b/x11-apps/igt-gpu-tools/Manifest @@ -1,5 +1,7 @@ DIST igt-gpu-tools-1.27.1-patches.tar.xz 5608 BLAKE2B 01c3cd14a7e920930dea96de6136c3b0236204998d9ad39775f6f9d6e1eb248bfb67651cabc23d50ec88b052c4e35194da2fe0ac05fe7084b771892cd9e2f328 SHA512 ef00c789374bd3a2961d6d989f557026f68f94e929c74ffb1c078c6106c734960f40442cae5d3b7b2b5fef99f8ffdaccb2ef8bdb5d93fe430cc0038e5f32baa8 DIST igt-gpu-tools-1.27.1.tar.xz 2321940 BLAKE2B b6c4fee31c97cd5005c1f2cd5c18c181582adfb27e92444a8e78d1c105acb78a424bd4e4af8d13333776c81531fbfd24dc4b7db0da9858f5b803f64962d6269d SHA512 20923505e9afe6e5064bf8f4056e027ff0321cd29d8982157a608369aea6fbef24c93756de96ef6296e09d539957fc6cdad4097cbab5af33f8828f762da0d8c0 +DIST igt-gpu-tools-1.28.tar.xz 2597284 BLAKE2B c15a5b0142f2bf54d0b002b5a17ca705b9cc33662b902edb18e0860c8a1d66c911a082f1c60b3b41f184bd72d7f568554a11d69f9b70978d176eef2cdd1f4e38 SHA512 b0bed7fce28a309f5e5b1f044952abf06ede806ef691b4ddbd52ee437bc9c3701822d65c761c69a8ae5b40695d121193f30aa772cdfaf9ab16c800d7fbcd0abc EBUILD igt-gpu-tools-1.27.1-r1.ebuild 2669 BLAKE2B b85478d41fc0357d7a06c58977963880a9604202ed208ae9e2988f5d33076afefc6ea86949fd9cb52fe96c531846b7dc440d9fd42e45ccb55f24c59e28c62928 SHA512 19b9c484eaa8fa93275e0efccf46c7874eb539f4597b85a5ac1eea756fff704da357ed7333d53f9c334c7a87ae7fe91fa5018b43a179cecdf03b071f63cc1af8 -EBUILD igt-gpu-tools-9999.ebuild 2473 BLAKE2B ccff670aa7ae79cecf5fbd54cc286745a4be280aebfb7d620a87f4517cd38858ba155a7e8709221704071196041963440dc18154ec8a7822ba15252c4f7f2b12 SHA512 5af8b78b94209669466505f8e61383b78e1c41119a38e8d9bd9257ff796d723b5543658c66dfaf1afa1b8b0f2911185d9c5fcda14c7d17ffd7f9eb97e024b10a +EBUILD igt-gpu-tools-1.28.ebuild 2518 BLAKE2B 878640ee2be72f5c3b56e3371d0d49a503cefcfc3dc3877832187435ab5af026aff6210f590ed02396118e27629f3c4984dd5c48c4af0352fdbbd62463d8efdb SHA512 36758d89627cdef238a7852f090a783465cda77bc72a8873340b034eb5373422576ec7fb6d5aba38a0fca7aa8d433d41d57cd0ac17f00631994e6d7c6054e707 +EBUILD igt-gpu-tools-9999.ebuild 2518 BLAKE2B 878640ee2be72f5c3b56e3371d0d49a503cefcfc3dc3877832187435ab5af026aff6210f590ed02396118e27629f3c4984dd5c48c4af0352fdbbd62463d8efdb SHA512 36758d89627cdef238a7852f090a783465cda77bc72a8873340b034eb5373422576ec7fb6d5aba38a0fca7aa8d433d41d57cd0ac17f00631994e6d7c6054e707 MISC metadata.xml 743 BLAKE2B 41f82413bcc0ca4cae3b142bca8871403fa73cba2f54328b283854336e637128b53c01f33655c65d65dbb132b56a3e1a6e0dd889cf840eb3f5f25fd9f8fb14cf SHA512 812de04b016d8154e0255abae0174ff89a89dcb2eb2430e198284a0dac2bd93dfea0e0268abbae5a97c5b7fb6a9cc2c70f398844de634b8b2bab118057e2bc2a diff --git a/x11-apps/igt-gpu-tools/igt-gpu-tools-1.28.ebuild b/x11-apps/igt-gpu-tools/igt-gpu-tools-1.28.ebuild new file mode 100644 index 000000000000..1f80a8afe9ad --- /dev/null +++ b/x11-apps/igt-gpu-tools/igt-gpu-tools-1.28.ebuild @@ -0,0 +1,107 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +EGIT_REPO_URI="https://gitlab.freedesktop.org/drm/${PN}.git" +if [[ ${PV} = *9999* ]]; then + GIT_ECLASS="git-r3" +fi + +PYTHON_COMPAT=( python3_{10..12} ) +inherit ${GIT_ECLASS} meson python-any-r1 + +DESCRIPTION="Intel GPU userland tools" + +HOMEPAGE="https://gitlab.freedesktop.org/drm/igt-gpu-tools" +if [[ ${PV} != *9999* ]]; then + 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 tests 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 ) + ) + doc? ( tests ) + runner? ( tests ) +" +RESTRICT="test" + +RDEPEND=" + dev-libs/elfutils + dev-libs/glib:2 + sys-apps/kmod + 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-debug/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? ( + app-alternatives/yacc + app-alternatives/lex + ) +" +BDEPEND="${PYTHON_DEPS}" + +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 overlay) + -Doverlay_backends=${overlay_backends%?} + $(meson_feature chamelium) + $(meson_feature valgrind) + $(meson_feature man) + -Dtestplan=disabled + -Dsphinx=disabled + $(meson_feature doc docs) + $(meson_feature tests) + -Dxe_driver=disabled + -Dlibdrm_drivers=${gpus%?} + $(meson_feature unwind libunwind) + $(meson_feature runner) + ) + 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 62113e876de6..1f80a8afe9ad 100644 --- a/x11-apps/igt-gpu-tools/igt-gpu-tools-9999.ebuild +++ b/x11-apps/igt-gpu-tools/igt-gpu-tools-9999.ebuild @@ -7,15 +7,13 @@ if [[ ${PV} = *9999* ]]; then GIT_ECLASS="git-r3" fi -PYTHON_COMPAT=( python3_{10..11} ) +PYTHON_COMPAT=( python3_{10..12} ) inherit ${GIT_ECLASS} meson python-any-r1 DESCRIPTION="Intel GPU userland tools" HOMEPAGE="https://gitlab.freedesktop.org/drm/igt-gpu-tools" -if [[ ${PV} = *9999* ]]; then - SRC_URI="" -else +if [[ ${PV} != *9999* ]]; then KEYWORDS="~amd64 ~x86" SRC_URI="https://www.x.org/releases/individual/app/${P}.tar.xz" fi @@ -36,7 +34,7 @@ RESTRICT="test" RDEPEND=" dev-libs/elfutils dev-libs/glib:2 - sys-apps/kmod:= + sys-apps/kmod sys-libs/zlib:= sys-process/procps:= virtual/libudev:= @@ -47,7 +45,7 @@ RDEPEND=" chamelium? ( dev-libs/xmlrpc-c:=[curl] sci-libs/gsl:= - media-libs/alsa-lib:= + media-libs/alsa-lib ) overlay? ( >=x11-libs/libXrandr-1.3 @@ -91,16 +89,19 @@ src_configure() { use overlay && use X && overlay_backends+="x," local emesonargs=( + $(meson_feature overlay) + -Doverlay_backends=${overlay_backends%?} $(meson_feature chamelium) - $(meson_feature doc docs) + $(meson_feature valgrind) $(meson_feature man) - $(meson_feature overlay) - $(meson_feature runner) + -Dtestplan=disabled + -Dsphinx=disabled + $(meson_feature doc docs) $(meson_feature tests) - $(meson_feature valgrind) - $(meson_feature unwind libunwind) - -Doverlay_backends=${overlay_backends%?} + -Dxe_driver=disabled -Dlibdrm_drivers=${gpus%?} + $(meson_feature unwind libunwind) + $(meson_feature runner) ) meson_src_configure } |