Diff wmmaiload-2.3.0-r2 with a wmmaiload-2.3.0-r3

/usr/portage/x11-plugins/wmmaiload/wmmaiload-2.3.0-r3.ebuild 2025-07-29 16:22:17.976470405 +0300
1
# Copyright 1999-2021 Gentoo Authors
1
# Copyright 1999-2025 Gentoo Authors
2 2
# Distributed under the terms of the GNU General Public License v2
3 3

  
4
EAPI=7
5
inherit toolchain-funcs
4
EAPI=8
5
inherit meson
6 6

  
7 7
DESCRIPTION="dockapp that monitors one or more mailboxes"
8 8
HOMEPAGE="http://tnemeth.free.fr/projets/dockapps.html"
......
10 10

  
11 11
LICENSE="GPL-2"
12 12
SLOT="0"
13
KEYWORDS="amd64 ppc ~ppc64 sparc x86"
14
IUSE=""
13
KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86"
15 14

  
16 15
RDEPEND="x11-libs/gtk+:2
17
	x11-libs/libXpm"
16
	x11-libs/libXpm
17
	dev-libs/openssl"
18

  
18 19
DEPEND="${RDEPEND}
19 20
	virtual/pkgconfig"
20

  
21 21
PATCHES=(
22 22
	"${FILESDIR}"/${PN}-2.2.1-checkthread.patch
23 23
	"${FILESDIR}"/${P}-fno-common.patch
24 24
	"${FILESDIR}"/${P}-ssl.patch
25
	"${FILESDIR}"/${P}-c23.patch
25 26
)
26 27

  
27
src_configure() {
28
	# The ./configure script is not autoconf based, therefore don't use econf:
29
	./configure -p /usr || die
30
}
28
src_prepare() {
29
	default
31 30

  
32
src_compile() {
33
	emake \
34
		CC="$(tc-getCC)" \
35
		CPP="$(tc-getCPP)" \
36
		CFLAGS="${CFLAGS}" \
37
		DEBUG_LDFLAGS="" \
38
		LDFLAGS="${LDFLAGS}" \
39
		DEBUG_CFLAGS=""
31
	cp "${FILESDIR}"/meson.build . || die "No new build file"
32
	rm -f wmmaiload/config.h && touch wmmaiload/config.h || die "Can't remove stale config"
33
	rm -f wmmaiload-config/config.h && touch wmmaiload-config/config.h || die "Can't remove stale config"
40 34
}
41 35

  
42 36
src_install() {
43
	dobin ${PN}/${PN} ${PN}-config/${PN}-config
37
	meson_install
38

  
44 39
	doman doc/*.1
45 40
	dodoc AUTHORS ChangeLog FAQ NEWS README THANKS TODO doc/sample.${PN}rc
46 41
}
Thank you!