vanhofen
4 years ago
8 changed files with 225 additions and 0 deletions
@ -0,0 +1,38 @@ |
|||||
|
################################################################################
|
||||
|
#
|
||||
|
# cairo
|
||||
|
#
|
||||
|
################################################################################
|
||||
|
|
||||
|
CAIRO_VERSION = 1.16.0 |
||||
|
CAIRO_DIR = cairo-$(CAIRO_VERSION) |
||||
|
CAIRO_SOURCE = cairo-$(CAIRO_VERSION).tar.xz |
||||
|
CAIRO_SITE = https://www.cairographics.org/releases |
||||
|
|
||||
|
$(DL_DIR)/$(CAIRO_SOURCE): |
||||
|
$(download) $(CAIRO_SITE)/$(CAIRO_SOURCE) |
||||
|
|
||||
|
CAIRO_DEPENDENCIES = fontconfig glib2 libpng pixman zlib |
||||
|
|
||||
|
CAIRO_CONF_ENV = \
|
||||
|
ax_cv_c_float_words_bigendian="no" |
||||
|
|
||||
|
CAIRO_CONF_OPTS = \
|
||||
|
--with-html-dir=$(REMOVE_htmldir) \
|
||||
|
--with-x=no \
|
||||
|
--disable-xlib \
|
||||
|
--disable-xcb \
|
||||
|
--disable-egl \
|
||||
|
--disable-glesv2 \
|
||||
|
--disable-gl \
|
||||
|
--enable-tee |
||||
|
|
||||
|
define CAIRO_TARGET_CLEANUP |
||||
|
$(TARGET_RM) $(addprefix $(TARGET_bindir)/,cairo-sphinx) |
||||
|
$(TARGET_RM) $(addprefix $(TARGET_libdir)/cairo/,cairo-fdr* cairo-sphinx*) |
||||
|
$(TARGET_RM) $(addprefix $(TARGET_libdir)/cairo/.debug/,cairo-fdr* cairo-sphinx*) |
||||
|
endef |
||||
|
CAIRO_TARGET_FINALIZE_HOOKS += CAIRO_TARGET_CLEANUP |
||||
|
|
||||
|
cairo: $(CAIRO_DEPENDENCIES) $(DL_DIR)/$(CAIRO_SOURCE) | $(TARGET_DIR) |
||||
|
$(call autotools-package) |
@ -0,0 +1,21 @@ |
|||||
|
################################################################################
|
||||
|
#
|
||||
|
# fontconfig
|
||||
|
#
|
||||
|
################################################################################
|
||||
|
|
||||
|
FONTCONFIG_VERSION = 2.11.93 |
||||
|
FONTCONFIG_DIR = fontconfig-$(FONTCONFIG_VERSION) |
||||
|
FONTCONFIG_SOURCE = fontconfig-$(FONTCONFIG_VERSION).tar.bz2 |
||||
|
FONTCONFIG_SITE = https://www.freedesktop.org/software/fontconfig/release |
||||
|
|
||||
|
FONTCONFIG_DEPENDENCIES = freetype expat |
||||
|
|
||||
|
FONTCONFIG_CONF_OPTS = \
|
||||
|
--with-freetype-config=$(HOST_DIR)/bin/freetype-config \
|
||||
|
--with-expat-includes=$(TARGET_includedir) \
|
||||
|
--with-expat-lib=$(TARGET_libdir) \
|
||||
|
--disable-docs |
||||
|
|
||||
|
fontconfig: | $(TARGET_DIR) |
||||
|
$(call autotools-package) |
@ -0,0 +1,51 @@ |
|||||
|
################################################################################
|
||||
|
#
|
||||
|
# glib2
|
||||
|
#
|
||||
|
################################################################################
|
||||
|
|
||||
|
GLIB2_VERSION = 2.56.3 |
||||
|
GLIB2_DIR = glib-$(GLIB2_VERSION) |
||||
|
GLIB2_SOURCE = glib-$(GLIB2_VERSION).tar.xz |
||||
|
GLIB2_SITE = https://ftp.gnome.org/pub/gnome/sources/glib/$(basename $(GLIB2_VERSION)) |
||||
|
|
||||
|
GLIB2_DEPENDENCIES = zlib libffi |
||||
|
ifeq ($(BOXSERIES),hd2) |
||||
|
GLIB2_DEPENDENCIES += gettext |
||||
|
endif |
||||
|
|
||||
|
GLIB2_AUTORECONF = YES |
||||
|
|
||||
|
GLIB2_CONF_OPTS = \
|
||||
|
--bindir=$(REMOVE_bindir) \
|
||||
|
--datadir=$(REMOVE_datadir) \
|
||||
|
$(if $(filter $(BOXSERIES),hd1),--enable-static --disable-shared) \
|
||||
|
--cache-file=arm-linux.cache \
|
||||
|
--disable-debug \
|
||||
|
--disable-selinux \
|
||||
|
--disable-libmount \
|
||||
|
--disable-fam \
|
||||
|
--disable-gtk-doc \
|
||||
|
--disable-gtk-doc-html \
|
||||
|
--disable-compile-warnings \
|
||||
|
--with-threads="posix" \
|
||||
|
--with-pcre=internal |
||||
|
|
||||
|
ifeq ($(BOXTYPE),$(filter $(BOXTYPE),armbox mipsbox)) |
||||
|
GLIB2_DEPENDENCIES += libiconv |
||||
|
GLIB2_CONF_OPTS += --with-libiconv=gnu |
||||
|
endif |
||||
|
|
||||
|
define GLIB2_CREATE_CONF_ENV_FILE |
||||
|
echo "ac_cv_func_posix_getgrgid_r=yes" > $(PKG_BUILD_DIR)/arm-linux.cache |
||||
|
echo "ac_cv_func_posix_getpwuid_r=yes" >> $(PKG_BUILD_DIR)/arm-linux.cache |
||||
|
echo "ac_cv_type_long_long=yes" >> $(PKG_BUILD_DIR)/arm-linux.cache |
||||
|
echo "glib_cv_stack_grows=no" >> $(PKG_BUILD_DIR)/arm-linux.cache |
||||
|
echo "glib_cv_uscore=no" >> $(PKG_BUILD_DIR)/arm-linux.cache |
||||
|
echo "glib_cv_va_copy=no" >> $(PKG_BUILD_DIR)/arm-linux.cache |
||||
|
echo "glib_cv_va_val_copy=yes" >> $(PKG_BUILD_DIR)/arm-linux.cache |
||||
|
endef |
||||
|
GLIB2_POST_PATCH_HOOKS += GLIB2_CREATE_CONF_ENV_FILE |
||||
|
|
||||
|
glib2: | $(TARGET_DIR) |
||||
|
$(call autotools-package) |
@ -0,0 +1,25 @@ |
|||||
|
################################################################################
|
||||
|
#
|
||||
|
# harfbuzz
|
||||
|
#
|
||||
|
################################################################################
|
||||
|
|
||||
|
HARFBUZZ_VERSION = 1.8.8 |
||||
|
HARFBUZZ_DIR = harfbuzz-$(HARFBUZZ_VERSION) |
||||
|
HARFBUZZ_SOURCE = harfbuzz-$(HARFBUZZ_VERSION).tar.bz2 |
||||
|
HARFBUZZ_SITE = https://www.freedesktop.org/software/harfbuzz/release |
||||
|
|
||||
|
HARFBUZZ_DEPENDENCIES = fontconfig glib2 cairo freetype |
||||
|
|
||||
|
HARFBUZZ_AUTORECONF = YES |
||||
|
|
||||
|
HARFBUZZ_CONF_OPTS = \
|
||||
|
--with-cairo \
|
||||
|
--with-fontconfig \
|
||||
|
--with-freetype \
|
||||
|
--with-glib \
|
||||
|
--without-graphite2 \
|
||||
|
--without-icu |
||||
|
|
||||
|
harfbuzz: | $(TARGET_DIR) |
||||
|
$(call autotools-package) |
@ -0,0 +1,27 @@ |
|||||
|
################################################################################
|
||||
|
#
|
||||
|
# libiconv
|
||||
|
#
|
||||
|
################################################################################
|
||||
|
|
||||
|
LIBICONV_VERSION = 1.15 |
||||
|
LIBICONV_DIR = libiconv-$(LIBICONV_VERSION) |
||||
|
LIBICONV_SOURCE = libiconv-$(LIBICONV_VERSION).tar.gz |
||||
|
LIBICONV_SITE = $(GNU_MIRROR)/libiconv |
||||
|
|
||||
|
LIBICONV_CONF_ENV = \
|
||||
|
CPPFLAGS="$(TARGET_CPPFLAGS) -fPIC" |
||||
|
|
||||
|
LIBICONV_CONF_OPTS = \
|
||||
|
--datarootdir=$(REMOVE_datarootdir) \
|
||||
|
--enable-static \
|
||||
|
--disable-shared \
|
||||
|
--enable-relocatable |
||||
|
|
||||
|
define LIBICONV_DISABLE_PRELOAD |
||||
|
$(SED) '/preload/d' $(PKG_BUILD_DIR)/Makefile.in |
||||
|
endef |
||||
|
LIBICONV_POST_PATCH_HOOKS += LIBICONV_DISABLE_PRELOAD |
||||
|
|
||||
|
libiconv: | $(TARGET_DIR) |
||||
|
$(call autotools-package) |
@ -0,0 +1,20 @@ |
|||||
|
################################################################################
|
||||
|
#
|
||||
|
# libid3tag
|
||||
|
#
|
||||
|
################################################################################
|
||||
|
|
||||
|
LIBID3TAG_VERSION = 0.15.1b |
||||
|
LIBID3TAG_DIR = libid3tag-$(LIBID3TAG_VERSION) |
||||
|
LIBID3TAG_SOURCE = libid3tag-$(LIBID3TAG_VERSION).tar.gz |
||||
|
LIBID3TAG_SITE = https://sourceforge.net/projects/mad/files/libid3tag/$(LIBID3TAG_VERSION) |
||||
|
|
||||
|
LIBID3TAG_DEPENDENCIES = zlib |
||||
|
|
||||
|
LIBID3TAG_AUTORECONF = YES |
||||
|
|
||||
|
LIBID3TAG_CONF_OPTS = \
|
||||
|
--enable-shared=yes |
||||
|
|
||||
|
libid3tag: | $(TARGET_DIR) |
||||
|
$(call autotools-package) |
@ -0,0 +1,22 @@ |
|||||
|
################################################################################
|
||||
|
#
|
||||
|
# libvorbisidec
|
||||
|
#
|
||||
|
################################################################################
|
||||
|
|
||||
|
LIBVORBISIDEC_VERSION = 1.2.1+git20180316 |
||||
|
LIBVORBISIDEC_DIR = libvorbisidec-$(LIBVORBISIDEC_VERSION) |
||||
|
LIBVORBISIDEC_SOURCE = libvorbisidec_$(LIBVORBISIDEC_VERSION).orig.tar.gz |
||||
|
LIBVORBISIDEC_SITE = https://ftp.de.debian.org/debian/pool/main/libv/libvorbisidec |
||||
|
|
||||
|
LIBVORBISIDEC_DEPENDENCIES = libogg |
||||
|
|
||||
|
LIBVORBISIDEC_AUTORECONF = YES |
||||
|
|
||||
|
define LIBVORBISIDEC_PATCH_CONFIGURE |
||||
|
$(SED) '122 s/^/#/' $(PKG_BUILD_DIR)/configure.in |
||||
|
endef |
||||
|
LIBVORBISIDEC_POST_PATCH_HOOKS = LIBVORBISIDEC_PATCH_CONFIGURE |
||||
|
|
||||
|
libvorbisidec: | $(TARGET_DIR) |
||||
|
$(call autotools-package) |
@ -0,0 +1,21 @@ |
|||||
|
################################################################################
|
||||
|
#
|
||||
|
# pixman
|
||||
|
#
|
||||
|
################################################################################
|
||||
|
|
||||
|
PIXMAN_VERSION = 0.34.0 |
||||
|
PIXMAN_DIR = pixman-$(PIXMAN_VERSION) |
||||
|
PIXMAN_SOURCE = pixman-$(PIXMAN_VERSION).tar.gz |
||||
|
PIXMAN_SITE = https://www.cairographics.org/releases |
||||
|
|
||||
|
PIXMAN_DEPENDENCIES = zlib libpng |
||||
|
|
||||
|
PIXMAN_CONF_OPTS = \
|
||||
|
--disable-gtk \
|
||||
|
--disable-arm-simd \
|
||||
|
--disable-loongson-mmi \
|
||||
|
--disable-docs |
||||
|
|
||||
|
pixman: | $(TARGET_DIR) |
||||
|
$(call autotools-package) |
Loading…
Reference in new issue