diff options
author | Maciej Barć <xgqt@gentoo.org> | 2023-01-04 18:26:20 +0100 |
---|---|---|
committer | Maciej Barć <xgqt@gentoo.org> | 2023-01-04 18:27:23 +0100 |
commit | 4fd3f590e55803bbd11a04837c512957aa82944d (patch) | |
tree | 9ec4c263080c8c31ef6778f17ee52959635ed428 /app-emacs/xclip | |
parent | sci-mathematics/eprover: do not call ar/ranlib directly (diff) | |
download | gentoo-4fd3f590e55803bbd11a04837c512957aa82944d.tar.gz gentoo-4fd3f590e55803bbd11a04837c512957aa82944d.tar.bz2 gentoo-4fd3f590e55803bbd11a04837c512957aa82944d.zip |
app-emacs/xclip: move x11-misc/xclip to optfeature
Closes: https://bugs.gentoo.org/889592
Signed-off-by: Maciej Barć <xgqt@gentoo.org>
Diffstat (limited to 'app-emacs/xclip')
-rw-r--r-- | app-emacs/xclip/xclip-1.11-r1.ebuild (renamed from app-emacs/xclip/xclip-1.11.ebuild) | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/app-emacs/xclip/xclip-1.11.ebuild b/app-emacs/xclip/xclip-1.11-r1.ebuild index bb6f44a52fff..51a0c3af795f 100644 --- a/app-emacs/xclip/xclip-1.11.ebuild +++ b/app-emacs/xclip/xclip-1.11-r1.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 -inherit elisp readme.gentoo-r1 +inherit elisp readme.gentoo-r1 optfeature DESCRIPTION="Emacs Interface to XClip" HOMEPAGE="https://elpa.gnu.org/packages/xclip.html" @@ -13,7 +13,12 @@ LICENSE="GPL-3+" SLOT="0" KEYWORDS="~amd64 ~x86" -RDEPEND="x11-misc/xclip" - SITEFILE="50${PN}-gentoo.el" DOC_CONTENTS="To enable xclip-mode, add (xclip-mode 1) to your ~/.emacs file." + +pkg_postinst() { + elisp_pkg_postinst + + optfeature "X11 clipboard support" x11-misc/xclip x11-misc/xsel + optfeature "Wayland clipboard support" gui-apps/wl-clipboard +} |