mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2025-12-09 00:07:57 +03:00
x11-apps/igt-gpu-tools: Drop old versions
Signed-off-by: Matt Turner <mattst88@gentoo.org>
This commit is contained in:
parent
66020041c1
commit
339e0da585
@ -1,2 +1 @@
|
||||
DIST igt-gpu-tools-1.30.tar.xz 3079568 BLAKE2B 0be7a31d5ca472d6011abc271d4fd5c1c34e7e458a510dab1d99e56bed87d9923a757aced407e5b2cf72b37c074d62fe3fcdefb0fc75c43f439650f129b51005 SHA512 be0af7c7b3bbf6d47ac5267b6be9af356cfd148f2588d624635e642299df0ab0a825bc1498c6ba2b9f8b6c1e4f0126b6fdf22c82548bfa1df1906efad492db60
|
||||
DIST igt-gpu-tools-2.0.tar.xz 3134532 BLAKE2B d2a7d9ec6e887d2ef5bad5d87363f6647043c45ed6efc7dec1b2396b30716ec4b1061b3db7045397b77f8e0d3d8c1833a2b8ff8886cdff53fe6a9c10d1b70f4a SHA512 e9eeb15580fb6e7073ad86bad2e8d99ab7823b9e0af0898aefcc2f7080a3890f61abd09d8da0dff8a8e360b2812998a3dceb282408e301b6a692ef364a1d03f3
|
||||
|
||||
@ -1,105 +0,0 @@
|
||||
# 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..13} )
|
||||
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
|
||||
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}
|
||||
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
|
||||
-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