public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Pascal Jäger" <pascal.jaeger@leimstift.de>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:dev commit in: gui-apps/nwg-clipman/
Date: Sat, 28 Dec 2024 15:23:08 +0000 (UTC)	[thread overview]
Message-ID: <1735399349.79bf58e2d6bbd59f0254adca101c985e59ab078a.pascal.jaeger@gentoo> (raw)

commit:     79bf58e2d6bbd59f0254adca101c985e59ab078a
Author:     Pascal Jäger <pascal.jaeger <AT> leimstift <DOT> de>
AuthorDate: Sat Dec 28 15:22:20 2024 +0000
Commit:     Pascal Jäger <pascal.jaeger <AT> leimstift <DOT> de>
CommitDate: Sat Dec 28 15:22:29 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=79bf58e2

gui-apps/nwg-clipman: new package, add 0.2.4

Signed-off-by: Pascal Jäger <pascal.jaeger <AT> leimstift.de>

 gui-apps/nwg-clipman/Manifest                 |  1 +
 gui-apps/nwg-clipman/metadata.xml             | 16 ++++++++
 gui-apps/nwg-clipman/nwg-clipman-0.2.4.ebuild | 55 +++++++++++++++++++++++++++
 3 files changed, 72 insertions(+)

diff --git a/gui-apps/nwg-clipman/Manifest b/gui-apps/nwg-clipman/Manifest
new file mode 100644
index 000000000..08ebf4bb6
--- /dev/null
+++ b/gui-apps/nwg-clipman/Manifest
@@ -0,0 +1 @@
+DIST nwg-clipman-0.2.4.tar.gz 11173 BLAKE2B 6c98dbbc78a00076d9d81a08560e46d8bcd5802f08715a18b04aa8178cd76b6a70a2eb4665acbe4963fb6e6b9bd12844e6080912da7b214d07f35d05ec11c6f6 SHA512 241a585b05fba51cbf146472a69eca8e31318d70099ab401a56bf27e571314dcde541536ec7769da7aa1886bfc6786b47d6752616ba423876d036bfeed993aee

diff --git a/gui-apps/nwg-clipman/metadata.xml b/gui-apps/nwg-clipman/metadata.xml
new file mode 100644
index 000000000..65fb208de
--- /dev/null
+++ b/gui-apps/nwg-clipman/metadata.xml
@@ -0,0 +1,16 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+    <maintainer type="person">
+        <email>pascal.jaeger@leimstift.de</email>
+        <name>Pascal Jaeger</name>
+    </maintainer>
+    <upstream>
+        <maintainer>
+            <name>Piotr Miller</name>
+            <email>nwg.piotr@gmail.com</email>
+        </maintainer>
+        <bugs-to>https://github.com/nwg-piotr/nwg-clipman/issues</bugs-to>
+        <remote-id type="github">nwg-piotr/nwg-clipman</remote-id>
+    </upstream>
+</pkgmetadata>

diff --git a/gui-apps/nwg-clipman/nwg-clipman-0.2.4.ebuild b/gui-apps/nwg-clipman/nwg-clipman-0.2.4.ebuild
new file mode 100644
index 000000000..ac59529d9
--- /dev/null
+++ b/gui-apps/nwg-clipman/nwg-clipman-0.2.4.ebuild
@@ -0,0 +1,55 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{11..12} )
+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
+}


             reply	other threads:[~2024-12-28 15:23 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-12-28 15:23 Pascal Jäger [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-05-01 22:24 [gentoo-commits] repo/proj/guru:dev commit in: gui-apps/nwg-clipman/ Pascal Jäger
2025-05-01 22:24 Pascal Jäger

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1735399349.79bf58e2d6bbd59f0254adca101c985e59ab078a.pascal.jaeger@gentoo \
    --to=pascal.jaeger@leimstift.de \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox