pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

New package, grim-1.3.0



Module Name:	pkgsrc-wip
Committed By:	pin <voidpin%protonmail.com@localhost>
Pushed By:	pin
Date:		Sat Jan 18 10:00:41 2020 +0100
Changeset:	830dd47169af82fe3698bdd06fc412d7a85c4872

Modified Files:
	Makefile
Added Files:
	grim/DESCR
	grim/Makefile
	grim/PLIST
	grim/distinfo

Log Message:
New package, grim-1.3.0

Tool to take screenshots on Wayland compositor

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=830dd47169af82fe3698bdd06fc412d7a85c4872

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 Makefile      |  1 +
 grim/DESCR    |  2 ++
 grim/Makefile | 33 +++++++++++++++++++++++++++++++++
 grim/PLIST    |  2 ++
 grim/distinfo |  6 ++++++
 5 files changed, 44 insertions(+)

diffs:
diff --git a/Makefile b/Makefile
index 90e3146cfb..1c4d8d623c 100644
--- a/Makefile
+++ b/Makefile
@@ -1234,6 +1234,7 @@ SUBDIR+=	greenbone-security-assistant
 SUBDIR+=	gretl
 SUBDIR+=	greybird-theme
 SUBDIR+=	grilo-plugins
+SUBDIR+=	grim
 SUBDIR+=	grisbi
 SUBDIR+=	gromacs
 SUBDIR+=	gromacs2018
diff --git a/grim/DESCR b/grim/DESCR
new file mode 100644
index 0000000000..58d789fdb4
--- /dev/null
+++ b/grim/DESCR
@@ -0,0 +1,2 @@
+Grab images from a Wayland compositor.
+Works great with slurp and with sway.
diff --git a/grim/Makefile b/grim/Makefile
new file mode 100644
index 0000000000..08b7651236
--- /dev/null
+++ b/grim/Makefile
@@ -0,0 +1,33 @@
+# $NetBSD$
+
+GITHUB_PROJECT=	grim
+DISTNAME=	grim-1.3.0
+CATEGORIES=	graphics
+MASTER_SITES=	${MASTER_SITE_GITHUB:=emersion/}
+GITHUB_RELEASE=	v1.3.0
+
+MAINTAINER=	voidpin%protonmail.com@localhost
+HOMEPAGE=	https://wayland.emersion.fr/grim/
+COMMENT=	Tool to grab images from a Wayland compositor
+LICENSE=	mit
+
+USE_TOOLS=	pkg-config
+USE_CMAKE=	yes
+USE_LANGUAGES=	c c++
+
+CMAKE_ARGS+=	-DJPEG=ENABELED
+
+INSTALL_MAKE_FLAGS+=	INSTALL_ROOT=${DESTDIR}
+
+do-configure:
+	cd ${WRKSRC} && \
+	${SETENV} ${CONFIGURE_ENV} \
+	${PREFIX}/bin/meson build && \
+	${PREFIX}/bin/ninja -C build
+
+
+.include "../../graphics/cairo/buildlink3.mk"
+.include "../../devel/meson/build.mk"
+.include "../../devel/wayland/buildlink3.mk"
+.include "../../devel/wayland-protocols/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/grim/PLIST b/grim/PLIST
new file mode 100644
index 0000000000..540f170f91
--- /dev/null
+++ b/grim/PLIST
@@ -0,0 +1,2 @@
+@comment $NetBSD$
+bin/grim
diff --git a/grim/distinfo b/grim/distinfo
new file mode 100644
index 0000000000..9857a579e3
--- /dev/null
+++ b/grim/distinfo
@@ -0,0 +1,6 @@
+$NetBSD$
+
+SHA1 (grim-1.3.0.tar.gz) = a3ae3b2340cf89008cd74c4fab7050489d7af0f8
+RMD160 (grim-1.3.0.tar.gz) = a6594742dc01067e5a6d2204ebcb59662d21b427
+SHA512 (grim-1.3.0.tar.gz) = de56046375da1a0c4d787a39d97e18af964dbf40b0d18c6f99c68b4bf054cf6712ba653d69711d3bc6f50870a23649959d67c0b150ac5c637e8c9e74b0eba2e6
+Size (grim-1.3.0.tar.gz) = 15103 bytes


Home | Main Index | Thread Index | Old Index