diff options
author | jbeich <jbeich@FreeBSD.org> | 2019-08-11 13:34:39 +0800 |
---|---|---|
committer | jbeich <jbeich@FreeBSD.org> | 2019-08-11 13:34:39 +0800 |
commit | 36a7892f32dcbbb24b5c5f4c161ce89c7735b390 (patch) | |
tree | a2482aeb29142d9157276525c446951fd834e55b | |
parent | 4e6043c368c626f7a7ff6b93d49fbed12b9a3e8f (diff) | |
download | freebsd-ports-gnome-36a7892f32dcbbb24b5c5f4c161ce89c7735b390.tar.gz freebsd-ports-gnome-36a7892f32dcbbb24b5c5f4c161ce89c7735b390.tar.zst freebsd-ports-gnome-36a7892f32dcbbb24b5c5f4c161ce89c7735b390.zip |
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/
-rw-r--r-- | graphics/Makefile | 1 | ||||
-rw-r--r-- | graphics/drm_info/Makefile | 22 | ||||
-rw-r--r-- | graphics/drm_info/distinfo | 3 | ||||
-rw-r--r-- | graphics/drm_info/pkg-descr | 3 |
4 files changed, 29 insertions, 0 deletions
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 <bsd.port.mk> 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 |