mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-23 23:27:12 -08:00
media-video/gpac: Use pkg-config to find freetype
Thanks to Bernd Feige who reported the issue and provided a patch. Bug: https://bugs.gentoo.org/655272 Package-Manager: Portage-2.3.36, Repoman-2.3.9
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
Index: gpac-0.7.1/configure
|
||||
===================================================================
|
||||
--- gpac-0.7.1.orig/configure
|
||||
+++ gpac-0.7.1/configure
|
||||
@@ -1117,8 +1117,8 @@ if docc $CFLAGS_DIR $ft_cflags $ft_lflag
|
||||
fi
|
||||
if test "$cross_prefix" = "" ; then
|
||||
if test "$has_ft" = "no" ; then
|
||||
- ft_cflags="`freetype-config --cflags 2>>$logs`"
|
||||
- ft_lflags="`freetype-config --libs 2>>$logs`"
|
||||
+ ft_cflags="`pkg-config --cflags freetype2 2>>$logs`"
|
||||
+ ft_lflags="`pkg-config --libs freetype2 2>>$logs`"
|
||||
if docc $ft_cflags $ft_lflags $LDFLAGS ; then
|
||||
has_ft="system"
|
||||
fi
|
||||
@@ -56,12 +56,14 @@ RDEPEND="
|
||||
"
|
||||
# disabled upstream, see applications/Makefile
|
||||
# wxwidgets? ( =x11-libs/wxGTK-2.8* )
|
||||
DEPEND="${RDEPEND}"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig"
|
||||
|
||||
# DOCS="AUTHORS BUGS Changelog README.md TODO doc/CODING_STYLE doc/*.doc doc/*.bt doc/SceneGenerators doc/ipmpx_syntax.bt doc/*.txt"
|
||||
PATCHES=(
|
||||
"${FILESDIR}/${PN}-0.7.1-configure.patch"
|
||||
"${FILESDIR}/ffmpeg4.patch"
|
||||
"${FILESDIR}/${PN}-freetype.patch"
|
||||
)
|
||||
|
||||
DOCS=(
|
||||
|
||||
Reference in New Issue
Block a user