Update cairo from 1.2.4 to 1.6.4 and remove usless stuff from Makefile
authorJens Muecke <jens@nons.de>
Thu, 15 May 2008 21:08:09 +0000 (21:08 +0000)
committerJens Muecke <jens@nons.de>
Thu, 15 May 2008 21:08:09 +0000 (21:08 +0000)
SVN-Revision: 11144

XOrg/lib/cairo/Makefile

index 1300bb2..97ace21 100644 (file)
@@ -1,20 +1,20 @@
 # 
-# Copyright (C) 2006 OpenWrt.org
+# Copyright (C) 2008 OpenWrt.org
 #
 # This is free software, licensed under the GNU General Public License v2.
 # See /LICENSE for more information.
 #
-# blogic@openwrt.org
 
 include $(TOPDIR)/rules.mk
 
 PKG_NAME:=cairo
-PKG_VERSION:=1.2.4
+PKG_VERSION:=1.6.4
 PKG_RELEASE:=1
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
-PKG_SOURCE_URL:= http://cairographics.org/releases/
+PKG_SOURCE_URL:=http://cairographics.org/releases/
 PKG_FIXUP = libtool
+PKG_MD5SUM:=a198d509f9e3a35b78de8bb02174ebb9
 
 include $(INCLUDE_DIR)/package.mk
 
@@ -23,20 +23,12 @@ define Package/cairo
   CATEGORY:=Xorg
   SUBMENU:=libraries
   TITLE:=2D graphics library with support for multiple output devices
-  DEPENDS:=+xorg-server-essentials +fontconfig +libpng
+  DEPENDS:=+xorg-server-essentials +fontconfig +libpng +libexpat
 endef
 
-define Build/Configure
-       (cd $(PKG_BUILD_DIR)/$(CONFIGURE_PATH); \
-               if [ -x $(CONFIGURE_CMD) ]; then \
-                       $(CP) $(SCRIPT_DIR)/config.{guess,sub} $(PKG_BUILD_DIR)/ && \
-                       $(CONFIGURE_VARS) \
-                       $(CONFIGURE_CMD) \
-                       $(CONFIGURE_ARGS_XTRA) \
-                       $(CONFIGURE_ARGS) ;\
-               fi \
-       )
-endef
+CONFIGURE_VARS += FONTCONFIG_LIBS="-lfreetype -lfontconfig -lz -lexpat"
+CONFIGURE_ARGS += --enable-freetype=yes
+TARGET_CFLAGS += -L$(STAGING_DIR)/usr/lib
 
 define Build/Compile
        $(MAKE) -C $(PKG_BUILD_DIR)