From 919eee1ce689419a9809ba65fbfce4e2e8d1a6f1 Mon Sep 17 00:00:00 2001 From: Viorel Munteanu Date: Mon, 16 Oct 2023 09:04:58 +0300 Subject: [PATCH] x11-plugins/astime: fix QA issue Fix LDFLAGS QA issue. Rename the patch. Add some missing dependencies. Signed-off-by: Viorel Munteanu --- x11-plugins/astime/astime-2.8-r2.ebuild | 4 ++-- x11-plugins/astime/astime-2.8-r3.ebuild | 16 ++++++++++++---- ...gs.patch => astime-2.8-respect-ldflags.patch} | 0 3 files changed, 14 insertions(+), 6 deletions(-) rename x11-plugins/astime/files/{respect-ldflags.patch => astime-2.8-respect-ldflags.patch} (100%) diff --git a/x11-plugins/astime/astime-2.8-r2.ebuild b/x11-plugins/astime/astime-2.8-r2.ebuild index 030c08793e3d3..423b8d0753230 100644 --- a/x11-plugins/astime/astime-2.8-r2.ebuild +++ b/x11-plugins/astime/astime-2.8-r2.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=6 @@ -21,7 +21,7 @@ RDEPEND="x11-libs/libXpm DEPEND="${RDEPEND} x11-base/xorg-proto" -PATCHES=( "${FILESDIR}/respect-ldflags.patch" ) +PATCHES=( "${FILESDIR}/${P}-respect-ldflags.patch" ) src_configure() { econf $(use_enable jpeg) diff --git a/x11-plugins/astime/astime-2.8-r3.ebuild b/x11-plugins/astime/astime-2.8-r3.ebuild index 1c7add6ea8eba..418ad38751ca3 100644 --- a/x11-plugins/astime/astime-2.8-r3.ebuild +++ b/x11-plugins/astime/astime-2.8-r3.ebuild @@ -14,14 +14,22 @@ SLOT="0" KEYWORDS="~amd64 ~ppc ~ppc64 ~x86" IUSE="jpeg" -RDEPEND="x11-libs/libXpm +RDEPEND=" + x11-libs/libICE x11-libs/libSM - jpeg? ( media-libs/libjpeg-turbo:0 )" + x11-libs/libX11 + x11-libs/libXext + x11-libs/libXpm + jpeg? ( media-libs/libjpeg-turbo:= ) +" -DEPEND="${RDEPEND} - x11-base/xorg-proto" +DEPEND=" + ${RDEPEND} + x11-base/xorg-proto +" PATCHES=( + "${FILESDIR}/${P}-respect-ldflags.patch" "${FILESDIR}/${P}-remove-double-config.h-autotools.patch" "${FILESDIR}/${P}-fix-implicit-function-decl.patch" ) diff --git a/x11-plugins/astime/files/respect-ldflags.patch b/x11-plugins/astime/files/astime-2.8-respect-ldflags.patch similarity index 100% rename from x11-plugins/astime/files/respect-ldflags.patch rename to x11-plugins/astime/files/astime-2.8-respect-ldflags.patch