blob: 371d2dc9c11deb3312fb35fb42f855d480b45c48 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
# 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
}
|