sys-apps/drm_info: add 2.7.0, drop 2.6.0

Signed-off-by: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
This commit is contained in:
Haelwenn (lanodan) Monnier
2024-11-25 02:42:13 +01:00
parent e55fb292b7
commit 47c9ba0eaf
3 changed files with 1 additions and 30 deletions

View File

@@ -0,0 +1,34 @@
# Copyright 2020-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit meson
MY_P="${PN}-v${PV}"
DESCRIPTION="Small utility to dump info about DRM devices"
HOMEPAGE="https://gitlab.freedesktop.org/emersion/drm_info"
SRC_URI="https://gitlab.freedesktop.org/emersion/drm_info/-/archive/v${PV}/${MY_P}.tar.bz2"
S="${WORKDIR}/${MY_P}"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64"
IUSE="man +pci"
DEPEND="
dev-libs/json-c:=
x11-libs/libdrm
pci? ( sys-apps/pciutils )
"
RDEPEND="${DEPEND}"
BDEPEND="man? ( app-text/scdoc )"
src_configure() {
local emesonargs=(
$(meson_feature man man-pages)
$(meson_feature pci libpci)
)
meson_src_configure
}