[Lunar-commits] <moonbase-core> freetype2: Moved from other to core.
Peter de Ridder
peter at lunar-linux.org
Tue Mar 26 20:37:49 CET 2013
commit 25db03d489c0d53ba93a2bf5cf6fb91bb9abccae
Author: Peter de Ridder <peter at lunar-linux.org>
Date: Tue, 26 Mar 2013 12:37:49 -0700
URL: https://github.com/lunar-linux/moonbase-core/commit/25db03d489c0d53ba93a2bf5cf6fb91bb9abccae
freetype2: Moved from other to core.
---
fonts/freetype2/BUILD | +25/-0
fonts/freetype2/DEPENDS | +2/-0
fonts/freetype2/DETAILS | +18/-0
fonts/freetype2/POST_INSTALL | +3/-0
4 files changed, 48 insertions(+)
--- /dev/null
+++ b/fonts/freetype2/BUILD
@@ -0,0 +1,25 @@
+(
+
+ patch_it $SOURCE_CACHE/$SOURCE2 1 &&
+
+ sed -i -r 's:.*(#.*SYSTEM_ZLIB.*) .*:\1:' \
+ include/freetype/config/ftoption.h &&
+
+ sed -i -r 's:.*(#.*SUBPIXEL_RENDERING.*) .*:\1:' \
+ include/freetype/config/ftoption.h &&
+
+ sed -i -r 's:.*(#.*INCREMENTAL.*) .*:\1:' \
+ include/freetype/config/ftoption.h &&
+
+ sed -i 's@^#define\ TT_CONFIG_OPTION_UNPATENTED_HINTING@#undef\ TT_CONFIG_OPTION_UNPATENTED_HINTING@' \
+ include/freetype/config/ftoption.h &&
+
+ sed -i -r 's:.*(#.*USE_BZIP2.*) .*:\1:' \
+ include/freetype/config/ftoption.h &&
+
+ sed -i 's@^#\ AUX at AUX@' modules.cfg &&
+
+ default_build &&
+ ln -sf /usr/include/freetype2/freetype /usr/include/freetype
+
+) > $C_FIFO 2>&1
--- /dev/null
+++ b/fonts/freetype2/DEPENDS
@@ -0,0 +1,2 @@
+optional_depends "zlib" "--with-zlib" "--without-zlib" "for zlib compression support, no=use internal zlib instead of system"
+optional_depends "bzip2" "--with-bzip2" "--without-bzip2" "for support of bzip2 compressed fonts"
--- /dev/null
+++ b/fonts/freetype2/DETAILS
@@ -0,0 +1,18 @@
+ MODULE=freetype2
+ VERSION=2.4.11
+ SOURCE=freetype-$VERSION.tar.bz2
+ SOURCE2=freetype-2.3.11-lunar.patch.bz2
+SOURCE_DIRECTORY=$BUILD_DIRECTORY/freetype-$VERSION
+ SOURCE_URL[0]=$SFORGE_URL/freetype
+ SOURCE_URL[1]=http://savannah.nongnu.org/download/freetype
+ SOURCE2_URL=$PATCH_URL
+ SOURCE_VFY=sha1:b15e5a0b30c1e854484b410340f6429ad1253c74
+ SOURCE2_VFY=sha1:7135d66d1495446882ec940041246712aa6145c7
+ WEB_SITE=http://www.freetype.org
+ ENTERED=20010922
+ UPDATED=20121222
+ SHORT="A free, quality, portable font engine"
+
+cat << EOF
+A Free, Quality, and Portable Font Engine.
+EOF
--- /dev/null
+++ b/fonts/freetype2/POST_INSTALL
@@ -0,0 +1,3 @@
+if module_installed pango; then
+ lin -c pango
+fi
More information about the Lunar-commits
mailing list