blob: c35046cf01f17ef4ad1daf940c58fbcc127be2db (
plain)
1 # Description: reimplementation of the SIL Graphite text processing engine.
2 # URL: https://github.com/silnrsi/graphite
3 # Maintainer: Tim Biermann, tbier at posteo dot de
4 # Packager: John Vogel, jvogel4 at stny dot rr dot com
5 # Depends on: cmake freetype python3
6 # Optional: asciidoc dblatex doxygen graphviz
7
8 name=graphite2
9 version=1.3.14
10 release=1
11 source=(https://github.com/silnrsi/graphite/releases/download/$version/$name-$version.tgz)
12
13 build() {
14 mkdir build
15 cd build
16
17 cmake -G "Unix Makefiles" $SRC/$name-$version \
18 -DCMAKE_C_FLAGS:STRING="$CFLAGS" \
19 -DCMAKE_CXX_FLAGS:STRING="$CXXFLAGS" \
20 -DCMAKE_INSTALL_PREFIX=/usr \
21 -DCMAKE_BUILD_TYPE:STRING=Release \
22 -DGRAPHITE2_COMPARE_RENDERER=OFF
23
24 find . -type f ! -name "rules" ! -name "changelog" -exec sed -i -e 's/\-03//g' {} \;
25
26 make
27 make DESTDIR=$PKG install
28 }
|