diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2014-05-23 18:28:03 +0200 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2014-05-23 18:28:24 +0200 |
commit | 72b4ecd972cbade303cf7cf69986183a10feb118 (patch) | |
tree | 5bd4eec4af600aa631b0f523b9067855c8e60a4b /package/cairo/Makefile | |
parent | 4340ac5371121ab2adb2dc53414c2348506cac73 (diff) |
fix host compile of librsvg, required for midori
Diffstat (limited to 'package/cairo/Makefile')
-rw-r--r-- | package/cairo/Makefile | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/package/cairo/Makefile b/package/cairo/Makefile index 80a1450d2..35fcf82cc 100644 --- a/package/cairo/Makefile +++ b/package/cairo/Makefile @@ -13,6 +13,7 @@ PKG_DEPENDS:= fontconfig libfreetype libpng libx11 pixman PKG_DEPENDS+= libxrender PKG_BUILDDEP:= libpng pixman freetype fontconfig libX11 libXrender glib PKG_BUILDDEP+= libXext +HOST_BUILDDEP:= libpng-host pixman-host freetype-host fontconfig-host PKG_URL:= http://cairographics.org/ PKG_SITES:= http://cairographics.org/releases/ PKG_OPTS:= dev @@ -21,10 +22,23 @@ ifeq ($(ADK_STATIC),y) PKG_OPTS+= libonly endif +include ${TOPDIR}/mk/host.mk include ${TOPDIR}/mk/package.mk +$(eval $(call HOST_template,CAIRO,cairo,${PKG_VERSION}-${PKG_RELEASE})) $(eval $(call PKG_template,CAIRO,cairo,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS})) +HOST_STYLE:= auto +HOST_CONFIGURE_ARGS+= --enable-ft=yes \ + --enable-png=yes \ + --enable-fc=yes \ + --enable-tee=no \ + --enable-xlib=no \ + --enable-pdf=no \ + --enable-quartz=no \ + --disable-test-surfaces \ + --disable-full-testing + ifeq (,$(filter arm,$(TARGET_ARCH))) TARGET_CFLAGS:= $(filter-out -Os,$(TARGET_CFLAGS)) endif @@ -33,6 +47,8 @@ CONFIGURE_ARGS+= --enable-ft=yes \ --enable-tee=yes \ --enable-xlib=yes \ --enable-pdf=yes \ + --enable-png=yes \ + --enable-quartz=no \ --disable-test-surfaces \ --disable-full-testing @@ -41,4 +57,5 @@ cairo-install: ${CP} ${WRKINST}/usr/lib/libcairo*.so* ${IDIR_CAIRO}/usr/lib ${CP} ${WRKINST}/usr/lib/cairo/*.so* ${IDIR_CAIRO}/usr/lib/cairo +include ${TOPDIR}/mk/host-bottom.mk include ${TOPDIR}/mk/pkg-bottom.mk |