graphite2: updated cmake syntax
This commit is contained in:
parent
1797a9fbfe
commit
4204522a4a
graphite2
@ -1,5 +1,5 @@
|
||||
untrusted comment: verify with /etc/ports/contrib.pub
|
||||
RWSagIOpLGJF36oPOhS6tiMn+UJHMQpEiGRs0l80LD+44F0t1XzjVxKWlKPo2HRnjFUUJVqvZa+xRowd2BSTLUz4OhIuEZUN7AA=
|
||||
SHA256 (Pkgfile) = 1dab5c81e2122c18d0a8075ab417cb9812105f1521f9db5ccdd0effad63bf3a3
|
||||
RWSagIOpLGJF3x5QRuiEoqm26dOB61Wwra+4Ylxm860Iam9AUMsa9U5eL2a3n+KRZUsIyzVynC/WnrF0KKX1hvnqJFnFFbq/0wM=
|
||||
SHA256 (Pkgfile) = fc408d0d4345388dc2d0eca555d01fecb49add6210ed0d0211f62a6bba710ee2
|
||||
SHA256 (.footprint) = ce75900ef29914480cb47e943218a3ccb7b4675c4e7f8d32120ecbac8e6a499d
|
||||
SHA256 (graphite2-1.3.14.tgz) = f99d1c13aa5fa296898a181dff9b82fb25f6cc0933dbaa7a475d8109bd54209d
|
||||
|
@ -1,7 +1,6 @@
|
||||
# Description: reimplementation of the SIL Graphite text processing engine.
|
||||
# URL: https://github.com/silnrsi/graphite
|
||||
# Maintainer: Tim Biermann, tbier at posteo dot de
|
||||
# Packager: John Vogel, jvogel4 at stny dot rr dot com
|
||||
# Depends on: cmake freetype python3
|
||||
# Optional: asciidoc dblatex doxygen graphviz
|
||||
|
||||
@ -11,18 +10,16 @@ release=1
|
||||
source=(https://github.com/silnrsi/graphite/releases/download/$version/$name-$version.tgz)
|
||||
|
||||
build() {
|
||||
mkdir build
|
||||
cd build
|
||||
|
||||
cmake -G "Unix Makefiles" $SRC/$name-$version \
|
||||
-DCMAKE_C_FLAGS:STRING="$CFLAGS" \
|
||||
-DCMAKE_CXX_FLAGS:STRING="$CXXFLAGS" \
|
||||
[[ -e /usr/bin/ninja ]] && PKGMK_GRAPHITE2_OPTIONS=' -GNinja'
|
||||
cmake -S$name-$version -Bbuild $PKGMK_GRAPHITE2_OPTIONS \
|
||||
-DCMAKE_INSTALL_PREFIX=/usr \
|
||||
-DCMAKE_BUILD_TYPE:STRING=Release \
|
||||
-DCMAKE_C_FLAGS:STRING="$CFLAGS" \
|
||||
-DCMAKE_CXX_FLAGS:STRING="$CXXFLAGS" \
|
||||
-DGRAPHITE2_COMPARE_RENDERER=OFF
|
||||
|
||||
find . -type f ! -name "rules" ! -name "changelog" -exec sed -i -e 's/\-03//g' {} \;
|
||||
|
||||
make
|
||||
make DESTDIR=$PKG install
|
||||
cmake --build build
|
||||
DESTDIR=$PKG cmake --install build
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user