Install this version:
emerge -a =media-gfx/otfcc-0.10.4
If this version is masked, you can unmask it using the autounmask tool or standard emerge options:
autounmask =media-gfx/otfcc-0.10.4
Or alternatively:
emerge --autounmask-write -a =media-gfx/otfcc-0.10.4
# Copyright 2026 mva
# Distributed under the terms of the Public Domain or CC0 License
EAPI=8
inherit toolchain-funcs
DESCRIPTION="Parses & writes SFNT structures"
HOMEPAGE="https://github.com/caryll/otfcc"
if [[ "${PV}" =~ "9999" ]]; then
inherit git-r3
EGIT_REPO_URI="https://github.com/caryll/otfcc"
else
SRC_URI="https://github.com/caryll/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
KEYWORDS="~amd64 ~mips ~x86"
# ~arm
# ^ premake:5
fi
LICENSE="Apache-2.0"
SLOT="0"
IUSE="debug"
BDEPEND="dev-util/premake:5"
src_prepare() {
local a="x32" c="release";
use debug && c="debug"
(use amd64 || use arm64) && a="x64"
sed -r -i \
-e 's| make | $(MAKE) |' \
-e "1iall: linux-${c}-${a}" \
-e "s@(--cc=)[^ ]*@\1$(tc-get-compiler-type)@g" \
"${S}/quick.make"
# QA: We'll strip ourselves, do not strip for us!
sed -r -i \
-e '/filter "configurations:Release"/aflags { symbols "On" }\r' \
"${S}"/premake5.lua
# ^ QA
ln -s quick.make Makefile
default
}
src_install() {
local a="x32" c="release";
use debug && c="debug"
(use amd64 || use arm64) && a="x64"
dobin bin/"${c}-${a}"/*
}
Manage flags for this package:
euse -i <flag> -p media-gfx/otfcc |
euse -E <flag> -p media-gfx/otfcc |
euse -D <flag> -p media-gfx/otfcc
| Type | File | Size | Source URLs |
|---|---|---|---|
| DIST | otfcc-0.10.4.tar.gz | 4279315 bytes | https://github.com/caryll/otfcc/archive/v0.10.4.tar.gz |