mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2025-12-21 09:07:26 -08:00
games-engines/zoom: Find libXft with pkg-config rather than xft-config
Closes: https://bugs.gentoo.org/967824 Signed-off-by: James Le Cuirot <chewi@gentoo.org>
This commit is contained in:
parent
c94fa9beeb
commit
efba465006
15
games-engines/zoom/files/zoom-1.1.5-xft-config.patch
Normal file
15
games-engines/zoom/files/zoom-1.1.5-xft-config.patch
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
--- a/configure.in
|
||||||
|
+++ b/configure.in
|
||||||
|
@@ -356,10 +356,10 @@
|
||||||
|
|
||||||
|
# If Xft is installed, then there will be a xft-config file on the current path
|
||||||
|
AC_MSG_CHECKING([for xft-config])
|
||||||
|
- XFTCONFIG=`which xft-config`
|
||||||
|
+ XFTCONFIG="${PKG_CONFIG:-pkg-config} xft"
|
||||||
|
XFT_CFLAGS=""
|
||||||
|
XFT_LIBS=""
|
||||||
|
- if test -x ${XFTCONFIG}; then
|
||||||
|
+ if ${XFTCONFIG} --exists; then
|
||||||
|
AC_MSG_RESULT([$XFTCONFIG])
|
||||||
|
XFT_CFLAGS=`${XFTCONFIG} --cflags`
|
||||||
|
XFT_LIBS=`${XFTCONFIG} --libs`
|
||||||
@ -1,8 +1,10 @@
|
|||||||
# Copyright 1999-2024 Gentoo Authors
|
# Copyright 1999-2025 Gentoo Authors
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
EAPI=8
|
EAPI=8
|
||||||
|
|
||||||
|
inherit autotools
|
||||||
|
|
||||||
DESCRIPTION="Fast, clean, modern Z-code interpreter for X"
|
DESCRIPTION="Fast, clean, modern Z-code interpreter for X"
|
||||||
HOMEPAGE="https://www.logicalshift.co.uk/unix/zoom/"
|
HOMEPAGE="https://www.logicalshift.co.uk/unix/zoom/"
|
||||||
SRC_URI="https://www.logicalshift.co.uk/unix/zoom/${P}.tar.gz"
|
SRC_URI="https://www.logicalshift.co.uk/unix/zoom/${P}.tar.gz"
|
||||||
@ -20,8 +22,19 @@ RDEPEND="!net-im/zoom[zoom-symlink(+)]
|
|||||||
DEPEND="${RDEPEND}
|
DEPEND="${RDEPEND}
|
||||||
dev-lang/perl
|
dev-lang/perl
|
||||||
x11-base/xorg-proto"
|
x11-base/xorg-proto"
|
||||||
|
BDEPEND="
|
||||||
|
virtual/pkgconfig
|
||||||
|
"
|
||||||
|
|
||||||
PATCHES=( "${FILESDIR}"/${P}-gcc7.patch )
|
PATCHES=(
|
||||||
|
"${FILESDIR}"/${P}-gcc7.patch
|
||||||
|
"${FILESDIR}"/${P}-xft-config.patch
|
||||||
|
)
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
default
|
||||||
|
AT_M4DIR="m4" eautoreconf
|
||||||
|
}
|
||||||
|
|
||||||
src_install() {
|
src_install() {
|
||||||
default
|
default
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user