mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-04-07 03:10:15 -04:00
No drop of 2.7.0 yet since libdrm-2.4.125 just got released too. Signed-off-by: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
35 lines
709 B
Bash
35 lines
709 B
Bash
# Copyright 2020-2025 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-2.4.125
|
|
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
|
|
}
|