Browse Source

add harfbuzz, missing in the last commit

Waldemar Brodkorb 11 years ago
parent
commit
5b287081fc
2 changed files with 41 additions and 0 deletions
  1. 14 0
      package/firefox/patches/patch-js_src_jscpucfg_cpp
  2. 27 0
      package/harfbuzz/Makefile

+ 14 - 0
package/firefox/patches/patch-js_src_jscpucfg_cpp

@@ -0,0 +1,14 @@
+--- mozilla-release.orig/js/src/jscpucfg.cpp	2011-07-08 03:15:24.000000000 +0200
++++ mozilla-release/js/src/jscpucfg.cpp	2013-02-08 09:41:16.000000000 +0100
+@@ -177,6 +177,11 @@ int main(int argc, char **argv)
+ 
+     printf("#endif /* js_cpucfg___ */\n");
+ 
++#if defined __GNUC__ && defined __x86_64__
++    printf("#define HAVE_VA_LIST_AS_ARRAY\n");
++    printf("\n");
++#endif
++
+     return EXIT_SUCCESS;
+ }
+ 

+ 27 - 0
package/harfbuzz/Makefile

@@ -0,0 +1,27 @@
+# This file is part of the OpenADK project. OpenADK is copyrighted
+# material, please see the LICENCE file in the top-level directory.
+
+include $(TOPDIR)/rules.mk
+
+PKG_NAME:=		harfbuzz
+PKG_VERSION:=		0.9.9
+PKG_RELEASE:=		1
+PKG_MD5SUM:=		e901ffe556d706b7d43b272f83be7f09
+PKG_DESCR:=		OpenType text shaping engine
+PKG_SECTION:=		libs
+PKG_SITES:=		http://www.freedesktop.org/software/harfbuzz/release/
+
+DISTFILES:=             ${PKG_NAME}-${PKG_VERSION}.tar.bz2
+
+include $(TOPDIR)/mk/package.mk
+
+$(eval $(call PKG_template,HARFBUZZ,harfbuzz,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
+
+TARGET_LDFLAGS+=	-L$(STAGING_DIR)/usr/lib64
+
+harfbuzz-install:
+	$(INSTALL_DIR) $(IDIR_HARFBUZZ)/usr/lib
+	$(CP) $(WRKINST)/usr/lib/libharfbuzz*.so* \
+		$(IDIR_HARFBUZZ)/usr/lib
+
+include ${TOPDIR}/mk/pkg-bottom.mk