x11-plugins/astime: fix QA issue

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

Signed-off-by: Viorel Munteanu <ceamac@gentoo.org>
This commit is contained in:
Viorel Munteanu
2023-10-16 09:09:45 +03:00
parent d475d108d3
commit 919eee1ce6
3 changed files with 14 additions and 6 deletions
+2 -2
View File
@@ -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)
+12 -4
View File
@@ -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"
)