svn commit: r540366 - in head/x11: . swappy
Jan Beich
jbeich at FreeBSD.org
Thu Jun 25 04:17:53 UTC 2020
Author: jbeich
Date: Thu Jun 25 04:17:52 2020
New Revision: 540366
URL: https://svnweb.freebsd.org/changeset/ports/540366
Log:
x11/swappy: add new port
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 PNG image to stdout.
https://github.com/jtheoof/swappy
Added:
head/x11/swappy/
head/x11/swappy/Makefile (contents, props changed)
head/x11/swappy/distinfo (contents, props changed)
head/x11/swappy/pkg-descr (contents, props changed)
Modified:
head/x11/Makefile (contents, props changed)
Modified: head/x11/Makefile
==============================================================================
--- head/x11/Makefile Thu Jun 25 03:58:49 2020 (r540365)
+++ head/x11/Makefile Thu Jun 25 04:17:52 2020 (r540366)
@@ -304,6 +304,7 @@
SUBDIR += startup-notification
SUBDIR += sterm
SUBDIR += stjerm
+ SUBDIR += swappy
SUBDIR += swarp
SUBDIR += swaybg
SUBDIR += swayidle
Added: head/x11/swappy/Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/x11/swappy/Makefile Thu Jun 25 04:17:52 2020 (r540366)
@@ -0,0 +1,41 @@
+# $FreeBSD$
+
+PORTNAME= swappy
+DISTVERSIONPREFIX= v
+DISTVERSION= 1.1.0
+CATEGORIES= x11
+
+PATCH_SITES= https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/commit/
+PATCHFILES+= b59700f47085.patch:-p1 # https://github.com/jtheoof/swappy/pull/42
+PATCHFILES+= f82390dcec74.patch:-p1 # https://github.com/jtheoof/swappy/pull/42
+PATCHFILES+= d7df51363873.patch:-p1 # https://github.com/jtheoof/swappy/pull/42
+
+MAINTAINER= jbeich at FreeBSD.org
+COMMENT= Snapshot editing for Wayland (a la Snappy on macOS)
+
+LICENSE= MIT
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+USES= compiler:c11 gnome meson pkgconfig
+USE_GITHUB= yes
+USE_GNOME= cairo gdkpixbuf2 gtk30
+GH_ACCOUNT= jtheoof
+PLIST_FILES= bin/${PORTNAME}
+
+OPTIONS_DEFINE= CLIPBOARD ICONSFONT MANPAGES NOTIFY
+OPTIONS_DEFAULT=CLIPBOARD ICONSFONT MANPAGES NOTIFY
+
+CLIPBOARD_DESC= Copy to clipboard support
+CLIPBOARD_RUN_DEPENDS= wl-copy:x11/wl-clipboard
+
+ICONSFONT_DESC= Install Font Awesome to properly render icons
+ICONSFONT_RUN_DEPENDS= font-awesome>0:x11-fonts/font-awesome
+
+MANPAGES_BUILD_DEPENDS= scdoc:textproc/scdoc
+MANPAGES_MESON_ENABLED= man-pages
+MANPAGES_PLIST_FILES= man/man1/${PORTNAME}.1.gz
+
+NOTIFY_LIB_DEPENDS= libnotify.so:devel/libnotify
+NOTIFY_MESON_ENABLED= libnotify
+
+.include <bsd.port.mk>
Added: head/x11/swappy/distinfo
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/x11/swappy/distinfo Thu Jun 25 04:17:52 2020 (r540366)
@@ -0,0 +1,9 @@
+TIMESTAMP = 1592881518
+SHA256 (jtheoof-swappy-v1.1.0_GH0.tar.gz) = b17cd548209947f10c4f8391f2a9dd4de16544abda00fc2290b4fd3815d70a50
+SIZE (jtheoof-swappy-v1.1.0_GH0.tar.gz) = 644656
+SHA256 (b59700f47085.patch) = 3569b4b290256124c253736448fa53f98ac908eadf1a39ed74e0c1bd3bf0e26b
+SIZE (b59700f47085.patch) = 717
+SHA256 (f82390dcec74.patch) = d77b60de58eefae58e8bdc95bdd8ebb418c13b1f841c1522d2262b36a4a919ba
+SIZE (f82390dcec74.patch) = 1116
+SHA256 (d7df51363873.patch) = 98d0a1ea34145bba6640c9ba191abe7c7ecba921c07d1413db3ff6a926aa25e5
+SIZE (d7df51363873.patch) = 2355
Added: head/x11/swappy/pkg-descr
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/x11/swappy/pkg-descr Thu Jun 25 04:17:52 2020 (r540366)
@@ -0,0 +1,5 @@
+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 PNG image to stdout.
+
+WWW: https://github.com/jtheoof/swappy
More information about the svn-ports-all
mailing list