mirror of
https://github.com/openbsd/ports.git
synced 2026-06-17 23:13:55 +02:00
Import print/opentype-sanitizer.
The OpenType Sanitizer (OTS) parses and serializes OpenType files (OTF, TTF) and WOFF and WOFF2 font files, validating them and sanitizing them as it goes. OK sthen@, rsadowski@
This commit is contained in:
@@ -0,0 +1,35 @@
|
||||
COMMENT = sanitizer for OpenType fonts
|
||||
|
||||
V = 9.2.0
|
||||
DISTNAME = ots-$V
|
||||
PKGNAME = opentype-sanitizer-$V
|
||||
|
||||
CATEGORIES = print
|
||||
|
||||
HOMEPAGE = https://github.com/khaledhosny/ots
|
||||
|
||||
MAINTAINER = Frederic Cambus <fcambus@openbsd.org>
|
||||
|
||||
# BSD
|
||||
PERMIT_PACKAGE = Yes
|
||||
|
||||
WANTLIB += ${COMPILER_LIBCXX} c freetype lz4 m woff2dec z
|
||||
|
||||
SITES = https://github.com/khaledhosny/ots/releases/download/v$V/
|
||||
|
||||
EXTRACT_SUFX = .tar.xz
|
||||
|
||||
COMPILER = base-clang ports-gcc
|
||||
COMPILER_LANGS = c++
|
||||
|
||||
MODULES = devel/meson
|
||||
|
||||
BUILD_DEPENDS = devel/gtest
|
||||
|
||||
LIB_DEPENDS = archivers/lz4 \
|
||||
archivers/woff2
|
||||
|
||||
# gtest requires C++14
|
||||
CONFIGURE_ARGS = -Dcpp_std=c++14
|
||||
|
||||
.include <bsd.port.mk>
|
||||
@@ -0,0 +1,2 @@
|
||||
SHA256 (ots-9.2.0.tar.xz) = Gh5QzX7OonxO8ExbFJHCHnVVXzW/keJxA+3gTd0R4FM=
|
||||
SIZE (ots-9.2.0.tar.xz) = 30675164
|
||||
@@ -0,0 +1,2 @@
|
||||
The OpenType Sanitizer (OTS) parses and serializes OpenType files (OTF, TTF)
|
||||
and WOFF and WOFF2 font files, validating them and sanitizing them as it goes.
|
||||
@@ -0,0 +1,10 @@
|
||||
@bin bin/ots-idempotent
|
||||
@bin bin/ots-perf
|
||||
@bin bin/ots-sanitize
|
||||
@bin bin/ots-side-by-side
|
||||
@bin bin/ots-validator-checker
|
||||
@man man/man1/ots-idempotent.1
|
||||
@man man/man1/ots-perf.1
|
||||
@man man/man1/ots-sanitize.1
|
||||
@man man/man1/ots-side-by-side.1
|
||||
@man man/man1/ots-validator-checker.1
|
||||
Reference in New Issue
Block a user