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-panel/
Date: Thu, 10 Aug 2023 21:54:20 +0000 (UTC)	[thread overview]
Message-ID: <1691703045.fd7e87a041dd46bee6b6e52a598b9ab72c7d9206.pascal.jaeger@gentoo> (raw)

commit:     fd7e87a041dd46bee6b6e52a598b9ab72c7d9206
Author:     Pascal Jäger <pascal.jaeger <AT> leimstift <DOT> de>
AuthorDate: Thu Aug 10 21:21:41 2023 +0000
Commit:     Pascal Jäger <pascal.jaeger <AT> leimstift <DOT> de>
CommitDate: Thu Aug 10 21:30:45 2023 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=fd7e87a0

gui-apps/nwg-panel: revbump, install desktop files and icons

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

 ...anel-9999.ebuild => nwg-panel-0.9.11-r1.ebuild} | 23 +++++++++++++++++++++-
 gui-apps/nwg-panel/nwg-panel-9999.ebuild           | 23 +++++++++++++++++++++-
 2 files changed, 44 insertions(+), 2 deletions(-)

diff --git a/gui-apps/nwg-panel/nwg-panel-9999.ebuild b/gui-apps/nwg-panel/nwg-panel-0.9.11-r1.ebuild
similarity index 66%
copy from gui-apps/nwg-panel/nwg-panel-9999.ebuild
copy to gui-apps/nwg-panel/nwg-panel-0.9.11-r1.ebuild
index 0319f9345c..fb2abcd70b 100644
--- a/gui-apps/nwg-panel/nwg-panel-9999.ebuild
+++ b/gui-apps/nwg-panel/nwg-panel-0.9.11-r1.ebuild
@@ -5,7 +5,7 @@ EAPI=7
 
 PYTHON_COMPAT=( python3_{10..11} )
 DISTUTILS_USE_PEP517=setuptools
-inherit distutils-r1
+inherit desktop distutils-r1 systemd xdg-utils
 
 if [[ "${PV}" == 9999 ]]
 then
@@ -19,6 +19,7 @@ fi
 DESCRIPTION="GTK3-based panel for sway and Hyprland Wayland compositors"
 HOMEPAGE="https://github.com/nwg-piotr/nwg-panel"
 LICENSE="MIT"
+IUSE="systemd"
 
 SLOT="0"
 
@@ -33,3 +34,23 @@ RDEPEND="
 	gui-libs/gtk-layer-shell
 "
 DEPEND="${RDEPEND}"
+
+python_install_all() {
+	distutils-r1_python_install_all
+	domenu nwg-panel-config.desktop
+	domenu nwg-processes.desktop
+	doicon nwg-panel.svg
+	doicon nwg-processes.svg
+	doicon nwg-shell.svg
+	if use systemd; then
+		systemd_dounit nwg-panel.service
+	fi
+}
+
+pkg_postinst() {
+	xdg_desktop_database_update
+}
+
+pkg_postrm() {
+	xdg_desktop_database_update
+}

diff --git a/gui-apps/nwg-panel/nwg-panel-9999.ebuild b/gui-apps/nwg-panel/nwg-panel-9999.ebuild
index 0319f9345c..fb2abcd70b 100644
--- a/gui-apps/nwg-panel/nwg-panel-9999.ebuild
+++ b/gui-apps/nwg-panel/nwg-panel-9999.ebuild
@@ -5,7 +5,7 @@ EAPI=7
 
 PYTHON_COMPAT=( python3_{10..11} )
 DISTUTILS_USE_PEP517=setuptools
-inherit distutils-r1
+inherit desktop distutils-r1 systemd xdg-utils
 
 if [[ "${PV}" == 9999 ]]
 then
@@ -19,6 +19,7 @@ fi
 DESCRIPTION="GTK3-based panel for sway and Hyprland Wayland compositors"
 HOMEPAGE="https://github.com/nwg-piotr/nwg-panel"
 LICENSE="MIT"
+IUSE="systemd"
 
 SLOT="0"
 
@@ -33,3 +34,23 @@ RDEPEND="
 	gui-libs/gtk-layer-shell
 "
 DEPEND="${RDEPEND}"
+
+python_install_all() {
+	distutils-r1_python_install_all
+	domenu nwg-panel-config.desktop
+	domenu nwg-processes.desktop
+	doicon nwg-panel.svg
+	doicon nwg-processes.svg
+	doicon nwg-shell.svg
+	if use systemd; then
+		systemd_dounit nwg-panel.service
+	fi
+}
+
+pkg_postinst() {
+	xdg_desktop_database_update
+}
+
+pkg_postrm() {
+	xdg_desktop_database_update
+}


             reply	other threads:[~2023-08-10 21:54 UTC|newest]

