mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-17 19:13:13 -04:00
dev-util/ots: add 8.2.1
Signed-off-by: Alessandro Barbieri <lssndrbarbieri@gmail.com>
This commit is contained in:
44
dev-util/ots/ots-8.2.1.ebuild
Normal file
44
dev-util/ots/ots-8.2.1.ebuild
Normal file
@@ -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
|
||||
}
|
||||
Reference in New Issue
Block a user