Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 227249 Details for
Bug 314503
media-fonts/pt-sans (new package)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
pt-sans-2.003.ebuild
pt-sans-2.003.ebuild (text/plain), 1.79 KB, created by
Alexandre Rostovtsev (RETIRED)
on 2010-04-10 11:51:49 UTC
(
hide
)
Description:
pt-sans-2.003.ebuild
Filename:
MIME Type:
Creator:
Alexandre Rostovtsev (RETIRED)
Created:
2010-04-10 11:51:49 UTC
Size:
1.79 KB
patch
obsolete
># Copyright 1999-2010 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 ># $Header: $ > >EAPI=3 > >inherit font > >DESCRIPTION="Font family for Latin and Cyrillic alphabets supporting minority languages of Russia" >HOMEPAGE="http://www.paratype.com/public/ http://www.paratype.ru/public/" > ># ParaType only provides the latest version of the font for download at ># http://www.fontstock.com/public/PTSans_OFL.zip and ># http://www.fontstock.com/public/PTSansWeb.zip ># ># The version number of the font package is the greatest version string in ttf ># files (different ttf files may have different versions); it can be extracted ># using fontforge or grep --binary-files=text 'Version ' *.ttf >SRC_URI="mirrors://PTSans_OFL-${PV}.zip > web? ( mirrors://PTSansWeb-${PV}.zip )" > >LICENSE="|| ( OFL-1.1 pt-sans )" >SLOT="0" >KEYWORDS="~amd64 ~x86" >IUSE="web" > >DEPEND="app-arch/unzip" > >FONT_CONF=( "${FILESDIR}/90-pt-sans-no-bitmaps.conf" ) >FONT_SUFFIX="ttf" >use web && FONT_SUFFIX="${FONT_SUFFIX} eot woff" > >src_unpack() { > mkdir $P && cd $P && unzip -q "${DISTDIR}/PTSans_OFL-${PV}.zip" || \ > die "Failed to unpack PTSans_OFL-${PV}.zip" > if use web ; then > mkdir PTSansWeb && cd PTSansWeb && \ > unzip -q "${DISTDIR}/PTSansWeb-${PV}.zip" || \ > die "Failed to unpack PTSansWeb-${PV}.zip" > mv *.eot *.woff .. > fi >} > >src_prepare() { > use web && \ > sed -e "s:url('pts:url('${EROOT}${FONTDIR}/pts:g" -i PTSansWeb/demo.htm >} > >src_install() { > font_src_install > use web && dohtml PTSansWeb/demo.htm >} > >pkg_postinst() { > font_pkg_postinst > elog > elog "PT Sans by default uses embedded bitmaps at small font sizes." > elog "To disable embedded bitmaps, use the following command:" > elog " eselect fontconfig enable 90-pt-sans-no-bitmaps.conf" > elog "(You will need to have app-admin/eselect-fontconfig installed.)" >}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 314503
: 227249 |
227251
|
227255