commit:     919eee1ce689419a9809ba65fbfce4e2e8d1a6f1
Author:     Viorel Munteanu <ceamac <AT> gentoo <DOT> org>
AuthorDate: Mon Oct 16 06:04:58 2023 +0000
Commit:     Viorel Munteanu <ceamac <AT> gentoo <DOT> org>
CommitDate: Mon Oct 16 06:09:45 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=919eee1c

x11-plugins/astime: fix QA issue

Fix LDFLAGS QA issue.
Rename the patch.
Add some missing dependencies.

Signed-off-by: Viorel Munteanu <ceamac <AT> gentoo.org>

 x11-plugins/astime/astime-2.8-r2.ebuild                  |  4 ++--
 x11-plugins/astime/astime-2.8-r3.ebuild                  | 16 ++++++++++++----
 ...ct-ldflags.patch => astime-2.8-respect-ldflags.patch} |  0
 3 files changed, 14 insertions(+), 6 deletions(-)

diff --git a/x11-plugins/astime/astime-2.8-r2.ebuild 
b/x11-plugins/astime/astime-2.8-r2.ebuild
index 030c08793e3d..423b8d075323 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 1c7add6ea8eb..418ad38751ca 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

Reply via email to