From 56c5bf79ddac37b6ab5b4dbaf3dc92c2b7a99c20 Mon Sep 17 00:00:00 2001 From: Zakk Date: Sat, 24 Oct 2026 15:58:23 +1100 Subject: [PATCH] net-p2p/amule-dlp-antileech: replace need-wxwidgets, correct LICENSE wxwidgets.eclass for EAPI 8 only provides `setup-wxwidgets`, so `need-wxwidgets` failed with "command not found"; the toolkit now follows the installed wxGTK, so `X` selects `x11-libs/wxGTK[X]`. amule-dlp loads libantiLeech.so through wxDynamicLibrary, so drop the libtool archive. Upstream allows any later version of the license, so LICENSE is GPL-2+: https://raw.githubusercontent.com/persmule/amule-dlp.antiLeech/886e119c87cda6220c3958459b08238300440f03/antiLeech.cpp Signed-off-by: Zakk --- .../amule-dlp-antileech-9999.ebuild | 21 +++++++------------ 1 file changed, 8 insertions(+), 13 deletions(-) diff --git a/net-p2p/amule-dlp-antileech/amule-dlp-antileech-9999.ebuild b/net-p2p/amule-dlp-antileech/amule-dlp-antileech-9999.ebuild index 9910a6327c..d6de17f6b9 100644 --- a/net-p2p/amule-dlp-antileech/amule-dlp-antileech-9999.ebuild +++ b/net-p2p/amule-dlp-antileech/amule-dlp-antileech-9999.ebuild @@ -1,38 +1,33 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2026 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 WX_GTK_VER="3.2-gtk3" inherit autotools git-r3 wxwidgets + DESCRIPTION="$PN, dynamic DLP library for amule-dlp" HOMEPAGE="https://github.com/persmule/amule-dlp.antileech" EGIT_REPO_URI="https://github.com/persmule/amule-dlp.antiLeech.git" -LICENSE="GPL-2" +LICENSE="GPL-2+" SLOT="0" IUSE="X" -DEPEND="x11-libs/wxGTK:${WX_GTK_VER}" +DEPEND="x11-libs/wxGTK:${WX_GTK_VER}[X?]" RDEPEND="net-p2p/amule-dlp" src_prepare() { default - eautoreconf || die + eautoreconf } src_configure() { - if use X; then - einfo "wxGTK with X / GTK support will be used" - need-wxwidgets unicode - else - einfo "wxGTK without X support will be used" - need-wxwidgets base-unicode - fi - + setup-wxwidgets econf } src_install() { - emake DESTDIR="${D}" install || die + default + find "${ED}" -name '*.la' -delete || die }