pkgsrc-WIP-changes archive

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

Import swappy



Module Name:	pkgsrc-wip
Committed By:	kikadf <kikadf.01%gmail.com@localhost>
Pushed By:	kikadf
Date:		Mon Mar 9 13:28:49 2026 +0100
Changeset:	931a4f0950a043c40dc239e87e87d1d2df39779e

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

Log Message:
Import swappy

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

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

diffstat:
 Makefile        |  1 +
 swappy/DESCR    |  4 ++++
 swappy/Makefile | 31 +++++++++++++++++++++++++++++++
 swappy/PLIST    | 11 +++++++++++
 swappy/distinfo |  5 +++++
 5 files changed, 52 insertions(+)

diffs:
diff --git a/Makefile b/Makefile
index e11b38c36f..7293f888c4 100644
--- a/Makefile
+++ b/Makefile
@@ -5595,6 +5595,7 @@ SUBDIR+=	svnup
 SUBDIR+=	svrcore
 SUBDIR+=	svt-vp9
 SUBDIR+=	swami
+SUBDIR+=	swappy
 SUBDIR+=	swarp
 SUBDIR+=	sway
 SUBDIR+=	swaybg
diff --git a/swappy/DESCR b/swappy/DESCR
new file mode 100644
index 0000000000..b98f89d17e
--- /dev/null
+++ b/swappy/DESCR
@@ -0,0 +1,4 @@
+A Wayland native snapshot and editor tool, inspired
+by Snappy on macOS. Works great with grim, slurp
+and sway. But can easily work with other screen copy
+tools that can output a final image to stdout.
diff --git a/swappy/Makefile b/swappy/Makefile
new file mode 100644
index 0000000000..c60046761d
--- /dev/null
+++ b/swappy/Makefile
@@ -0,0 +1,31 @@
+# $NetBSD$
+
+DISTNAME=	swappy-1.8.0
+CATEGORIES=	x11
+MASTER_SITES=	${MASTER_SITE_GITHUB:=jtheoof/}
+GITHUB_TAG=	v${PKGVERSION_NOREV}
+
+MAINTAINER=	kikadf.01%gmail.com@localhost
+HOMEPAGE=	https://github.com/jtheoof/swappy
+COMMENT=	Screenshot tool for Wayland
+LICENSE=	mit
+
+USE_TOOLS+=	pkg-config
+DEPENDS+=	wl-clipboard-[0-9]*:../../wip/wl-clipboard
+
+SUBST_CLASSES+=		nogit
+SUBST_STAGE.nogit=	pre-configure
+SUBST_MESSAGE.nogit=	Set version
+SUBST_FILES.nogit+=	meson.build
+SUBST_SED.nogit+=	-e 's/git =/\#git =/g'
+SUBST_SED.nogit+=	-e 's/git.found()/false/g'
+
+.include "../../devel/meson/build.mk"
+.include "../../devel/wayland/buildlink3.mk"
+.include "../../devel/wayland-protocols/buildlink3.mk"
+.include "../../devel/pango/buildlink3.mk"
+.include "../../graphics/cairo/buildlink3.mk"
+.include "../../graphics/hicolor-icon-theme/buildlink3.mk"
+.include "../../x11/gtk3/buildlink3.mk"
+.include "../../textproc/scdoc/tool.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/swappy/PLIST b/swappy/PLIST
new file mode 100644
index 0000000000..b0a2bc5fed
--- /dev/null
+++ b/swappy/PLIST
@@ -0,0 +1,11 @@
+@comment $NetBSD$
+bin/swappy
+man/man1/swappy.1
+share/applications/swappy.desktop
+share/icons/hicolor/scalable/apps/swappy.svg
+share/locale/de/LC_MESSAGES/swappy.mo
+share/locale/en/LC_MESSAGES/swappy.mo
+share/locale/fr/LC_MESSAGES/swappy.mo
+share/locale/pt_BR/LC_MESSAGES/swappy.mo
+share/locale/tr/LC_MESSAGES/swappy.mo
+share/locale/zh_CN/LC_MESSAGES/swappy.mo
diff --git a/swappy/distinfo b/swappy/distinfo
new file mode 100644
index 0000000000..d9f7598dee
--- /dev/null
+++ b/swappy/distinfo
@@ -0,0 +1,5 @@
+$NetBSD$
+
+BLAKE2s (swappy-1.8.0.tar.gz) = 79167c145a5d10868f707d908474b3a7582293fdb5c8ee6242410539ed612c1f
+SHA512 (swappy-1.8.0.tar.gz) = e139ab3de544fe7008c00822ac66bb86f8ff8fabadef8aed8b445a1c8389bc0297d1be045bcd368b66533a9bef23ad4735302eaf5428334cc6723991fb3e32fd
+Size (swappy-1.8.0.tar.gz) = 697882 bytes


Home | Main Index | Thread Index | Old Index