git: 1ccd5e2cab45 - main - x11-fonts/ots: Install cff_charstring
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 22 Sep 2023 03:23:40 UTC
The branch main has been updated by sunpoet:
URL: https://cgit.FreeBSD.org/ports/commit/?id=1ccd5e2cab4524905301b45609b217ea103b48bf
commit 1ccd5e2cab4524905301b45609b217ea103b48bf
Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2023-09-22 03:17:35 +0000
Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2023-09-22 03:17:35 +0000
x11-fonts/ots: Install cff_charstring
- Bump PORTREVISION for package change
---
x11-fonts/ots/Makefile | 2 +-
x11-fonts/ots/files/patch-meson.build | 14 +++++++++++---
x11-fonts/ots/pkg-plist | 1 +
3 files changed, 13 insertions(+), 4 deletions(-)
diff --git a/x11-fonts/ots/Makefile b/x11-fonts/ots/Makefile
index c983895f0dbf..cbc69992260a 100644
--- a/x11-fonts/ots/Makefile
+++ b/x11-fonts/ots/Makefile
@@ -1,6 +1,6 @@
PORTNAME= ots
PORTVERSION= 9.1.0
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= x11-fonts
MASTER_SITES= https://github.com/khaledhosny/ots/releases/download/v${PORTVERSION}/
diff --git a/x11-fonts/ots/files/patch-meson.build b/x11-fonts/ots/files/patch-meson.build
index a546c2b29cc3..714c7acc03fd 100644
--- a/x11-fonts/ots/files/patch-meson.build
+++ b/x11-fonts/ots/files/patch-meson.build
@@ -1,6 +1,6 @@
---- meson.build.orig 2021-03-07 06:36:19 UTC
+--- meson.build.orig 2023-05-29 21:44:20 UTC
+++ meson.build
-@@ -150,6 +150,8 @@ libots = library('ots',
+@@ -160,6 +160,8 @@ libots = library('ots',
include_directories: include_directories('include'),
cpp_args : '-DHAVE_CONFIG_H',
dependencies: ots_deps,
@@ -9,7 +9,7 @@
)
-@@ -175,6 +177,7 @@ executable('ots-fuzzer',
+@@ -186,6 +188,7 @@ ots_fuzzer = executable('ots-fuzzer',
cpp_args: fuzzer_defines,
link_with: libots,
link_args: fuzzer_ldflags,
@@ -17,3 +17,11 @@
)
+@@ -259,6 +262,7 @@ cff_charstring = executable('cff_charstring',
+ include_directories: include_directories(['include', 'src']),
+ link_with: libots,
+ dependencies: gtest,
++ install: true,
+ )
+
+ test('cff_charstring', cff_charstring)
diff --git a/x11-fonts/ots/pkg-plist b/x11-fonts/ots/pkg-plist
index 4895be051fe9..98f8681900b4 100644
--- a/x11-fonts/ots/pkg-plist
+++ b/x11-fonts/ots/pkg-plist
@@ -1,3 +1,4 @@
+bin/cff_charstring
bin/ots-fuzzer
bin/ots-idempotent
bin/ots-perf