Diff xfce4-indicator-plugin-2.3.3-r2 with a xfce4-indicator-plugin-2.4.2

/usr/portage/xfce-extra/xfce4-indicator-plugin/xfce4-indicator-plugin-2.4.2.ebuild 2023-10-09 14:52:36.008368514 +0300
1
# Copyright 1999-2017 Gentoo Foundation
1
# Copyright 1999-2023 Gentoo Authors
2 2
# Distributed under the terms of the GNU General Public License v2
3 3

  
4
EAPI=6
5
inherit gnome2-utils xdg-utils
4
EAPI=8
5

  
6
inherit xdg-utils
6 7

  
7 8
DESCRIPTION="A panel plugin that uses indicator-applet to show new messages"
8
HOMEPAGE="https://goodies.xfce.org/projects/panel-plugins/xfce4-indicator-plugin"
9
SRC_URI="mirror://xfce/src/panel-plugins/${PN}/${PV%.*}/${P}.tar.bz2"
9
HOMEPAGE="
10
	https://docs.xfce.org/panel-plugins/xfce4-indicator-plugin/start
11
	https://gitlab.xfce.org/panel-plugins/xfce4-indicator-plugin/
12
"
13
SRC_URI="
14
	https://archive.xfce.org/src/panel-plugins/${PN}/${PV%.*}/${P}.tar.bz2
15
"
10 16

  
11
LICENSE="GPL-2 LGPL-2"
17
LICENSE="GPL-2+"
12 18
SLOT="0"
13
KEYWORDS="~amd64 ~x86"
14
IUSE=""
19
KEYWORDS="~amd64 ~arm64 ~riscv ~x86"
15 20

  
16
RDEPEND=">=dev-libs/libindicator-12.10.1:3=
17
	>=x11-libs/gtk+-3.6:3=
18
	x11-libs/libX11:=
19
	>=xfce-base/libxfce4ui-4.11:=[gtk3(+)]
20
	>=xfce-base/libxfce4util-4.11:=
21
	>=xfce-base/xfce4-panel-4.11:=
22
	>=xfce-base/xfconf-4.10:="
23
DEPEND="${RDEPEND}
21
DEPEND="
22
	>=dev-libs/ayatana-ido-0.4.0
23
	>=dev-libs/glib-2.26.0
24
	>=dev-libs/libayatana-indicator-0.5.0:3
25
	>=x11-libs/gtk+-3.18.0:3
26
	x11-libs/libX11
27
	>=xfce-base/libxfce4ui-4.11.0:=[gtk3(+)]
28
	>=xfce-base/libxfce4util-4.11.0:=
29
	>=xfce-base/xfce4-panel-4.11.0:=
30
	>=xfce-base/xfconf-4.13.0:=
31
"
32
RDEPEND="
33
	${DEPEND}
34
"
35
BDEPEND="
24 36
	dev-util/intltool
25 37
	sys-devel/gettext
26
	virtual/pkgconfig"
38
	virtual/pkgconfig
39
"
27 40

  
28
pkg_setup() {
29
	# TODO: libido3-13.10.0 needs ubuntu-private.h from Ubuntu's GTK+ 3.x
30
	XFCONF=(
31
		--disable-ido
32
		)
41
src_configure() {
42
	local myconf=(
43
		--enable-ido
44
	)
33 45

  
34
	DOCS=( AUTHORS ChangeLog NEWS README THANKS )
46
	econf "${myconf[@]}"
35 47
}
36 48

  
37 49
src_install() {
38 50
	default
39

  
40 51
	find "${D}" -name '*.la' -delete || die
41 52
}
42 53

  
43 54
pkg_postinst() {
44
	gnome2_icon_cache_update
55
	xdg_icon_cache_update
45 56
	xdg_desktop_database_update
46 57
}
47 58

  
48 59
pkg_postrm() {
49
	gnome2_icon_cache_update
60
	xdg_icon_cache_update
50 61
	xdg_desktop_database_update
51 62
}
Thank you!