UmVirt LFS Package info

DB commit: 87572d7cf5c2e4fc6a7d33abc05341175a2c925a
APP commit: e905d50832f25d6e1ea1c062c557c2674e1072f0
[ BASH | XML | JSON ]

graphite2

Graphite2 is a rendering engine for graphite fonts.

Package info

Template:
Codename: graphite2
Source file: graphite2-1.3.14.tgz
Source file size: 6630061
Source file MD5-checkum: 1bccb985a7da01092bfb53bb5041e836
Source directory: graphite2-1.3.14
Package URL: https://umvirt.com/linux/downloads/0.2.4/packages/g/graphite2-1.3.14.tgz
Package md5-checksum URL: https://umvirt.com/linux/downloads/0.2.4/packages/g/graphite2-1.3.14.tgz.md5sum
Dependances: cmake.
Dependance of: harfbuzz, !libreoffice7, netsurf, libreoffice.
Patches: *** NO PATCHES FOUND ***
Addons: *** NO ADDONS FOUND ***
Nestings *** NO NESTINGS FOUND ***
Configuration script:
sed -i '/cmptest/d' tests/CMakeLists.txt

sed -i '/cmake_policy(SET CMP0012 NEW)/d' CMakeLists.txt &&
sed -i 's/PythonInterp/Python3/' CMakeLists.txt          &&
find . -name CMakeLists.txt | xargs sed -i 's/VERSION 2.8.0 FATAL_ERROR/VERSION 4.0.0/'

sed -i '/Font.h/i #include <cstdint>' tests/featuremap/featuremaptest.cpp

mkdir build &&
cd    build &&

cmake -DCMAKE_INSTALL_PREFIX=/usr ..

Build script:
cd    build 
make

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

make docs

fi

if [[ "$ULFS_PKG_TEST" == "YES" ]]
then
	    make test
fi

Install script:
cd    build
make install


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

install -v -d -m755 /usr/share/doc/graphite2-1.3.14 &&

cp      -v -f    doc/{GTF,manual}.html \
                    /usr/share/doc/graphite2-1.3.14 &&
cp      -v -f    doc/{GTF,manual}.pdf \
                    /usr/share/doc/graphite2-1.3.14

fi