sys-apps/drm_info: add 2.3.0

Signed-off-by: Anna Vyalkova <cyber@sysrq.in>
This commit is contained in:
Anna Vyalkova 2021-05-19 07:13:38 +05:00
parent c037e5c095
commit cb461e9ce9
No known key found for this signature in database
GPG Key ID: E7B76EDC50864BB1
3 changed files with 39 additions and 0 deletions

View File

@ -1 +1,2 @@
DIST drm_info-2.2.0.tar.gz 13510 BLAKE2B 57b8e3facfd0d101b5be87aed3cb85289ccc7bb082b2d9ef031cffd7eed90f88cf61c72f5818784d398dde370b15ec8ad03c13e3ddc9f251a6df350dfd45cdf0 SHA512 aa1de44d855e6caac732d8f1318f79deedbf314ba1172ab242bab8fa3df9b19e4ccd40a3a35148accaccedb0b380bfa13940854f6ab111a3b7a3ffcdf064e317
DIST drm_info-2.3.0.tar.gz 15777 BLAKE2B c06ad2ce028ad1bfb85b4db9a309f33ebc1cfcf476f184408a1fc7305bca5742fe4256e5d9a573c9731f459c48d53d43f78a3db6a99e76b986b72fdc1c557d51 SHA512 111b558f36f7fdcc17bd77be0f4965cc4b69ab63149ea326b16566156e3d619f47033bee8164d9d28dc540c0a453ef774249ec3d37587f42ebe6c97fcc7925d2

View File

@ -0,0 +1,35 @@
# Copyright 2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit meson
if [[ "${PV}" == "9999" ]]
then
inherit git-r3
EGIT_REPO_URI="https://github.com/ascent12/${PN}"
else
SRC_URI="https://github.com/ascent12/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
KEYWORDS="~amd64"
fi
DESCRIPTION="Small utility to dump info about DRM devices"
HOMEPAGE="https://github.com/ascent12/drm_info"
LICENSE="MIT"
SLOT="0"
IUSE="+pci"
DEPEND="
x11-libs/libdrm
dev-libs/json-c:=
pci? ( sys-apps/pciutils )
"
RDEPEND="${DEPEND}"
src_configure() {
local emesonargs=(
$(meson_feature pci libpci)
)
meson_src_configure
}

View File

@ -5,4 +5,7 @@
<email>contact@hacktivis.me</email>
<name>Haelwenn (lanodan) Monnier</name>
</maintainer>
<use>
<flag name="pci">Print PCI device names via libpci</flag>
</use>
</pkgmetadata>