Install this version:
emerge -a =gui-apps/nwg-clipman-0.2.8
If this version is masked, you can unmask it using the autounmask tool or standard emerge options:
autounmask =gui-apps/nwg-clipman-0.2.8
Or alternatively:
emerge --autounmask-write -a =gui-apps/nwg-clipman-0.2.8
| Version | EAPI | Keywords | Slot |
|---|---|---|---|
| 0.2.8 | 8 | ~amd64 | 0 |
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{12..13} )
DISTUTILS_USE_PEP517=setuptools
inherit desktop distutils-r1 xdg-utils
if [[ "${PV}" == 9999 ]]
then
inherit git-r3
EGIT_REPO_URI="https://github.com/nwg-piotr/nwg-clipman.git"
else
SRC_URI="https://github.com/nwg-piotr/nwg-clipman/archive/v${PV}.tar.gz -> ${P}.tar.gz"
KEYWORDS="~amd64"
fi
DESCRIPTION="nwg-shell clipboard manager - a GTK3-based GUI for cliphist"
HOMEPAGE="https://github.com/nwg-piotr/nwg-clipman"
LICENSE="MIT"
SLOT="0"
RDEPEND="
dev-python/pygobject[${PYTHON_USEDEP}]
x11-libs/gtk+:3
gui-libs/gtk-layer-shell[introspection]
gui-apps/wl-clipboard
app-misc/cliphist
x11-misc/xdg-utils
"
DEPEND="${RDEPEND}"
python_install_all() {
distutils-r1_python_install_all
domenu nwg-clipman.desktop
doicon nwg-clipman.svg
dodoc README.md
}
pkg_postinst() {
xdg_desktop_database_update
elog "To enable nwg-cliphist put this in your compisitors config:"
elog "For sway:"
elog "exec wl-paste --type text --watch cliphist store"
elog "exec wl-paste --type image --watch cliphist store"
elog "For hyprland:"
elog "exec-once = wl-paste --type text --watch cliphist store"
elog "exec-once = wl-paste --type image --watch cliphist store"
}
pkg_postrm() {
xdg_desktop_database_update
}
dev-python/pygobject[] x11-libs/gtk+:3 gui-libs/gtk-layer-shell[introspection] gui-apps/wl-clipboard app-misc/cliphist x11-misc/xdg-utils
dev-python/pygobject[] x11-libs/gtk+:3 gui-libs/gtk-layer-shell[introspection] gui-apps/wl-clipboard app-misc/cliphist x11-misc/xdg-utils
| Type | File | Size | Source URLs |
|---|---|---|---|
| DIST | nwg-clipman-0.2.8.tar.gz | 11650 bytes | https://github.com/nwg-piotr/nwg-clipman/archive/v0.2.8.tar.gz |