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

Bump rofi-emoji

This commit is contained in:
2022-10-08 10:11:35 +02:00
parent 2700306de0
commit ccfc393ea1
3 changed files with 79 additions and 0 deletions
@@ -0,0 +1,35 @@
# 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
}