New commits:
commit b07f920f8c8bbfd4ebc847555db431592eda6044
Author: Conner Clere <xenanthropy AT sourcemage.org>
Commit: Conner Clere <xenanthropy AT sourcemage.org>
utils/wl-clipboard: new spell, copy and paste utilities for wayland
diff --git a/ChangeLog b/ChangeLog
index 259b326..896a545 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -2,6 +2,7 @@
* utils/nvtop: new spell, gpu process monitoring program
* utils/swhkd: new spell, sxhkd clone for wayland
* utils/waynergy: new spell, synergy client for wayland compositors
+ * utils/wl-clipboard: new spell, copy and paste utilities for wayland
2023-04-30 Pavel Vinogradov <public AT sourcemage.org>
* rust-crates/tuigreet: new spell, a graphical console greeter for
greetd
diff --git a/utils/wl-clipboard/CONFIGURE b/utils/wl-clipboard/CONFIGURE
new file mode 100755
index 0000000..9f48d22
--- /dev/null
+++ b/utils/wl-clipboard/CONFIGURE
@@ -0,0 +1 @@
+. "${GRIMOIRE}/MESON_CONFIGURE"
diff --git a/utils/wl-clipboard/DEPENDS b/utils/wl-clipboard/DEPENDS
new file mode 100755
index 0000000..70c66c6
--- /dev/null
+++ b/utils/wl-clipboard/DEPENDS
@@ -0,0 +1,16 @@
+. "${GRIMOIRE}/MESON_DEPENDS" &&
+depends PKG-CONFIG &&
+depends wayland &&
+depends wayland-protocols &&
+
+optional_depends fish '' \
+ 'fishcompletiondir=no' \
+ 'install fish completions?' &&
+
+optional_depends zsh '' \
+ 'zshcompletiondir=no' \
+ 'install zsh completions?' &&
+
+optional_depends bash-completion '' '' 'install bash completions?' &&
+optional_depends xdg-utils '' '' 'for content type inference in wl-copy' &&
+optional_depends mime-support '' '' 'for type inference in wl-paste'
diff --git a/utils/wl-clipboard/DETAILS b/utils/wl-clipboard/DETAILS
new file mode 100755
index 0000000..51eaf03
--- /dev/null
+++ b/utils/wl-clipboard/DETAILS
@@ -0,0 +1,17 @@
+. "${GRIMOIRE}/MESON_FUNCTIONS"
+ SPELL=wl-clipboard
+ VERSION=2.1.0
+ SOURCE=$SPELL-$VERSION.tar.gz
+SOURCE_DIRECTORY=$BUILD_DIRECTORY/$SPELL-$VERSION
+
SOURCE_URL[0]=https://github.com/bugaevc/${SPELL}/archive/v${VERSION}.tar.gz
+
SOURCE_HASH=sha256:72dab9a7d3835c76d6ff2089f15ffec9e064a321e5f3cbbe961a8fa81aff5573
+ LICENSE[0]=GPL
+ WEB_SITE=https://github.com/bugaevc/wl-clipboard
+ ENTERED=20230503
+ KEYWORDS="utils wayland clipboard copy paste"
+ SHORT="command-line copy/paste utilities for wayland"
+cat << EOF
+This project implements two command-line Wayland
+clipboard utilities, wl-copy and wl-paste, that let you easily copy
+data between the clipboard and Unix pipes, sockets, files and so on.
+EOF
diff --git a/utils/wl-clipboard/HISTORY b/utils/wl-clipboard/HISTORY
new file mode 100644
index 0000000..dc15db1
--- /dev/null
+++ b/utils/wl-clipboard/HISTORY
@@ -0,0 +1,3 @@
+2023-05-03 Conner Clere <xenanthropy AT sourcemage.org>
+ * PRE_BUILD, CONFIGURE, DEPENDS, DETAILS: ver 2.1.0, new spell
+
diff --git a/utils/wl-clipboard/PRE_BUILD b/utils/wl-clipboard/PRE_BUILD
new file mode 100755
index 0000000..5f2aece
--- /dev/null
+++ b/utils/wl-clipboard/PRE_BUILD
@@ -0,0 +1,5 @@
+default_pre_build &&
+cd "${SOURCE_DIRECTORY}/completions" &&
+if ! is_depends_enabled $SPELL bash-completion; then
+ sed -i '1d' meson.build
+fi
[SM-Commit] GIT changes to master grimoire by Conner Clere (b07f920f8c8bbfd4ebc847555db431592eda6044),
Conner Clere, 05/03/2023