commit:     45659c03971f7257db8db3dd350a81c57bf86af2
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Fri Apr 21 11:24:35 2023 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Fri Apr 21 11:26:01 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=45659c03

xfce-extra/xfce4-indicator-plugin: Bump to 2.4.2

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 xfce-extra/xfce4-indicator-plugin/Manifest         |  1 +
 .../xfce4-indicator-plugin-2.4.2.ebuild            | 62 ++++++++++++++++++++++
 2 files changed, 63 insertions(+)

diff --git a/xfce-extra/xfce4-indicator-plugin/Manifest 
b/xfce-extra/xfce4-indicator-plugin/Manifest
index c41b32171a02..ae99f2a71942 100644
--- a/xfce-extra/xfce4-indicator-plugin/Manifest
+++ b/xfce-extra/xfce4-indicator-plugin/Manifest
@@ -1 +1,2 @@
 DIST xfce4-indicator-plugin-2.4.1.tar.bz2 406823 BLAKE2B 
e24107888c8af7206111b4d6b8058e871b97aa687116684a3251cf731f9925bed1cfec3c1fd8a66794c6fc31bd631a4cdc7924972956c12eac3b12f4d7f18831
 SHA512 
a5b9b25b405888a69708eb43656ac58a728d4a5a9736b5513d23b17409b5d8a0230cf89e6243afde5b1a3edad43b38915d007551347c85a7d17364760c2dabba
+DIST xfce4-indicator-plugin-2.4.2.tar.bz2 386998 BLAKE2B 
bca9874ac6bcdafcc92a9f3aea4cb58ad0435650359966d1967dd9502ab69a019040b3ed4eb35e21115bc6cc54980ae8f7b6d38bbfc0a3b24c539cc87f192a0a
 SHA512 
ed778cfb2daa55edded450114b9ba83ca6050a549572d6f09294b9e89cc927f8abc79deb008f8ff6933dab35a16f5ba819b14d1d7f6b7464e1cd809aabaaad6b

diff --git 
a/xfce-extra/xfce4-indicator-plugin/xfce4-indicator-plugin-2.4.2.ebuild 
b/xfce-extra/xfce4-indicator-plugin/xfce4-indicator-plugin-2.4.2.ebuild
new file mode 100644
index 000000000000..0b3c640eff9c
--- /dev/null
+++ b/xfce-extra/xfce4-indicator-plugin/xfce4-indicator-plugin-2.4.2.ebuild
@@ -0,0 +1,62 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit xdg-utils
+
+DESCRIPTION="A panel plugin that uses indicator-applet to show new messages"
+HOMEPAGE="
+       https://docs.xfce.org/panel-plugins/xfce4-indicator-plugin/start
+       https://gitlab.xfce.org/panel-plugins/xfce4-indicator-plugin/
+"
+SRC_URI="
+       https://archive.xfce.org/src/panel-plugins/${PN}/${PV%.*}/${P}.tar.bz2
+"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64 ~riscv ~x86"
+
+DEPEND="
+       >=dev-libs/ayatana-ido-0.4.0
+       >=dev-libs/glib-2.26.0
+       >=dev-libs/libayatana-indicator-0.5.0:3
+       >=x11-libs/gtk+-3.18.0:3
+       x11-libs/libX11
+       >=xfce-base/libxfce4ui-4.11.0:=[gtk3(+)]
+       >=xfce-base/libxfce4util-4.11.0:=
+       >=xfce-base/xfce4-panel-4.11.0:=
+       >=xfce-base/xfconf-4.13.0:=
+"
+RDEPEND="
+       ${DEPEND}
+"
+BDEPEND="
+       dev-util/intltool
+       sys-devel/gettext
+       virtual/pkgconfig
+"
+
+src_configure() {
+       local myconf=(
+               --enable-ido
+       )
+
+       econf "${myconf[@]}"
+}
+
+src_install() {
+       default
+       find "${D}" -name '*.la' -delete || die
+}
+
+pkg_postinst() {
+       xdg_icon_cache_update
+       xdg_desktop_database_update
+}
+
+pkg_postrm() {
+       xdg_icon_cache_update
+       xdg_desktop_database_update
+}

Reply via email to