Files
guru/sys-apps/drm_info/drm_info-2.2.0.ebuild
Haelwenn (lanodan) Monnier d9f6a167bf sys-apps/drm_info: Apply patch for drm_fourcc.h issue
Signed-off-by: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
2021-01-28 11:09:50 +01:00

31 lines
590 B
Bash

# 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/drm_info"
else
SRC_URI="https://github.com/ascent12/drm_info/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"
PATCHES=(
"${FILESDIR}/${P}-drm_fourcc-fix.patch"
)
DEPEND="
x11-libs/libdrm
dev-libs/json-c:=
"
RDEPEND="${DEPEND}"