1
0
mirror of https://github.com/gryf/gryf-overlay.git synced 2026-01-02 20:04:17 +01:00

Removed old rofi-emoji ebuilds

This commit is contained in:
2024-03-29 19:46:19 +01:00
parent ff4158a3bd
commit 468ed42782
5 changed files with 3 additions and 75 deletions

View File

@@ -1,4 +1,2 @@
AUX rofi-emoji-2.2.0-primary.patch 855 BLAKE2B 87a2985f1ad5f34a9af98589697c732443181527bd221001ecd475c02bd2b8c81938a8a13fafc41356424fefea5f0daec7077422d40cce58402ca2824e73fb72 SHA512 9a2ca5508e3f010966cfa5652849169ba805bd09c503915b16fa5b0e7c4d76932322014be3d28f16548cbad8ef10d3ae51fe9cdd0e03ff5becda1067d96d4adf
AUX rofi-emoji-3.2.0-primary.patch 953 BLAKE2B 0f8565bd6ba8d7b9551e93c00bda4123bb59549e9e4cf099e5aacb5587ce932391f791ae6215c61ac2b35a0bcd00835b11d3e235d54d9e02c4ec697bb8372680 SHA512 45f1ec33102c60a7328b0864d2d45ca362e28d94602d6fc3d778e774ae7a7a9376e5d4a1f1c069822c7207d4510eff4f529d6f2f37d4f27a73e5a79bf80b3010
EBUILD rofi-emoji-2.2.0.ebuild 772 BLAKE2B 1278a7dde4af384bf8cd541b1582b6b13c78fee0e6ec6f6e633e62bc94b28e283b97e0d7b3c46cba2a6f0d19edb3b547e80907c5c8809809e5595dee60c14673 SHA512 4b2c4ff3d8d82a13b0ec9c8937ce7a34ddb83a30d86954ffd13987c2a32295c90b76af8bfaf81d278597d8eb67de5c0f483a29fefe22c9eb606a32e9098187dc
EBUILD rofi-emoji-3.2.0.ebuild 772 BLAKE2B 1278a7dde4af384bf8cd541b1582b6b13c78fee0e6ec6f6e633e62bc94b28e283b97e0d7b3c46cba2a6f0d19edb3b547e80907c5c8809809e5595dee60c14673 SHA512 4b2c4ff3d8d82a13b0ec9c8937ce7a34ddb83a30d86954ffd13987c2a32295c90b76af8bfaf81d278597d8eb67de5c0f483a29fefe22c9eb606a32e9098187dc
AUX rofi-emoji-3.3.0-primary.patch 953 BLAKE2B 0f8565bd6ba8d7b9551e93c00bda4123bb59549e9e4cf099e5aacb5587ce932391f791ae6215c61ac2b35a0bcd00835b11d3e235d54d9e02c4ec697bb8372680 SHA512 45f1ec33102c60a7328b0864d2d45ca362e28d94602d6fc3d778e774ae7a7a9376e5d4a1f1c069822c7207d4510eff4f529d6f2f37d4f27a73e5a79bf80b3010
EBUILD rofi-emoji-3.3.0.ebuild 793 BLAKE2B 63a5195fe3ee9ac9d1946cd1283a74ffc58e71dda00ccb4772eb8b3555c86c79bbd92b5ad69a0947937ea4c200863d9c330cbd8a7e3c9fd6c3db083fd9888836 SHA512 4c7e9b637a47d47c530258fd8c66a098abe5994da0843577dc6555ba07d0005d02ea04c99b78f266b61680c70a2949caee392622e5865e4638ccda144617ad1f

View File

@@ -1,36 +0,0 @@
diff --git a/clipboard-adapter.sh b/clipboard-adapter.sh
index 891c65d..ff8501c 100755
--- a/clipboard-adapter.sh
+++ b/clipboard-adapter.sh
@@ -52,6 +52,23 @@ handle_copy() {
esac
}
+handle_primary() {
+ case "$1" in
+ xsel)
+ xsel --primary --input
+ ;;
+ xclip)
+ xclip -selection primary -in
+ ;;
+ wl-copy)
+ wl-copy --primary
+ ;;
+ *)
+ show_error "$1 has no implementation for copying yet"
+ exit 1
+ esac
+}
+
# Print out the first argument and return true if that argument is an installed
# command. Prints nothing and returns false if the argument is not an installed
# command.
@@ -86,6 +103,7 @@ case "$1" in
copy)
shift
printf "%s" "$*" | handle_copy "$tool"
+ printf "%s" "$*" | handle_primary "$tool"
;;
*)
show_error "$0: Unknown command \"$1\""

View File

@@ -1,35 +0,0 @@
# Copyright 2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit autotools git-r3
DESCRIPTION="Emoji selector plugin for Rofi "
HOMEPAGE="https://github.com/Mange/rofi-emoji"
EGIT_REPO_URI="https://github.com/Mange/rofi-emoji"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="+clipboard primary wayland +X"
DEPEND="x11-misc/rofi"
RDEPEND="${DEPEND}
X? ( || ( x11-misc/xsel x11-misc/xclip ) )
wayland? ( gui-apps/wl-clipboard )"
BDEPEND=""
PATCHES=(
"${FILESDIR}"/${P}-primary.patch
)
src_prepare() {
default
if ! use primary; then
sed -ie '/handle_primary "$tool"/d' clipboard-adapter.sh || die
fi
if ! use clipboard; then
sed -ie '/handle_copy "$tool"/d' clipboard-adapter.sh || die
fi
eautoreconf
}

View File

@@ -7,6 +7,7 @@ inherit autotools git-r3
DESCRIPTION="Emoji selector plugin for Rofi "
HOMEPAGE="https://github.com/Mange/rofi-emoji"
EGIT_REPO_URI="https://github.com/Mange/rofi-emoji"
EGIT_COMMIT="v${PV}"
LICENSE="MIT"
SLOT="0"