svn commit: r490208 - in head/x11: . grim slurp
Jan Beich
jbeich at FreeBSD.org
Sun Jan 13 20:13:40 UTC 2019
Author: jbeich
Date: Sun Jan 13 20:13:20 2019
New Revision: 490208
URL: https://svnweb.freebsd.org/changeset/ports/490208
Log:
Add tools for taking screenshots on x11-wm/sway
Added:
head/x11/grim/
head/x11/grim/Makefile (contents, props changed)
head/x11/grim/distinfo (contents, props changed)
head/x11/grim/pkg-descr (contents, props changed)
head/x11/slurp/
head/x11/slurp/Makefile (contents, props changed)
head/x11/slurp/distinfo (contents, props changed)
head/x11/slurp/pkg-descr (contents, props changed)
Modified:
head/x11/Makefile (contents, props changed)
Modified: head/x11/Makefile
==============================================================================
--- head/x11/Makefile Sun Jan 13 20:10:28 2019 (r490207)
+++ head/x11/Makefile Sun Jan 13 20:13:20 2019 (r490208)
@@ -85,6 +85,7 @@
SUBDIR += gnustep-app
SUBDIR += gpctool
SUBDIR += grabc
+ SUBDIR += grim
SUBDIR += gromit
SUBDIR += gskrab
SUBDIR += gstreamer1-plugins-x
@@ -303,6 +304,7 @@
SUBDIR += slim
SUBDIR += slock
SUBDIR += slop
+ SUBDIR += slurp
SUBDIR += smproxy
SUBDIR += sselp
SUBDIR += stalonetray
Added: head/x11/grim/Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/x11/grim/Makefile Sun Jan 13 20:13:20 2019 (r490208)
@@ -0,0 +1,33 @@
+# $FreeBSD$
+
+PORTNAME= grim
+DISTVERSIONPREFIX= v
+DISTVERSION= 1.0
+CATEGORIES= x11
+
+MAINTAINER= jbeich at FreeBSD.org
+COMMENT= Grab images from a Wayland compositor
+
+LICENSE= MIT
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+BUILD_DEPENDS= wayland-protocols>=1.14:graphics/wayland-protocols
+LIB_DEPENDS= libwayland-client.so:graphics/wayland
+
+USES= compiler:c11 gnome jpeg meson pkgconfig
+USE_GITHUB= yes
+USE_GNOME= cairo
+GH_ACCOUNT= emersion
+MESON_ARGS= -Dwerror=false # https://github.com/emersion/grim/issues/37
+PLIST_FILES= bin/${PORTNAME}
+
+OPTIONS_DEFINE= MANPAGES
+OPTIONS_DEFAULT=MANPAGES
+
+MANPAGES_BUILD_DEPENDS= scdoc:textproc/scdoc
+MANPAGES_PLIST_FILES= man/man1/${PORTNAME}.1.gz
+
+post-patch-MANPAGES-off:
+ @${REINPLACE_CMD} -i '' "s/'scdoc/&-disabled/" ${WRKSRC}/meson.build
+
+.include <bsd.port.mk>
Added: head/x11/grim/distinfo
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/x11/grim/distinfo Sun Jan 13 20:13:20 2019 (r490208)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1542872698
+SHA256 (emersion-grim-v1.0_GH0.tar.gz) = 0ed45902920acd400ec5c7acd01b4f0303663f64552bf2bb06fd86ebb12d7376
+SIZE (emersion-grim-v1.0_GH0.tar.gz) = 13103
Added: head/x11/grim/pkg-descr
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/x11/grim/pkg-descr Sun Jan 13 20:13:20 2019 (r490208)
@@ -0,0 +1,3 @@
+Grab images from a Wayland compositor. Works great with slurp and sway >= 1.0.
+
+WWW: https://wayland.emersion.fr/grim/
Added: head/x11/slurp/Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/x11/slurp/Makefile Sun Jan 13 20:13:20 2019 (r490208)
@@ -0,0 +1,32 @@
+# $FreeBSD$
+
+PORTNAME= slurp
+DISTVERSIONPREFIX= v
+DISTVERSION= 1.0
+CATEGORIES= x11
+
+MAINTAINER= jbeich at FreeBSD.org
+COMMENT= Select a region in a Wayland compositor
+
+LICENSE= MIT
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+BUILD_DEPENDS= wayland-protocols>=1.14:graphics/wayland-protocols
+LIB_DEPENDS= libwayland-client.so:graphics/wayland
+
+USES= compiler:c11 gnome meson pkgconfig
+USE_GITHUB= yes
+USE_GNOME= cairo
+GH_ACCOUNT= emersion
+PLIST_FILES= bin/${PORTNAME}
+
+OPTIONS_DEFINE= MANPAGES
+OPTIONS_DEFAULT=MANPAGES
+
+MANPAGES_BUILD_DEPENDS= scdoc:textproc/scdoc
+MANPAGES_PLIST_FILES= man/man1/${PORTNAME}.1.gz
+
+post-patch-MANPAGES-off:
+ @${REINPLACE_CMD} -i '' "s/'scdoc/&-disabled/" ${WRKSRC}/meson.build
+
+.include <bsd.port.mk>
Added: head/x11/slurp/distinfo
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/x11/slurp/distinfo Sun Jan 13 20:13:20 2019 (r490208)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1542873030
+SHA256 (emersion-slurp-v1.0_GH0.tar.gz) = 41f3e98fa2729ae91d9f45e4d5e08023777b2cf3839e0cc0a7b2a5c53ebc4fd4
+SIZE (emersion-slurp-v1.0_GH0.tar.gz) = 13416
Added: head/x11/slurp/pkg-descr
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/x11/slurp/pkg-descr Sun Jan 13 20:13:20 2019 (r490208)
@@ -0,0 +1,4 @@
+Select a region in a Wayland compositor and print it to the standard
+output. Works well with grim on sway >= 1.0.
+
+WWW: https://wayland.emersion.fr/slurp/
More information about the svn-ports-head
mailing list