mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2025-12-08 00:05:33 +03:00
x11-apps/igt-gpu-tools: Drop old versions
Signed-off-by: Matt Turner <mattst88@gentoo.org>
This commit is contained in:
parent
35863dbbbd
commit
469c1f4c88
@ -1,2 +1 @@
|
||||
DIST igt-gpu-tools-2.1.tar.xz 3186004 BLAKE2B 55a29a1d835fc9f9c0ef8882bb26cf502b57e4f63084b229f185164def367bdf6826e1e3ba89e169a0c977cbb45f0fef35b4bf88d6912940c17766f6741d4ebe SHA512 401e9912044e2d37cc581cf01ba03b4d14c2e685e28c4764cb544c481291c6ec36cb90beaadb51537ba7cc8dc33d4aa7139dad91b4484ae0b718cbe19c1a987e
|
||||
DIST igt-gpu-tools-2.2.tar.xz 3226944 BLAKE2B 132fe1257bcf9e733d74ca8180b9da1213abc26fdd0ecd05d5eadeacc74aeab036057fb2037d94bd6955e45cb95d0fdfb5b28225475144c92863d8781a8d400f SHA512 20032b90e397ca73f9f8f5b453034fffc09e28372adddebd1a71b1323235e3e379bf452d5a4dd76b895e4c47df67595051c16b8a1488249e5aae946f6a35258c
|
||||
|
||||
@ -1,10 +0,0 @@
|
||||
--- a/lib/xe/xe_sriov_debugfs.c
|
||||
+++ b/lib/xe/xe_sriov_debugfs.c
|
||||
@@ -5,6 +5,7 @@
|
||||
|
||||
#include <dirent.h>
|
||||
#include <fcntl.h>
|
||||
+#include <limits.h>
|
||||
|
||||
#include "drmtest.h"
|
||||
#include "igt_debugfs.h"
|
||||
@ -1,109 +0,0 @@
|
||||
# Copyright 1999-2025 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_{11..14} )
|
||||
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 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 )
|
||||
)
|
||||
runner? ( tests )
|
||||
"
|
||||
RESTRICT="test"
|
||||
|
||||
RDEPEND="
|
||||
dev-libs/elfutils
|
||||
dev-libs/glib:2
|
||||
sys-apps/kmod
|
||||
virtual/zlib:=
|
||||
sys-process/procps:=
|
||||
virtual/libudev:=
|
||||
>=x11-libs/cairo-1.12.0[X?]
|
||||
>=x11-libs/libdrm-2.4.125[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}
|
||||
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}"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/${PN}-2.1-musl.patch"
|
||||
)
|
||||
|
||||
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
|
||||
-Ddocs=disabled
|
||||
$(meson_feature tests)
|
||||
-Dxe_driver=disabled
|
||||
-Dlibdrm_drivers=${gpus%?}
|
||||
$(meson_feature unwind libunwind)
|
||||
$(meson_feature runner)
|
||||
)
|
||||
meson_src_configure
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user