Permalink
Browse files

freetype2: Moved from other to core.

  • Loading branch information...
1 parent 0d40159 commit 25db03d489c0d53ba93a2bf5cf6fb91bb9abccae @cavalier38 cavalier38 committed Mar 26, 2013
Showing with 48 additions and 0 deletions.
  1. +25 −0 fonts/freetype2/BUILD
  2. +2 −0 fonts/freetype2/DEPENDS
  3. +18 −0 fonts/freetype2/DETAILS
  4. +3 −0 fonts/freetype2/POST_INSTALL
View
25 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@AUX@' modules.cfg &&
+
+ default_build &&
+ ln -sf /usr/include/freetype2/freetype /usr/include/freetype
+
+) > $C_FIFO 2>&1
View
2 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"
View
18 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
View
3 fonts/freetype2/POST_INSTALL
@@ -0,0 +1,3 @@
+if module_installed pango; then
+ lin -c pango
+fi

0 comments on commit 25db03d

Please sign in to comment.