forked from lunar-linux/moonbase-core
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
freetype2: Moved from other to core.
- Loading branch information
1 parent
0d40159
commit 25db03d
Showing
4 changed files
with
48 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
if module_installed pango; then | ||
lin -c pango | ||
fi |