summaryrefslogtreecommitdiff
path: root/package
diff options
context:
space:
mode:
authorWaldemar Brodkorb <mail@waldemar-brodkorb.de>2013-02-08 18:00:35 +0100
committerWaldemar Brodkorb <mail@waldemar-brodkorb.de>2013-02-08 18:00:35 +0100
commit5b287081fcbf6f56947f63f3049faca0d395067d (patch)
treebb9226ef75fbb5660edf2db51f7e55a01245be62 /package
parent10ba297103cedbe0e94c857aaeccac189014c9ad (diff)
add harfbuzz, missing in the last commit
Diffstat (limited to 'package')
-rw-r--r--package/firefox/patches/patch-js_src_jscpucfg_cpp14
-rw-r--r--package/harfbuzz/Makefile27
2 files changed, 41 insertions, 0 deletions
diff --git a/package/firefox/patches/patch-js_src_jscpucfg_cpp b/package/firefox/patches/patch-js_src_jscpucfg_cpp
new file mode 100644
index 000000000..e41e74f24
--- /dev/null
+++ b/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;
+ }
+
diff --git a/package/harfbuzz/Makefile b/package/harfbuzz/Makefile
new file mode 100644
index 000000000..c125a10c6
--- /dev/null
+++ b/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