media-gfx/sfnt2woff - 1.0 (mva)

Search

Install

Install this version:

emerge -a =media-gfx/sfnt2woff-1.0

If this version is masked, you can unmask it using the autounmask tool or standard emerge options:

autounmask =media-gfx/sfnt2woff-1.0

Or alternatively:

emerge --autounmask-write -a =media-gfx/sfnt2woff-1.0

Package Information

Description:
Very small utility to convert font files to WOFF
Homepage:
https://github.com/ppicazo/sfnt2woff
License:
( GPL-2 BSD LGPL-2.1 )

Ebuild Details

Version EAPI Keywords Slot
1.0 8 ~amd64 ~arm ~arm64 ~x86 0
View Raw Ebuild
# Copyright 2026 mva
# Distributed under the terms of the Public Domain or CC0 License

EAPI=8

inherit cmake

DESCRIPTION="Very small utility to convert font files to WOFF"
HOMEPAGE="https://github.com/ppicazo/sfnt2woff"
SRC_URI="https://github.com/ppicazo/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"

LICENSE="( GPL-2 BSD LGPL-2.1 )"
SLOT="0"
KEYWORDS="~amd64 ~arm ~arm64 ~x86"

src_prepare() {
	mv "CmakeLists.txt" "CMakeLists.txt"
	sed -r \
		-e '/set\(CMAKE_EXE_LINKER_FLAGS/d' \
		-e '/install/iTARGET_LINK_LIBRARIES(sfnt2woff z)\nTARGET_LINK_LIBRARIES(woff2sfnt z)\n' \
		-i CMakeLists.txt
	cmake_src_prepare
}

Inherited Eclasses

Manifest for 1.0

Type File Size Source URLs
DIST sfnt2woff-1.0.tar.gz 23853 bytes https://github.com/ppicazo/sfnt2woff/archive/1.0.tar.gz