[Lunar-commits] <moonbase-other> Revert "freetype2: Moved from other to core."
Peter de Ridder
peter at lunar-linux.org
Mon Apr 8 21:29:10 CEST 2013
commit de80b4282e5805bc7484769a33036cfc27060100
Author: Peter de Ridder <peter at lunar-linux.org>
Date: Mon, 08 Apr 2013 11:58:59 -0700
URL: https://github.com/lunar-linux/moonbase-other/commit/de80b4282e5805bc7484769a33036cfc27060100
Revert "freetype2: Moved from other to core."
This reverts commit 7a0e3c07fbb03911eab58bbd524068a786640104.
---
graphics/freetype2/BUILD | +25/-0
graphics/freetype2/DEPENDS | +2/-0
graphics/freetype2/DETAILS | +18/-0
graphics/freetype2/POST_INSTALL | +3/-0
4 files changed, 48 insertions(+)
--- /dev/null
+++ b/graphics/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/graphics/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/graphics/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/graphics/freetype2/POST_INSTALL
@@ -0,0 +1,3 @@
+if module_installed pango; then
+ lin -c pango
+fi
More information about the Lunar-commits
mailing list