Diff stalonetray-0.8.5 with a stalonetray-1.0.1

/usr/portage/x11-misc/stalonetray/stalonetray-1.0.1.ebuild 2026-02-19 11:18:08.301302440 +0300
1
# Copyright 1999-2024 Gentoo Authors
1
# Copyright 1999-2026 Gentoo Authors
2 2
# Distributed under the terms of the GNU General Public License v2
3 3

  
4 4
EAPI=8
5 5

  
6
inherit autotools
6
inherit meson
7 7

  
8 8
DESCRIPTION="System tray utility including support for KDE system tray icons"
9
HOMEPAGE="https://kolbusa.github.io/stalonetray/"
10
SRC_URI="https://github.com/kolbusa/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
9
HOMEPAGE="https://d3adb5.github.io/stalonetray/index.html"
10
SRC_URI="https://github.com/d3adb5/${PN}/releases/download/${PV}/${P}.tar.xz"
11 11

  
12 12
LICENSE="GPL-2"
13 13
SLOT="0"
14
KEYWORDS="amd64 ~riscv x86"
15
IUSE="debug +graceful-exit"
14
KEYWORDS="~amd64 ~x86"
15
IUSE="debug +graceful-exit kde xinerama +xpm"
16 16

  
17
RDEPEND="x11-libs/libICE
18
	x11-libs/libSM
19
	x11-libs/libX11
20
	x11-libs/libXpm"
17
RDEPEND="x11-libs/libX11
18
	xinerama? ( x11-libs/libXinerama )
19
	xpm? ( x11-libs/libXpm )"
21 20
DEPEND="${RDEPEND}
22 21
	x11-base/xorg-proto"
23 22
BDEPEND="app-text/docbook-xml-dtd
24 23
	dev-libs/libxslt"
25 24

  
26
DOCS=( AUTHORS BUGS COPYING NEWS README.md TODO stalonetrayrc.sample stalonetray.html )
27

  
28
QA_CONFIG_IMPL_DECL_SKIP+=(
29
	# Only on solaris.
30
	# Produces an undefined reference on gcc 13.
31
	printstack
32
)
33

  
34
src_prepare() {
35
	default
36
	eautoreconf
37
}
25
DOCS=( AUTHORS README.md stalonetrayrc.sample )
38 26

  
39 27
src_configure() {
40
	econf $(use_enable debug) \
41
		$(use_enable graceful-exit) \
42
		--enable-native-kde
43
}
44

  
45
src_compile() {
46
	emake
47
	emake dist
28
	meson_src_configure \
29
		$(meson_use debug dump_window_information) \
30
		$(meson_use debug trace_events) \
31
		$(meson_use graceful-exit exit_gracefully) \
32
		$(meson_feature kde native_kde) \
33
		$(meson_feature xinerama) \
34
		$(meson_feature xpm)
48 35
}
Thank you!