Adding web-font converting tools ttf2eot & ttf2woff.
This commit is contained in:
parent
666ae4b154
commit
0cdeaf782f
3
app-text/ttf2eot/Manifest
Normal file
3
app-text/ttf2eot/Manifest
Normal 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
|
10
app-text/ttf2eot/files/add_stddef.patch
Normal file
10
app-text/ttf2eot/files/add_stddef.patch
Normal 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;
|
36
app-text/ttf2eot/ttf2eot-0.0.2.2.ebuild
Normal file
36
app-text/ttf2eot/ttf2eot-0.0.2.2.ebuild
Normal 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
|
||||
}
|
2
app-text/ttf2woff/Manifest
Normal file
2
app-text/ttf2woff/Manifest
Normal file
@ -0,0 +1,2 @@
|
||||
DIST ttf2woff-0.12.tar.gz 38427 SHA256 2babb4a51903f1dca1453e9802a91157a4525b285a2bc40ed393adc1efe742b4 SHA512 03364a866141747bab2d411cc3c4c68280e9c8e1596530de69b2710d641d2fbd5f52b7a013bc7d4bb363189685b09e77e5cc7822f28bf72098c6f51a8631c9d2 WHIRLPOOL 523764822f0ab421d0800454f697fd43cbbe514a04bb9ca73fe0d5520bb538269e670cd862ec5ce59e69707e308ce5285d678fa713fc31fb953f42b560e38de4
|
||||
EBUILD ttf2woff-0.12.ebuild 470 SHA256 39891c79905b597f19d271a38c3994165168cb3f49d6c3436197f97fa835a241 SHA512 5ddfe3fd652727a0cef19d1ebc80f28167d85f9201bc8df8005ae616f2fa43f8c423c18a4fa4f7a77255f02c3e0bfe1ecb5aa9881e28cd4dcc39dd15fd5f336d WHIRLPOOL d762a7766fb1abf4bfe531ff57bb413b4715b8b8b5e3a40c75535cdb6497ef33f663ff45fc8b5ff860f60189ed8c3a1f7c8828a606c35360a6f1b9c55f735ce2
|
23
app-text/ttf2woff/ttf2woff-0.12.ebuild
Normal file
23
app-text/ttf2woff/ttf2woff-0.12.ebuild
Normal file
@ -0,0 +1,23 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: $
|
||||
|
||||
EAPI=5
|
||||
|
||||
DESCRIPTION="Command line utility converts TrueType and OpenType fonts to the WOFF format."
|
||||
HOMEPAGE="http://wizard.ae.krakow.pl/~jb/ttf2woff/"
|
||||
SRC_URI="http://wizard.ae.krakow.pl/~jb/$PN/$P.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64"
|
||||
IUSE=""
|
||||
|
||||
DEPEND=""
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
src_install() {
|
||||
exeinto /usr/bin
|
||||
doexe ttf2woff
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user