woff2: adopted port
This commit is contained in:
parent
fe0d3111e1
commit
005a19547e
@ -1,5 +1,5 @@
|
||||
untrusted comment: verify with /etc/ports/opt.pub
|
||||
RWSE3ohX2g5d/dqIAXwqHEtxG/CjCtXS+f5bCmWJL1JHIF0Opn3ycWrCqMuEWwrnZou/NvkgBr00lSIH9E76uu9+oA2SaLf6Qwk=
|
||||
SHA256 (Pkgfile) = 1737a6d7dddf0e30c46e47dba655d62d93148d7210ba203316d05ac2ae9f9276
|
||||
RWSE3ohX2g5d/fu5t93yiIg+scjl0KwZnBeGmSXAeBwr+Gc470I6gKDMTpa1IrWSMQkZ8EJlIevOlh05+GbRsjjWSVjy96+xwwE=
|
||||
SHA256 (Pkgfile) = a27493bd378526cd11dab709c81d02f01a91497ac5a15e9451f77beaf6fd262a
|
||||
SHA256 (.footprint) = af87367cfacc74e31b0dce9a3806867dbb5ab8a0ef4a5bc9f2855e3972400c4f
|
||||
SHA256 (woff2-v1.0.2.tar.gz) = add272bb09e6384a4833ffca4896350fdb16e0ca22df68c0384773c67a175594
|
||||
|
@ -1,19 +1,23 @@
|
||||
# Description: Web Open Font Format 2 reference implementation
|
||||
# URL: https://github.com/google/woff2
|
||||
# Maintainer: Danny Rawlins, crux at romster dot me
|
||||
# Maintainer: Tim Biermann, tbier at posteo dot de
|
||||
# Depends on: brotli
|
||||
|
||||
name=woff2
|
||||
version=1.0.2
|
||||
release=2
|
||||
release=3
|
||||
source=(https://github.com/google/$name/archive/v$version/$name-v$version.tar.gz)
|
||||
|
||||
build() {
|
||||
sed -i 's/NOT BUILD_SHARED_LIBS/TRUE/' $name-$version/CMakeLists.txt
|
||||
|
||||
cmake -S $name-$version -B build -G Ninja \
|
||||
-DCMAKE_INSTALL_PREFIX="/usr" \
|
||||
-DCMAKE_INSTALL_LIBDIR="/usr/lib"
|
||||
-D CMAKE_INSTALL_PREFIX=/usr \
|
||||
-D CMAKE_INSTALL_LIBDIR=lib \
|
||||
-D CMAKE_BUILD_TYPE=Release \
|
||||
-D CMAKE_CXX_FLAGS_RELEASE="$CXXFLAGS" \
|
||||
-D CMAKE_C_FLAGS_RELEASE="$CFLAGS" \
|
||||
-Wno-dev
|
||||
|
||||
cmake --build build
|
||||
DESTDIR=$PKG cmake --install build
|
||||
|
Loading…
x
Reference in New Issue
Block a user