From 9aaa71712f80f4421e0bf6527dcb43003be9b4c5 Mon Sep 17 00:00:00 2001 From: Jan Beich Date: Sun, 11 Aug 2019 05:34:39 +0000 Subject: [PATCH] graphics/drm_info: add new port Small utility to dump info about DRM devices. Suports JSON output. Dumps can be shared on https://drmdb.emersion.fr/ --- graphics/Makefile | 1 + graphics/drm_info/Makefile | 22 ++++++++++++++++++++++ graphics/drm_info/distinfo | 3 +++ graphics/drm_info/pkg-descr | 3 +++ 4 files changed, 29 insertions(+) create mode 100644 graphics/drm_info/Makefile create mode 100644 graphics/drm_info/distinfo create mode 100644 graphics/drm_info/pkg-descr diff --git a/graphics/Makefile b/graphics/Makefile index 1154ccc1c62a..5f991827fd8c 100644 --- a/graphics/Makefile +++ b/graphics/Makefile @@ -143,6 +143,7 @@ SUBDIR += drm-fbsd12.0-kmod SUBDIR += drm-kmod SUBDIR += drm-legacy-kmod + SUBDIR += drm_info SUBDIR += dspdfviewer SUBDIR += duhdraw SUBDIR += dynamechs diff --git a/graphics/drm_info/Makefile b/graphics/drm_info/Makefile new file mode 100644 index 000000000000..69738e9b6319 --- /dev/null +++ b/graphics/drm_info/Makefile @@ -0,0 +1,22 @@ +# $FreeBSD$ + +PORTNAME= drm_info +DISTVERSIONPREFIX= v +DISTVERSION= 2.1.0 +CATEGORIES= graphics + +MAINTAINER= jbeich@FreeBSD.org +COMMENT= Small utility to dump info about DRM devices + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE + +LIB_DEPENDS= libjson-c.so:devel/json-c \ + libdrm.so:graphics/libdrm + +USES= compiler:c11 meson pkgconfig +USE_GITHUB= yes +GH_ACCOUNT= ascent12 +PLIST_FILES= bin/${PORTNAME} + +.include diff --git a/graphics/drm_info/distinfo b/graphics/drm_info/distinfo new file mode 100644 index 000000000000..11eb5dc27f4e --- /dev/null +++ b/graphics/drm_info/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1559573555 +SHA256 (ascent12-drm_info-v2.1.0_GH0.tar.gz) = eb5158f93815e4a30b0e10c98fbe3e0b5422dbd8c6d6ff8b9490f92b80993612 +SIZE (ascent12-drm_info-v2.1.0_GH0.tar.gz) = 12947 diff --git a/graphics/drm_info/pkg-descr b/graphics/drm_info/pkg-descr new file mode 100644 index 000000000000..bfddbf994084 --- /dev/null +++ b/graphics/drm_info/pkg-descr @@ -0,0 +1,3 @@ +Small utility to dump info about DRM devices. Suports JSON output. + +WWW: https://github.com/ascent12/drm_info