Skip to content

Commit

Permalink
Add bootstrappers for experimental third-party builds.
Browse files Browse the repository at this point in the history
  • Loading branch information
rhaleblian committed Nov 19, 2018
1 parent c3cb193 commit 0bb8094
Show file tree
Hide file tree
Showing 3 changed files with 40 additions and 0 deletions.
24 changes: 24 additions & 0 deletions tool/configure-cairo
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
#!/usr/bin/env sh
#
# Run this from within the cairo source dir:
# cd cairo-1.6.0
# ../congfigure-cairo

./configure --prefix=$(realpath ..) --host=arm-none-eabi \
--enable-xlib=no \
--enable-xlib-xrender=no \
--enable-xcb=no \
--enable-xlib-xcb=no \
--enable-xcb-shm=no \
--enable-glx=no \
--enable-pdf=no \
--enable-png=yes \
--enable-ps=yes \
--enable-ft=yes \
--enable-fc=no \
--enable-pthread=no \
--enable-gobject=no \
CPPFLAGS="-I$(realpath ../include) -DCAIRO_NO_MUTEX=1" \
LDFLAGS="-L$(realpath ../lib)" \
PKG_CONFIG_PATH=../lib/pkgconfig

4 changes: 4 additions & 0 deletions tool/configure-libpng
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/usr/bin/env sh
./configure --prefix=$(realpath ..) --host=arm-none-eabi \
CPPFLAGS='-I../include' LDFLAGS='-L../lib'

12 changes: 12 additions & 0 deletions tool/configure-pixman
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
#!/usr/bin/env sh
#
# Run this from within the cairo source dir:
# cd cairo-1.6.0
# ../congfigure-cairo

./configure --prefix=$(realpath ..) --host=arm-none-eabi \
--enable-shared=no \
--enable-gtk=no \
PKG_CONFIG_PATH=../lib/pkgconfig \
CPPFLAGS="-I$(realpath ../include)" LDFLAGS="-L$(realpath ../lib)"

0 comments on commit 0bb8094

Please sign in to comment.