mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-04 22:18:55 +02:00
Added android roboto fonts, recipe from 2013 GCI student Alvin
This commit is contained in:
50
media-fonts/roboto/roboto-1.2.recipe
Normal file
50
media-fonts/roboto/roboto-1.2.recipe
Normal file
@@ -0,0 +1,50 @@
|
|||||||
|
SUMMARY="The Android Roboto font."
|
||||||
|
DESCRIPTION="
|
||||||
|
The Android design language relies on traditional typographic tools such as
|
||||||
|
scale, space, rhythm, and alignment with an underlying grid. Successful
|
||||||
|
deployment of these tools is essential to help users quickly understand a
|
||||||
|
screen of information. To support such use of typography, Ice Cream Sandwich
|
||||||
|
introduced a new type family named Roboto, created specifically for the
|
||||||
|
requirements of UI and high-resolution screens.
|
||||||
|
The current TextView framework offers Roboto in thin, light, regular and
|
||||||
|
bold weights, along with an italic style for each weight. The framework also
|
||||||
|
offers the Roboto Condensed variant in regular and bold weights, along with
|
||||||
|
an italic style for each weight.
|
||||||
|
"
|
||||||
|
HOMEPAGE="http://www.google.com/fonts/specimen/Roboto"
|
||||||
|
SRC_URI="http://developer.android.com/downloads/design/roboto-1.2.zip"
|
||||||
|
CHECKSUM_MD5="45bfbcd71a74d73c6d2c97994abb7e00"
|
||||||
|
LICENSE="Apache v2"
|
||||||
|
COPYRIGHT="2013 Christian Robertson"
|
||||||
|
REVISION="1"
|
||||||
|
ARCHITECTURES="any"
|
||||||
|
DISABLE_SOURCE_PACKAGE=yes
|
||||||
|
PROVIDES="
|
||||||
|
Roboto=$portVersion
|
||||||
|
"
|
||||||
|
REQUIRES=" "
|
||||||
|
BUILD_REQUIRES=" "
|
||||||
|
BUILD_PREREQUIRES="
|
||||||
|
coreutils
|
||||||
|
"
|
||||||
|
SOURCE_DIR=""
|
||||||
|
|
||||||
|
BUILD()
|
||||||
|
{
|
||||||
|
true
|
||||||
|
}
|
||||||
|
|
||||||
|
INSTALL()
|
||||||
|
{
|
||||||
|
FONTDIR=$fontsDir/roboto
|
||||||
|
mkdir -p ${FONTDIR}
|
||||||
|
|
||||||
|
cd Roboto_v$portVersion
|
||||||
|
|
||||||
|
cd Roboto
|
||||||
|
cp *.ttf ${FONTDIR}
|
||||||
|
|
||||||
|
cd ..
|
||||||
|
cd RobotoCondensed
|
||||||
|
cp *.ttf ${FONTDIR}
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user