aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xwayland/wl-clipboard/build19
-rw-r--r--wayland/wl-clipboard/checksums1
-rw-r--r--wayland/wl-clipboard/depends2
-rw-r--r--wayland/wl-clipboard/sources2
-rw-r--r--wayland/wl-clipboard/version1
5 files changed, 25 insertions, 0 deletions
diff --git a/wayland/wl-clipboard/build b/wayland/wl-clipboard/build
new file mode 100755
index 00000000..86051c36
--- /dev/null
+++ b/wayland/wl-clipboard/build
@@ -0,0 +1,19 @@
+#!/bin/sh -e
+
+export DESTDIR="$1"
+
+meson \
+ --prefix=/usr \
+ . output
+
+ninja -C output
+ninja -C output install
+
+# Install xclip wrapper.
+install -Dm755 xclip/src/wl-clipboard-x11 "$1/usr/bin/xclip"
+ln -s xclip "$1/usr/bin/xsel"
+
+# Install manual page for the xclip wrapper
+install -Dm644 xclip/man/wl-clipboard-x11.1 "$1/usr/share/man/man1/wl-clipboard-x11.1"
+ln -s wl-clipboard-x11.1 "$1/usr/share/man/man1/xclip.1"
+ln -s wl-clipboard-x11.1 "$1/usr/share/man/man1/xsel.1"
diff --git a/wayland/wl-clipboard/checksums b/wayland/wl-clipboard/checksums
new file mode 100644
index 00000000..9814d63c
--- /dev/null
+++ b/wayland/wl-clipboard/checksums
@@ -0,0 +1 @@
+2c42f182432adabe56da0f1144d5fcc40b7aae3d8e14d2bc4dc4c3f91b51808d v2.0.0.tar.gz
diff --git a/wayland/wl-clipboard/depends b/wayland/wl-clipboard/depends
new file mode 100644
index 00000000..423dda2c
--- /dev/null
+++ b/wayland/wl-clipboard/depends
@@ -0,0 +1,2 @@
+meson make
+wayland
diff --git a/wayland/wl-clipboard/sources b/wayland/wl-clipboard/sources
new file mode 100644
index 00000000..9cd9b7b6
--- /dev/null
+++ b/wayland/wl-clipboard/sources
@@ -0,0 +1,2 @@
+https://github.com/bugaevc/wl-clipboard/archive/v2.0.0.tar.gz
+https://github.com/brunelli/wl-clipboard-x11/archive/refs/tags/v5.tar.gz xclip
diff --git a/wayland/wl-clipboard/version b/wayland/wl-clipboard/version
new file mode 100644
index 00000000..b31a7f39
--- /dev/null
+++ b/wayland/wl-clipboard/version
@@ -0,0 +1 @@
+2.0.0 1