summaryrefslogtreecommitdiff
path: root/package/pango/Makefile
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2014-05-23 18:28:03 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2014-05-23 18:28:24 +0200
commit72b4ecd972cbade303cf7cf69986183a10feb118 (patch)
tree5bd4eec4af600aa631b0f523b9067855c8e60a4b /package/pango/Makefile
parent4340ac5371121ab2adb2dc53414c2348506cac73 (diff)
fix host compile of librsvg, required for midori
Diffstat (limited to 'package/pango/Makefile')
-rw-r--r--package/pango/Makefile14
1 files changed, 9 insertions, 5 deletions
diff --git a/package/pango/Makefile b/package/pango/Makefile
index 65fbb33f0..e13760d08 100644
--- a/package/pango/Makefile
+++ b/package/pango/Makefile
@@ -4,12 +4,13 @@
include ${TOPDIR}/rules.mk
PKG_NAME:= pango
-PKG_VERSION:= 1.36.1
+PKG_VERSION:= 1.36.3
PKG_RELEASE:= 1
-PKG_MD5SUM:= 9e0d3a1ea395172f8c39ba98a4d2081a
-PKG_DESCR:= pango library
+PKG_MD5SUM:= d9532826e95bdb374355deebc42441bb
+PKG_DESCR:= library for laying out and rendering of text
PKG_SECTION:= libs
PKG_BUILDDEP:= libXft glib cairo harfbuzz libstdcxx fontconfig
+HOST_BUILDDEP:= cairo-host harfbuzz-host
PKG_URL:= http://www.pango.org/
PKG_SITES:= ${MASTER_SITE_GNOME:=pango/1.36/}
PKG_NEED_CXX:= 1
@@ -19,19 +20,22 @@ ifeq ($(ADK_STATIC),y)
PKG_OPTS+= libonly
endif
+include ${TOPDIR}/mk/host.mk
include ${TOPDIR}/mk/package.mk
+$(eval $(call HOST_template,PANGO,pango,${PKG_VERSION}-${PKG_RELEASE}))
$(eval $(call PKG_template,PANGO,pango,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
-TARGET_CFLAGS:= $(filter-out -flto,$(TARGET_CFLAGS))
+HOST_STYLE:= auto
CONFIGURE_ENV+= ac_cv_path_EGREP="grep -E"
pango-install:
$(INSTALL_DIR) $(IDIR_PANGO)/etc/pango
- $(INSTALL_DIR) $(IDIR_PANGO)/usr/lib $(IDIR_PANGO)/usr/lib/pango/1.8.0/modules
+ $(INSTALL_DIR) $(IDIR_PANGO)/usr/lib/pango/1.8.0/modules
$(INSTALL_DATA) ./files/pango.modules $(IDIR_PANGO)/etc/pango
$(CP) $(WRKINST)/usr/lib/libpango*.so* $(IDIR_PANGO)/usr/lib
$(CP) $(WRKINST)/usr/lib/pango/1.8.0/modules/*.so \
$(IDIR_PANGO)/usr/lib/pango/1.8.0/modules
+include ${TOPDIR}/mk/host-bottom.mk
include ${TOPDIR}/mk/pkg-bottom.mk