Skip to content

Commit

Permalink
Update Pango to be fully freetyped
Browse files Browse the repository at this point in the history
  • Loading branch information
staticfloat committed Oct 2, 2019
1 parent 66b23a9 commit 7228735
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions P/Pango/build_tarballs.jl
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,18 @@ sources = [
script = raw"""
cd $WORKSPACE/srcdir/pango-*/
# Remove misleading libtool files
rm -f ${prefix}/lib/*.la
# Be able to find libffi on ppc64le
if [[ ${target} == powerpc64le* ]]; then
export LDFLAGS="${LDFLAGS} -Wl,-rpath-link,${prefix}/lib64"
fi
./configure --prefix=$prefix --host=$target \
--disable-introspection \
--disable-gtk-doc-html
# The generated Makefile tries to build some examples in the "tests" directory,
# but this would fail for some unknown reasons. Let's skip it.
sed -i 's/^\(SUBDIRS = .*\) tests/\1/' Makefile
Expand All @@ -33,6 +42,7 @@ platforms = supported_platforms()
products = [
LibraryProduct(["libpango", "libpango-1", "libpango-1.0"], :libpango),
LibraryProduct(["libpangocairo", "libpangocairo-1", "libpangocairo-1.0"], :libpangocairo),
LibraryProduct(["libpangoft2", "libpangoft2-1", "libpangoft2-1.0"], :libpangoft),
]

# Dependencies that must be installed before this package can be built
Expand Down

0 comments on commit 7228735

Please sign in to comment.