mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-11 08:03:16 -04:00
sys-apps/drm_info: add 2.3.0
Signed-off-by: Anna Vyalkova <cyber@sysrq.in>
This commit is contained in:
35
sys-apps/drm_info/drm_info-2.3.0.ebuild
Normal file
35
sys-apps/drm_info/drm_info-2.3.0.ebuild
Normal 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
|
||||
}
|
||||
Reference in New Issue
Block a user