mirror of
https://github.com/linuxboot/heads.git
synced 2024-12-18 20:47:55 +00:00
a4ba76fd90
Just some minor clean ups like fixing whitespace and sorting things. I added (bash)/removed (libusb) white space in order to look like the other modules. I sorted the --enable/--disable/--with blocks so that common stuff looked similar which should aid in comparing modules. I also removed a couple of duplicate config options (--disable-fallback-curses & --disable-regex). Signed-off-by: Manuel Mendez <github@i.m.mmlb.dev> Signed-off-by: Thierry Laurion <insurgo@riseup.net>
41 lines
956 B
Makefile
41 lines
956 B
Makefile
modules-$(CONFIG_CAIRO) += cairo
|
|
|
|
cairo_version := 1.14.12
|
|
cairo_dir := cairo-$(cairo_version)
|
|
cairo_tar := cairo-$(cairo_version).tar.xz
|
|
cairo_url := https://www.cairographics.org/releases/$(cairo_tar)
|
|
cairo_hash := 8c90f00c500b2299c0a323dd9beead2a00353752b2092ead558139bd67f7bf16
|
|
|
|
cairo_configure := \
|
|
CFLAGS="-DCAIRO_NO_MUTEX=1 -Os" \
|
|
$(CROSS_TOOLS) \
|
|
./configure \
|
|
--host $(MUSL_ARCH)-elf-linux \
|
|
--prefix="/" \
|
|
--disable-fc \
|
|
--disable-ft \
|
|
--disable-gobject \
|
|
--disable-pdf \
|
|
--disable-ps \
|
|
--disable-pthread \
|
|
--disable-script \
|
|
--disable-svg \
|
|
--disable-xcb \
|
|
--disable-xlib \
|
|
&& sed \
|
|
-e 's/^hardcode_libdir_flag_spec.*/hardcode_libdir_flag_spec=" -D__LIBTOOL_RPATH_DISABLE__ "/' \
|
|
< libtool \
|
|
> libtool-2 \
|
|
&& mv libtool-2 libtool \
|
|
&& chmod 755 libtool
|
|
|
|
cairo_target := \
|
|
$(MAKE_JOBS) \
|
|
$(CROSS_TOOLS) \
|
|
DESTDIR="$(INSTALL)" \
|
|
install
|
|
|
|
cairo_libraries := src/.libs/libcairo.so.2
|
|
|
|
cairo_depends := pixman $(musl_dep)
|