mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2025-12-21 09:07:26 -08:00
x11-apps/igt-gpu-tools: Version bump to 2.3
Signed-off-by: Matt Turner <mattst88@gentoo.org>
This commit is contained in:
parent
687dbfd373
commit
80acb4019d
@ -1 +1,2 @@
|
|||||||
DIST igt-gpu-tools-2.2.tar.xz 3226944 BLAKE2B 132fe1257bcf9e733d74ca8180b9da1213abc26fdd0ecd05d5eadeacc74aeab036057fb2037d94bd6955e45cb95d0fdfb5b28225475144c92863d8781a8d400f SHA512 20032b90e397ca73f9f8f5b453034fffc09e28372adddebd1a71b1323235e3e379bf452d5a4dd76b895e4c47df67595051c16b8a1488249e5aae946f6a35258c
|
DIST igt-gpu-tools-2.2.tar.xz 3226944 BLAKE2B 132fe1257bcf9e733d74ca8180b9da1213abc26fdd0ecd05d5eadeacc74aeab036057fb2037d94bd6955e45cb95d0fdfb5b28225475144c92863d8781a8d400f SHA512 20032b90e397ca73f9f8f5b453034fffc09e28372adddebd1a71b1323235e3e379bf452d5a4dd76b895e4c47df67595051c16b8a1488249e5aae946f6a35258c
|
||||||
|
DIST igt-gpu-tools-2.3.tar.xz 3384656 BLAKE2B d9c3ecf93c4e370f04ac0ae89973b1471e02cfb6f4f6f2a96f6eab45cf57d52b66444db6983de2ad42890bab066474035312c755a59a6adcd5e38f54ac292f95 SHA512 669e5f124c1177ed58c43b8b9b945f6436fc37b1162b16bbd1db78c5e170c68be98cc3b08b5ecb438d1313722fee2ab8bba8ca86a971443401c2acc3f3ec68ff
|
||||||
|
|||||||
105
x11-apps/igt-gpu-tools/igt-gpu-tools-2.3.ebuild
Normal file
105
x11-apps/igt-gpu-tools/igt-gpu-tools-2.3.ebuild
Normal file
@ -0,0 +1,105 @@
|
|||||||
|
# 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}"
|
||||||
|
|
||||||
|
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