commit:     2d0aca7806791ef51cb86106971b191274f2f661
Author:     Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
AuthorDate: Fri Mar 18 09:14:45 2022 +0000
Commit:     Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
CommitDate: Fri Mar 18 09:14:45 2022 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=2d0aca78

dev-util/ots: add 8.2.1

Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com>

 dev-util/ots/Manifest         |  1 +
 dev-util/ots/ots-8.2.1.ebuild | 44 +++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 45 insertions(+)

diff --git a/dev-util/ots/Manifest b/dev-util/ots/Manifest
index c7acce9cd..fe13e1881 100644
--- a/dev-util/ots/Manifest
+++ b/dev-util/ots/Manifest
@@ -1 +1,2 @@
 DIST ots-8.1.4.tar.gz 28931102 BLAKE2B 
18503baee9d6f63c4a54ef1f9c4dceb7b780f4940ad75028a0908479d9b9f8e947e00990c145d26c8f7db45ca1d5aa43c25f909e5c7e65ee9cc9a72cd224c484
 SHA512 
ef89ed28a3c8d1b25b2fb0d26beca72a017e4b37a5b02314c67dd0d6c35856bc2097bce16217546ec348a240ddc992297bcea92da24dbbc0968401051f3cab4e
+DIST ots-8.2.1.tar.gz 28964437 BLAKE2B 
16dcef5ec73e63ac78f128988ea16391229810cfefe28580e5be477cf743479b77eaea046172a6d3848cf17e6e159c3d7087e8546c0ebb6dc3076ca3cbfdf750
 SHA512 
29776a0bac8d7e5eba241bd57894def1dc7dcee5c3d10f53c1b3f5f61370524c5fdc6aec6ce0d700bbeb964cd03607c289b2bc43e096eca1299f5d1505e5b3e1

diff --git a/dev-util/ots/ots-8.2.1.ebuild b/dev-util/ots/ots-8.2.1.ebuild
new file mode 100644
index 000000000..cb4b2a3c8
--- /dev/null
+++ b/dev-util/ots/ots-8.2.1.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit meson
+
+DESCRIPTION="An util for validating and sanitising OpenType files"
+HOMEPAGE="https://github.com/khaledhosny/ots";
+SRC_URI="https://github.com/khaledhosny/ots/archive/refs/tags/v${PV}.tar.gz -> 
${P}.tar.gz"
+
+KEYWORDS="~amd64 ~x86"
+LICENSE="BSD"
+SLOT="0"
+IUSE="debug sanitize test"
+
+RDEPEND="
+       media-libs/freetype
+       media-libs/woff2
+       sys-libs/zlib
+
+       sanitize? ( app-arch/lz4 )
+"
+DEPEND="
+       ${RDEPEND}
+       test? ( dev-cpp/gtest )
+"
+
+RESTRICT="!test? ( test )"
+DOCS=(
+       README.md
+       docs/{DesignDoc,HowToFix,HowToTest}.md
+)
+
+PATCHES=( "${FILESDIR}/meson-gtest.diff" )
+
+src_configure() {
+       local emesonargs=(
+               $(meson_use debug)
+               $(meson_use sanitize graphite)
+               $(meson_use test tests)
+       )
+       meson_src_configure
+}

Reply via email to