diff --git a/converters/fribidi/Makefile b/converters/fribidi/Makefile --- a/converters/fribidi/Makefile +++ b/converters/fribidi/Makefile @@ -1,9 +1,9 @@ # Created by: ijliao PORTNAME= fribidi -PORTVERSION= 1.0.10 +DISTVERSION= 1.0.11 CATEGORIES= converters -MASTER_SITES= https://github.com/fribidi/fribidi/releases/download/v${PORTVERSION}/ +MASTER_SITES= https://github.com/fribidi/fribidi/releases/download/v${DISTVERSION}/ MAINTAINER= desktop@FreeBSD.org COMMENT= Free Implementation of the Unicode Bidirectional Algorithm @@ -11,11 +11,19 @@ LICENSE= LGPL21 LICENSE_FILE= ${WRKSRC}/COPYING -USES= cpe meson tar:xz +USES= cpe meson python:3.6+,test shebangfix tar:xz +CPE_VENDOR= gnu +SHEBANG_FILES= test/test-runner.py USE_LDCONFIG= yes -MESON_ARGS= -Dtests=false -CPE_VENDOR= gnu +TEST_TARGET= test + +OPTIONS_DEFINE= OPTIMIZED_CFLAGS TEST +OPTIONS_DEFAULT=OPTIMIZED_CFLAGS + +OPTIMIZED_CFLAGS_CFLAGS= -O3 + +TEST_MESON_TRUE=tests post-patch: @${SED} -e 's|%%LOCALBASE%%|${LOCALBASE}|g' < \ diff --git a/converters/fribidi/distinfo b/converters/fribidi/distinfo --- a/converters/fribidi/distinfo +++ b/converters/fribidi/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1600950598 -SHA256 (fribidi-1.0.10.tar.xz) = 7f1c687c7831499bcacae5e8675945a39bacbad16ecaa945e9454a32df653c01 -SIZE (fribidi-1.0.10.tar.xz) = 1147588 +TIMESTAMP = 1634154952 +SHA256 (fribidi-1.0.11.tar.xz) = 30f93e9c63ee627d1a2cedcf59ac34d45bf30240982f99e44c6e015466b4e73d +SIZE (fribidi-1.0.11.tar.xz) = 1077004 diff --git a/converters/fribidi/files/patch-test_meson.build b/converters/fribidi/files/patch-test_meson.build new file mode 100644 --- /dev/null +++ b/converters/fribidi/files/patch-test_meson.build @@ -0,0 +1,11 @@ +--- test/meson.build.orig 2021-10-13 20:07:06 UTC ++++ test/meson.build +@@ -19,7 +19,7 @@ foreach t : tests + endforeach + + if get_option('fuzzer_ldflags') != '' +- cases = run_command(import('python3').find_python(), '-c', ++ cases = run_command(import('python').find_installation(), '-c', + '''import os; print('\n'.join(os.listdir('@0@')))'''.format(join_paths(meson.current_source_dir(), 'fuzzing')) + ).stdout().strip().split('\n') + foreach case : cases