Thread overview: 102+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-08-10 21:54 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-panel/ Pascal Jäger
2025-05-01 22:24 Pascal Jäger
2025-05-01 22:24 Pascal Jäger
2025-01-26 19:41 Pascal Jäger
2025-01-26 19:41 Pascal Jäger
2025-01-19 18:55 Pascal Jäger
2025-01-19 18:55 Pascal Jäger
2025-01-19 18:55 Pascal Jäger
2025-01-19 18:55 Pascal Jäger
2025-01-01 12:01 Pascal Jäger
2025-01-01 12:01 Pascal Jäger
2025-01-01 12:01 Pascal Jäger
2025-01-01 12:01 Pascal Jäger
2025-01-01 12:01 Pascal Jäger
2024-12-24  8:29 Pascal Jäger
2024-12-24  8:29 Pascal Jäger
2024-12-24  8:29 Pascal Jäger
2024-12-24  8:29 Pascal Jäger
2024-12-24  8:29 Pascal Jäger
2024-12-24  8:29 Pascal Jäger
2024-12-24  8:29 Pascal Jäger
2024-12-24  8:29 Pascal Jäger
2024-12-13 11:52 Pascal Jäger
2024-12-13 11:52 Pascal Jäger
2024-12-13 11:52 Pascal Jäger
2024-12-13 11:52 Pascal Jäger
2024-12-13 11:52 Pascal Jäger
2024-12-13 11:52 Pascal Jäger
2024-12-13 11:52 Pascal Jäger
2024-12-13 11:52 Pascal Jäger
2024-12-13 11:52 Pascal Jäger
2024-12-13 11:52 Pascal Jäger
2024-11-10 15:18 Pascal Jäger
2024-11-10 15:18 Pascal Jäger
2024-11-10 15:18 Pascal Jäger
2024-11-10 15:18 Pascal Jäger
2024-11-10 15:18 Pascal Jäger
2024-11-10 15:18 Pascal Jäger
2024-11-10 15:18 Pascal Jäger
2024-11-10 15:18 Pascal Jäger
2024-11-10 15:18 Pascal Jäger
2024-10-15 12:09 Pascal Jäger
2024-10-15 12:09 Pascal Jäger
2024-10-15 12:09 Pascal Jäger
2024-10-15 12:09 Pascal Jäger
2024-10-15 12:09 Pascal Jäger
2024-10-08 12:05 Pascal Jäger
2024-10-08 12:05 Pascal Jäger
2024-10-08 12:05 Pascal Jäger
2024-10-08 12:05 Pascal Jäger
2024-10-08 12:05 Pascal Jäger
2024-10-08 12:05 Pascal Jäger
2024-10-08 12:05 Pascal Jäger
2024-10-08 12:05 Pascal Jäger
2024-10-08 12:05 Pascal Jäger
2024-08-28  8:50 Pascal Jäger
2024-08-22 19:33 Pascal Jäger
2024-06-29  8:04 Pascal Jäger
2024-06-29  8:04 Pascal Jäger
2024-06-29  8:04 Pascal Jäger
2024-05-18 18:13 Pascal Jäger
2024-05-16 16:27 [gentoo-commits] repo/proj/guru:master " Julien Roy
2024-05-15 19:33 ` [gentoo-commits] repo/proj/guru:dev " Julien Roy
2024-05-03 18:06 Pascal Jäger
2024-05-03 18:06 Pascal Jäger
2024-05-03 18:06 Pascal Jäger
2024-05-02 22:01 Pascal Jäger
2024-05-02 21:58 Pascal Jäger
2024-05-02 10:56 Pascal Jäger
2024-05-02 10:56 Pascal Jäger
2024-05-02 10:56 Pascal Jäger
2024-05-02 10:56 Pascal Jäger
2024-05-02 10:56 Pascal Jäger
2024-05-02 10:56 Pascal Jäger
2024-03-27 17:11 Pascal Jäger
2024-03-27 17:11 Pascal Jäger
2024-03-27 17:11 Pascal Jäger
2024-03-27 17:11 Pascal Jäger
2024-03-27 17:11 Pascal Jäger
2024-03-06 13:12 Pascal Jäger
2024-02-21 15:02 Pascal Jäger
2024-02-21 15:02 Pascal Jäger
2024-02-21 15:02 Pascal Jäger
2024-02-14 15:23 Pascal Jäger
2024-01-31 16:35 Pascal Jäger
2024-01-31 16:35 Pascal Jäger
2024-01-12 12:21 Pascal Jäger
2024-01-12 12:21 Pascal Jäger
2024-01-10 11:43 Pascal Jäger
2024-01-10 11:43 Pascal Jäger
2023-12-10  9:48 Pascal Jäger
2023-12-03 18:51 Pascal Jäger
2023-12-03 18:51 Pascal Jäger
2023-12-03 18:51 Pascal Jäger
2023-12-03 18:51 Pascal Jäger
2023-12-03 18:51 Pascal Jäger
2023-11-11 12:28 Pascal Jäger
2023-10-25 19:10 Pascal Jäger
2023-10-19 17:38 Pascal Jäger
2023-10-18  9:51 Pascal Jäger
2023-10-18  9:51 Pascal Jäger
2023-08-08 20:29 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=1691703045.fd7e87a041dd46bee6b6e52a598b9ab72c7d9206.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