mirror of
https://github.com/linuxboot/heads.git
synced 2024-12-19 04:57:55 +00:00
8ca6286ae0
Enable it by default for the Librem 13 v2
29 lines
762 B
Plaintext
29 lines
762 B
Plaintext
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 := \
|
|
$(CROSS_TOOLS) \
|
|
CFLAGS="-DCAIRO_NO_MUTEX=1 -O3" \
|
|
./configure \
|
|
--host i386-elf-linux \
|
|
--prefix="/" \
|
|
--disable-xlib --disable-xcb --disable-pdf \
|
|
--disable-ps --disable-svg --disable-script \
|
|
--disable-ft --disable-fc --disable-pthread \
|
|
--disable-glib --disable-gobject
|
|
|
|
cairo_target := \
|
|
$(MAKE_JOBS) \
|
|
$(CROSS_TOOLS) \
|
|
DESTDIR="$(INSTALL)" \
|
|
install
|
|
|
|
cairo_libraries := src/.libs/libcairo.so.2
|
|
|
|
cairo_depends := pixman $(musl_dep)
|