UmVirt LFS Package info

DB commit: 48bb9ee31306c82c48dfaaad707eb4f6a926eb8a
APP commit: 1ca4178aea919e4c9e869e3d650ff8af9678bd6f
[ BASH | XML | JSON ]

freetype

The FreeType2 package contains a library which allows applications to properly render TrueType fonts.

Package info

Codename: freetype
Source file: freetype-2.13.3.tar.xz
Source directory: freetype-2.13.3
Package URL: https://umvirt.com/linux/downloads/0.2.2/packages/f/freetype-2.13.3.tar.xz
Package md5-checksum URL: https://umvirt.com/linux/downloads/0.2.2/packages/f/freetype-2.13.3.tar.xz.md5sum
Dependances: *** NO DEPENDANCES FOUND ***
Dependance of: libass, grub2efi, harfbuzz, vlc.
Patches: *** NO PATCHES FOUND ***
Addons: freetype-doc-2.13.3.tar.xz.
Nestings *** NO NESTINGS FOUND ***
Configuration script:
if [[ "$ULFS_PKG_DOCUMENTATION" == "YES" ]]
then

tar -xf ../freetype-doc-2.13.3.tar.xz --strip-components=2 -C docs

fi

sed -ri "s:.*(AUX_MODULES.*valid):\1:" modules.cfg &&

sed -r "s:.*(#.*SUBPIXEL_RENDERING) .*:\1:" \
    -i include/freetype/config/ftoption.h

ARG_STATIC="--disable-static"
if [[ "$ULFS_PKG_STATIC" == "YES" ]]
then
    ARG_STATIC="--enable-static"
fi

./configure --prefix=/usr --enable-freetype-config $ARG_STATIC 

Build script:
make

Install script:
make install

if [[ "\$ULFS_PKG_DOCUMENTATION" == "YES" ]]
then

cp -v -R docs -T /usr/share/doc/freetype-2.13.3 &&
rm -v /usr/share/doc/freetype-2.13.3/freetype-config.1

fi

Arch specific instructions

lib32_amd64

Dependances: *** NO DEPENDANCES FOUND ***
Configuration script:
sed -ri "s:.*(AUX_MODULES.*valid):\1:" modules.cfg &&

sed -r "s:.*(#.*SUBPIXEL_RENDERING) .*:\1:" \
    -i include/freetype/config/ftoption.h  &&

ARG_STATIC="--disable-static"
if [[ "$ULFS_PKG_STATIC" == "YES" ]]
then
    ARG_STATIC="--enable-static"
fi

CC="gcc -m32" CXX="g++ -m32" \
PKG_CONFIG="i686-pc-linux-gnu-pkg-config" \
./configure --prefix=/usr \
    --enable-freetype-config $ARG_STATIC \
    --host=i686-pc-linux-gnu \
    --libdir=/usr/lib32

Build script:
make

Install script:
make install