mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-10 07:33:19 -04:00
gui-apps/nwg-clipman: add 0.2.8
Signed-off-by: Pascal Jäger <pascal.jaeger@leimstift.de>
This commit is contained in:
1
gui-apps/nwg-clipman/.pkgbump-pv
Normal file
1
gui-apps/nwg-clipman/.pkgbump-pv
Normal file
@@ -0,0 +1 @@
|
||||
0.2.8
|
||||
@@ -1,2 +1,3 @@
|
||||
DIST nwg-clipman-0.2.4.tar.gz 11173 BLAKE2B 6c98dbbc78a00076d9d81a08560e46d8bcd5802f08715a18b04aa8178cd76b6a70a2eb4665acbe4963fb6e6b9bd12844e6080912da7b214d07f35d05ec11c6f6 SHA512 241a585b05fba51cbf146472a69eca8e31318d70099ab401a56bf27e571314dcde541536ec7769da7aa1886bfc6786b47d6752616ba423876d036bfeed993aee
|
||||
DIST nwg-clipman-0.2.5.tar.gz 11312 BLAKE2B 5e90a41f620451c5b6157d0f933c64b214eb122faa4163a2d249fdccc836a1ed0abde8f41b97248fd2f150fa1fdea72145abad3e09ca9bcefd88049451dcf43b SHA512 a3929bda8c45dc9e7636d6288b25e23cb80c533d52c2703bc780eaa758b24c78289d053d03484c7281a71d6a148e92c761832597010886c7dc33263045a5c9e6
|
||||
DIST nwg-clipman-0.2.8.tar.gz 11650 BLAKE2B 9efdab71f6d989ad7fe7f2e478e78ba38b9b8175a85f91ccf0aeee1b46ca09a1b2c6e912682af30ff7afe7a5b8e1068fcd984ce75e4a75772a1feea28493c89f SHA512 2863a050da298d29843a49d32668f73e72ec2281bdf36e705955f1f813350b596cac1cdf3d41174c8c8b1cbeedcf638f51daeeef1e803cf7b7116ac15d2a7436
|
||||
|
||||
55
gui-apps/nwg-clipman/nwg-clipman-0.2.8.ebuild
Normal file
55
gui-apps/nwg-clipman/nwg-clipman-0.2.8.ebuild
Normal file
@@ -0,0 +1,55 @@
|
||||
# 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
|
||||
}
|
||||
Reference in New Issue
Block a user