Adding web-font converting tools ttf2eot & ttf2woff.

This commit is contained in:
Micha Glave
2015-04-15 12:32:51 +02:00
parent 666ae4b154
commit 0cdeaf782f
5 changed files with 74 additions and 0 deletions

View File

@@ -0,0 +1,3 @@
AUX add_stddef.patch 234 SHA256 b4755af14224c92961836314fc9527482313c49d33838064990817e7a3bf502b SHA512 d4d5ebd6e6058cb5d9cce2d02326662a524462e8b71d16dd4e776b5f639d7943816de4c57b775f00bd020ba349f840d9d8efd41f65e82fd37ee7cb3229bbc79b WHIRLPOOL 647bb086a6414f2ec9b22a0b0a047c9633266671cab54a3342f076b68868dd21c6427ae78c8d6a9d6491e3d3cfe607916f12ddb6e9feeaf714b6c3285ee59d4c
DIST ttf2eot-0.0.2-2.tar.gz 4951 SHA256 023cf04d7c717657e92afe566518bf2a696ab22a2a8eba764340000bebff8db8 SHA512 2f835f46fc2948d958a0441317d2537e0a53bbe5f4568fd0d8addb21884d3f0cf23339f863151d2f9d1700ad9ee61a788957d9e262062d1e3d207721344fca18 WHIRLPOOL 56f09e69e46a9960f7fb2e07d2fbd55e34c4cb40f00ee70c411e43983272f58e655dabcd25fd2c06f1de7184a8669fe288ca3ee15b67cfb43353a5ba8b5cc0c6
EBUILD ttf2eot-0.0.2.2.ebuild 648 SHA256 2f1ffd53b088289be6ba1530bd70e1e78b6426087d22ea8aa640ac76b86fbd21 SHA512 d01e485d1a6d4b37eeeea7376f2d1615986aa62c842d519193b870e9fab4f5e369cce8f24b429c1aed5a1e9402e82d78fd02af0d2f323b2da6cd6d089412feec WHIRLPOOL 45a819b19db1a52524dc45e81e0347dcaf7c7296d3c4d5881ed1d69a1470dde60628c51d67916ce4f210ca4d0b2f79de7c0454d96fdf62988173b68ab36ac5af

View File

@@ -0,0 +1,10 @@
--- OpenTypeUtilities.cpp_orig 2009-04-30 12:18:46.000000000 +0300
+++ OpenTypeUtilities.cpp 2014-01-15 15:35:14.628573188 +0200
@@ -35,6 +35,7 @@
#endif
#include "OpenTypeUtilities.h"
+#include <stddef.h>
using std::vector;

View File

@@ -0,0 +1,36 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI=5
inherit eutils
DESCRIPTION="Very small utility to convert TTF files to EOT."
HOMEPAGE="http://code.google.com/p/ttf2eot/"
SRC_URI="http://ttf2eot.googlecode.com/files/ttf2eot-0.0.2-2.tar.gz"
RESTRICT="primaryuri"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64"
IUSE=""
DEPEND=""
RDEPEND="${DEPEND}"
S="${WORKDIR}/${PN}-0.0.2-2"
src_prepare() {
epatch ${FILESDIR}/add_stddef.patch
}
src_compile() {
emake || die "Failed compiling ttf2eot."
}
src_install() {
exeinto /usr/bin
doexe ttf2eot
dodoc ChangeLog README
}